> -----Original Message-----
> From: [email protected] [mailto:owner-ietf-
> [email protected]] 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
> with
> 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.

Reply via email to