On Sat, Nov 13, 2010 at 10:20:02PM +0800, Mingliang Zu wrote:
> > Another thing the OP has missed is what Noel has demonstrated 
> > above, that the default smtpd_delay_reject means 
> > smtpd_sender_restrictions won't be evaluated until the RCPT TO: 
> > command.
> 
> Bingo! I added smtpd_delay_reject=no to force the error reporting 
> right after MAIL FROM command, which solved my puzzle:
snip
> 501 5.5.2 <abc>: Sender address rejected: need fully-qualified address
> 
> Thanks a lot,

You're welcome, but again be warned that the default setting of 
smtpd_delay_reject was done for good reasons. You're not going to 
gain much (if anything) from this change, and you will lose some 
potentially important logging. Please review:
    http://www.postfix.org/postconf.5.html#smtpd_delay_reject
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to