On 2024-06-18 15:51, Gilgongo wrote:
On Tue, 18 Jun 2024 at 08:31, Jeff Peng via Postfix-users <
postfix-users@postfix.org> wrote:

Hello,

I have this section in master.cf:

smtps     inet  n       -       y       -       -       smtpd
   -o syslog_name=postfix/smtps
   -o smtpd_tls_wrappermode=yes
   -o smtpd_sasl_auth_enable=yes
   -o

smtpd_sender_restrictions=permit_sasl_authenticated,reject_sender_login_mismatch,reject
   -o smtpd_relay_restrictions=permit_sasl_authenticated,reject


I think all you need is:

-o smtpd_sender_restrictions=reject_sender_login_mismatch


I did have tried this line (with just one value reject_sender_login_mismatch). But then I even can't send mail from the valid user (the user who login into RC).

so how?

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

Reply via email to