On Wed, Aug 28, 2024 at 01:04:54PM +0800, LinuxMail.cc via Postfix-users wrote:
> Today I found a strange event. when I used these options (defaut) for smtps, > reject_sender_login_mismatch won't work. > > smtps inet n - y - - smtpd > -o syslog_name=postfix/smtps > -o smtpd_tls_wrappermode=yes > -o smtpd_sasl_auth_enable=yes > -o smtpd_reject_unlisted_recipient=no > -o smtpd_client_restrictions=$mua_client_restrictions > -o smtpd_helo_restrictions=$mua_helo_restrictions > -o smtpd_sender_restrictions=$mua_sender_restrictions > -o smtpd_recipient_restrictions= > -o smtpd_relay_restrictions=permit_sasl_authenticated,reject > -o milter_macro_daemon_name=ORIGINATING > > But, if I was using these options below, reject_sender_login_mismatch did > work. > > smtps inet n - y - - smtpd > -o syslog_name=postfix/smtps > -o smtpd_tls_wrappermode=yes > -o smtpd_sasl_auth_enable=yes > -o smtpd_relay_restrictions=permit_sasl_authenticated,reject > -o smtpd_sasl_type=dovecot > -o smtpd_sasl_path=private/auth > > > The main.cf was unchanged when updating master.cf. This conveys no information. Instead, please follow the advice in: https://www.postfix.org/DEBUG_README.html#mail and post verbatim (preserving whitespace and line breaks) output of: - postconf -nf - postconf -Mf as well as any relevant logs, when applicable. Note that for "$mua_..._restrictions" to be effective you need correspondig *definitions* of these in main.cf. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org