Re: [Exim] Server response to error codes

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John W. Baxter
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Server response to error codes
On 6/28/2004 20:52, "Fred Viles" <fv+exim@???> wrote:

> On 28 Jun 2004 at 20:09, John W. Baxter wrote about
> "Re: [Exim] Server response to error":
>
> |...
> | Given the RFCs, I believe Exim has no choice but to say 503 in response to
> | DATA if there were no valid recipients, pipelining or not.
>
> Which language led you to that conclusion?
>
> Based on a quick read of 2920 and 2821, ISTM that it's appropriate to
> return 451 ("same sequence of commands may work later") to DATA when
> you've returned 450 to some RCPTs. What did I miss?
>


Oops...thanks for keeping me honest. I had looked this up and concluded
"Exim is not wrong". And remembered that, without remembering that Exim
would also not be wrong if it sent 554. And seemingly also wouldn't be
wrong if it didn't send either of those (which would leave what? 354?
4xy?).

RFC2821/3.3 a few paragraphs down under DATA

>  -  If there was no MAIL, or no RCPT, command, or all such commands
>     were rejected, the server MAY return a "command out of sequence"
>     (503) or "no valid recipients" (554) reply in response to the DATA
>     command.  If one of those replies (or any other 5yz reply) is
>     received, the client MUST NOT send the message data; more
>     generally, message data MUST NOT be sent unless a 354 reply is
>     received.

>


--John