On Tue, Aug 27, 2024 at 07:47:18PM +0800, LinuxMail.cc via Postfix-users wrote:
> Do you mean that, I should put that option in master.cf and the config > should be like: > > smtps inet n - y - - smtpd > -o syslog_name=postfix/smtps > -o smtpd_sender_login_maps = hash:/etc/postfix/controlled_envelope_senders > ... The problem IS NOT with defining the "login_maps" table, rather it is with attempting to use the associated restriction! reject_sender_login_mismatch and related restrictions. This restriction should only be used on the submission ports, while on port 25, where SASL should be disabled, there is never a SASL username, so a "match" is never possible. If you want to disallow some sender addresses, use "check_sender_access". -- VIktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org