[Top] [All Lists]

RE: Abort data transfer?

2009-10-21 14:27:19

-----Original Message-----
From: owner-ietf-smtp(_at_)mail(_dot_)imc(_dot_)org [mailto:owner-ietf-
smtp(_at_)mail(_dot_)imc(_dot_)org] On Behalf Of David MacQuigg
Sent: Wednesday, October 21, 2009 10:52 AM
To: IETF SMTP list
Subject: Re: Abort data transfer?

My guess is that well-established programs already know how to deal
this.  In my own receiver, which is standard issue Sendmail plus my own
milter routines, I get a call after every header, and after every 60KB
body chunk.  If the number of chunks exceeds 20, I return a REJECT.
What Sendmail does with that REJECT, I have not verified, but I get no
further milter calls on that message.

About sendmail in particular:

By the time your filter gets the body call, the entire message has already been 
collected (and probably queued).  If the MTA runs out of disk or other 
resources while the message is in transit, your filter will be told the 
transaction was aborted.  It won't even have seen the header block yet, 
although it will have the envelope and know that DATA was at least started.

<Prev in Thread] Current Thread [Next in Thread>