Hello,

I'd like to change somehow the config to let authenticated users only
use my OpenSMPTD as a relay. Authentication should be based on the
machine's local user and password table (/etc/passwd).

I tried "listen on ... auth ..." but it complained about the lack of
TLS/smtps.

That is because you can't use authentication without encryption. Best you start looking into Let’s Encrypt. Though you could start with a self-signed certificate. Like it is shown in man smtpd.conf


accept from any for ! domain 486.hu relay via
tls+auth://[email protected] auth <cred>

accept from local for any relay via \
        tls+auth://[email protected] auth <cred>


That should stop the visitors for now.

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to