Bill Landry wrote, at 01/07/2009 01:11 PM: > However, RFCs 2821 & 5321 seem to state that rejection after "MAIL TO" > is valid and should be properly handled by the sending server. So my > question is why does Postfix waits until after the "RCPT TO" phase > before rejecting the sender address?
That's merely a side effect of the default setting "smtpd_delay_reject = yes". Postfix can be configured to reject at any appropriate point, if desired. The default is sane, though, because it allows access to the recipient address when troubleshooting logs. > Are there issue that can arise if > the receiving server rejects the message immediately after "MAIL TO" > rather then after "RCPT TO" is received? s/MAIL TO/MAIL FROM/ Earlier rejections would prevent recipient addresses and possibly other useful information from being logged. You might get a slight performance boost, though.