Re: [Exim] multiple messages on a single connection

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Matthew Byng-Maddick
CC: exim-users
Temat: Re: [Exim] multiple messages on a single connection
On Sat, 26 Oct 2002, Matthew Byng-Maddick wrote:

> You're not strictly allowed to do some transaction which goes
> MAIL FROM:<...>
> RCPT TO:<....>
> DATA
> .
> MAIL FROM:<....>
>
> without a RSET after the final '.'.


I disagree. RFC 2821 says "Once a given mail message has been
transmitted, the client may either request that the connection be shut
down or may initiate other mail transactions." Nothing about RSET being
required. Furthermore, I see this:

4.1.1.5 RESET (RSET)

This command specifies that the current mail transaction will be
aborted.

So if there's no current transaction, there's no need for RSET. Indeed,
RFC 2821 goes on to say "It [RSET] is effectively equivalent to a NOOP
(i.e., if has no effect) if issued immediately after EHLO, before EHLO
is issued in the session, after an end-of-data indicator has been sent
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
and acknowledged, or immediately before a QUIT."
^^^^^^^^^^^^^^^^


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.