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" is @mydomain.com can deliver mail to local users without authenticate. What should I do to force authentication to ALL [email protected]? smtpd_sasl_authenticated_header = yes broken_sasl_auth_client = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destinationhttp://www.postfix.org/postconf.5.html#smtpd_sender_login_maps http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch
