Warning in the logs of Postfix: "restriction NNN ignored: no SASL support". But it does have SASL support
2
votes
1
answer
1822
views
I have postfix + dovecot + pgsql. All has been working. Recently I've changed something in the config to combat spam. Now I see this in the logs:
localhost postfix/smtpd: warning: restriction `reject_authenticated_sender_login_mismatch' ignored: no SASL support
localhost postfix/smtpd: warning: restriction `reject_unauthenticated_sender_login_mismatch' ignored: no SASL support
localhost postfix/smtpd: warning: restriction `reject_authenticated_sender_login_mismatch' ignored: no SASL support
localhost postfix/smtpd: warning: restriction `reject_unauthenticated_sender_login_mismatch' ignored: no SASL support
But!
$ postconf -a
cyrus
dovecot
And
$ ldd /usr/sbin/postfix | grep sasl
libsasl2.so.3 => /usr/lib/libsasl2.so.3 (0x00007f9508e75000)
If I remember correctly, I installed postfix via "pacman".
Why the warning and how to fix it?
upd1:
sudo postconf | grep -i smtpd_sasl
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_service = smtp
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
upd2:
in
master.cf
I've found this:
smtp inet n - n - - smtpd
-o smtpd_sasl_auth_enable=no
Can this be the reason?
upd3:
also:
submission inet n - y - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=private/auth
-o smtpd_sasl_security_options=noanonymous
-o milter_macro_daemon_name=ORIGINATING
-o smtpd_sasl_local_domain=$myhostname
-o smtpd_client_restrictions=permit_sasl_authenticated, reject
-o smtpd_recipient_restrictions=permit_sasl_authenticated, reject
Asked by nylypej
(239 rep)
Dec 26, 2018, 07:43 PM
Last activity: May 15, 2023, 07:13 PM
Last activity: May 15, 2023, 07:13 PM