On Fri, Jan 20, 2012 at 02:23:00PM +0100, Benny Pedersen wrote:
> On Fri, 20 Jan 2012 11:28:08 +0400, Anton Raytsin wrote:
> >How to fix it?
> 
> > smtpd_sender_restrictions=
> > reject_authenticated_sender_login_mismatch,
> > permit_sasl_authenticated,.....
> 
> swap reject_authenticated_sender_login_mismatch and
> permit_sasl_authenticated

Benny, the only thing that does is to ensure that the sender login 
mismatch check is never done, because all authenticated senders are
permitted, regardless of what the smtpd_sender_login_maps might 
contain.

The likely best answer for the OP is to review
http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps and 
ensure that the maps are correct.

Another comment I can recall from the OP is that he seems to expect 
this to apply to addresses in the From: headers. Not so, this only
affects the envelope sender address.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to