Le 03/06/2024 à 14:55, Jeff P via Postfix-users a écrit :
Hello
I have closed sasl auth on port 25.
but users still can use port 587 for login with plain text.
how can I force users to use submission via start-tls only?
I know I can open port 465 for ssl connection. but for history reason
the port 587 must be open.
Thanks.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Just use the relevant options in your master.cf for submission port. I use
submission inet n - n - - smtpd
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o smtpd_sasl_authenticated_header=yes
-o smtpd_tls_protocols=TLSv1.2,TLSv1.3
Important parts are tls_security_level, sasl_auth_enable and
client_restriction which reject non authenticated email
(you may have different setting for chroot and tls_protocols)
--
Erwan David
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]