[Mimedefang] action_tempfail and delete_recipient question

Xiaoyan Ma xma at haas.berkeley.edu
Tue Feb 3 21:51:16 EST 2004


Mathew:
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: a at example.com
>RCPT CC: b at example.com
>RCPT TO: c at example.com
>2xx a at example.com OK
>4xx b at example.com tempfailed anti-spam try again
>5xx c at example.com no such user



More information about the MIMEDefang mailing list