On Tue, Aug 27, 2024 at 07:05:32PM +0800, hello--- via Postfix-users wrote:
> Hello community,
> 
> My postfix has got this log:
> 
> Aug 27 16:49:04 linuxmail postfix/smtpd[34640]: warning: restriction
> `reject_authenticated_sender_login_mismatch' ignored: no SASL support
> Aug 27 16:49:04 linuxmail postfix/smtpd[34640]: warning: restriction
> `reject_unauthenticated_sender_login_mismatch' ignored: no SASL support

    
https://github.com/vdukhovni/postfix/blob/d63b019a7de1fffb303e6c10d9eff5d2559bcfef/postfix/src/smtpd/smtpd_check.c#L4597-L4604

This happens either because Postfix compiled with no SASL support, or
because SASL was not enabled via "smtpd_sasl_enable = yes".  That
said, on port 25 you DON'T want to enable SASL, it is for submission,
not inbound mail.  Therefore, the real problem may be that you're using
these restrictions on port 25.  Don't do that.

> And I have this option in main.cf,
> 
> smtpd_sender_login_maps = hash:/etc/postfix/controlled_envelope_senders
> 
> I am not sure the warning logs above are important or not?

The SASL-related restrictions should only be used on the submission
ports 465 and 587.

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

Reply via email to