Re: 5xx during / after DATA [was Re: [Exim] bouncing viruses…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Users Mailing List
Datum:  
To: Suresh Ramasubramanian
CC: Alexander Sabourenkov, exim-users
Betreff: Re: 5xx during / after DATA [was Re: [Exim] bouncing viruses]
[ On Tuesday, February 18, 2003 at 23:10:16 (+0530), Suresh Ramasubramanian wrote: ]
> Subject: Re: 5xx during / after DATA [was Re: [Exim] bouncing viruses]
>
> At 07:42 PM 2/18/2003 +0300, Alexander Sabourenkov wrote:
> >
> > 5xx/drop when? After CRLF.CRLF or midway through?
> >
> > My opinion is that the latter in the best case has no effect on number of
> > retries by the client,
> > and in the worst case provokes them.
>
> I guess we can wait till after CRLF.CRLF before issuing the 5xx.


No, not "can" -- you absolutely "MUST" wait for the end-of-DATA before
sending any response code (especially if you hope for it to have any
effect, let alone the desired effect).

Any MTA that terminates the connection during DATA is broken.

Unfortunately not all SMTP clients will handle this kind of failure in
any appropriate way. Ideally they will just re-connect and re-send,
perhaps after some delay.

--
                                Greg A. Woods


+1 416 218-0098;            <g.a.woods@???>;           <woods@???>
Planix, Inc. <woods@???>; VE3TCP; Secrets of the Weird <woods@???>