Thank you for your reply.
The reason I want to move it to filter_begin is that some MTAs don't handle tempfail at RCPT TO stage correctly. They bounce the message instead of requeue. A few people on the list had shared their experience and I have run into the same situation as well.
Xiaoyan
At 04:28 PM 2/2/2004 -0800, you wrote:
You probably want to put the code in filter_recipient rather than filter_begin. I believe the SMTP conversation goes
HELO ...
RCPT TO: ... (response - 2xx [OK] or 4xx [tempfail] or 5xx [permfail])
RCPT CC: ... (response - 2xx [OK] or 4xx [tempfail] or 5xx [permfail])
RCPT TO: ... (response - 2xx [OK] or 4xx [tempfail] or 5xx [permfail])
You probably need to tempfail each recipient at the time of the RCPT command, rather than gathering all the recipients as you do below. In other words, SMTP does not allow a
RCPT TO: [EMAIL PROTECTED] RCPT CC: [EMAIL PROTECTED] RCPT TO: [EMAIL PROTECTED] 2xx [EMAIL PROTECTED] OK 4xx [EMAIL PROTECTED] tempfailed anti-spam try again 5xx [EMAIL PROTECTED] no such user
_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

