OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Allow only authenticated sender

From: priscilla (priscillabheltry.co.in)
Date: Fri Jul 03 2009 - 03:26:07 CDT


Yes I want only authenticated sender to send mails.

Regards
Priscilla

Sahil Tandon wrote:
On Fri, 03 Jul 2009, priscilla wrote:

  
We want to allow only authenticated sender to send mails.
    

The incomplete set of configuration variables you list below are unrelated to
this goal.  If you want to do something other than simply "allow
authenticated sender to send mails", then please clarify.

  
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>
    

No, read DEBUG_README (a document to which you were referred upon joining
this mailing list) and provide at least the output of 'postconf -n' when
soliciting help.

  
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.
    

Cut-and-paste instead of introducing typos by manually transcribing excerpts
from your maillog.  Nonetheless, the rejection text is quite clear; also see:
http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch