Jon Smart via Postfix-users skrev den 2023-08-16 04:01:

How can I disable auth on port 25? I really don't want users to use port
25 for auth sender. i am using postfix version 3.6.4 on ubuntu 22.04.

its default disabled, no ?

unsure give us "postconf -n | grep auth"

my own is

mx ~ # postconf -nf | grep auth
smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks,
    reject_unauth_destination, reject_unknown_recipient_domain,
smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks,
    reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sasl_authenticated_header = no
smtpd_sasl_path = private/dovecot-auth
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks,

above is in main.cf, in master.cf i have -o smtpd_sasl_auth_enable=yes, not default no

more questions, show your postconf -n, with you should have done before asking any questions, if you are unsure try comment lines in main.cf so it will be default compiled in in postfix, this is maybe bad advice to somebody, but imho not

note no space around =

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to