Tested and working perfect with these 3 lines:
smtpd_sender_login_maps = mysql:/etc/postfix/smtpd_sender_login_maps.cf
smtpd_sender_restrictions = reject_sender_login_mismatch
smtpd_reject_unlisted_sender = yes
/etc/postfix/smtpd_sender_login_maps.cf:
query = SELECT username FROM mailbox WHERE us
Thanks! Now it's clearer. I'll test that + smtpd_reject_unlisted_sender. I'll
post my results.
mouss wrote:
indio a écrit :
Hi all!
With the config lines below, all clients from inside my network MUST
authenticate to deliver a message. But all connections from the Internet
where "mail from
indio a écrit :
> Hi all!
> With the config lines below, all clients from inside my network MUST
> authenticate to deliver a message. But all connections from the Internet
> where "mail from" is @mydomain.com can deliver mail to local users
> without authenticate. What should I do to force auth
Hi all!
With the config lines below, all clients from inside my network MUST authenticate
to deliver a message. But all connections from the Internet where "mail from"
is @mydomain.com can deliver mail to local users without authenticate. What should I do
to force authentication to ALL