Hello.

I am testing a postfix configuration with telnet and mailx.

Current test is : "Postfix on hosts without a real Internet hostname"

If I send a mail locally between linux user with a bad password, postfix logs show that the authentication failed but the mail is delivered.

Until I add :
Code:
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
to master.cf :
Code:
smtp      inet  n       -       n       -       -       smtpd 
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
Here part of my main.cf
Code:
smtpd_helo_required = yes
#
smtpd_sasl_auth_enable = yes
#
smtpd_sasl_security_options = noanonymous
#
smtpd_sasl_local_domain =
#
smtp_sasl_auth_enable = no
#
broken_sasl_auth_clients = yes
#
smtpd_recipient_restrictions = permit_sasl_authenticated,
   permit_mynetworks,
   reject_unknown_recipient_domain,
   reject_unauth_destination
#
smtp_sender_dependent_authentication = yes
changing
Code:
smtp_sasl_auth_enable = no
to
Code:
smtp_sasl_auth_enable = yes
make no difference.

Any help is welcome.