priscilla | 3 Jul 08:21
Picon

Allow only authenticated sender

Dear All,
We have installed postfix with openldap and cyrus sasl.
We want to allow only authenticated sender to send mails.
We have configured the following in postfix's main.cf to implement the same.

smtpd_sender_login_maps=<ldap>
smtpd_reject_unlisted_sender=yes
smtpd_sender_restrictions=reject_sender_login_mismatch  
check_sender_access <ldap>

But we get the following error message

The mail server responded 5.7.1  <recipient address>  sender address 
rejected now owned by user <sender> . Please check the message 
recipients and try again.

Regards
Priscilla


Gmane