ietf-smtp
[Top] [All Lists]

Re: Pipelining vs. multiple failure codes

2005-02-02 04:13:42

On Wed, 2 Feb 2005, Richard Dawe wrote:

The RFC on pipelining (RFC2920
<ftp://ftp.rfc-editor.org/in-notes/rfc2920.txt>) doesn't discuss what to
do on a temporary failure on, say, MAIL FROM.

The pipelining spec is hopelessly wooly.

Consider the following sequence:

  MAIL FROM
  4xx
  RCPT TO
  5xx (no MAIL FROM => RCPT TO not valid)
  DATA
  5xx (no recipients)

What should the SMTP client conclude in this case? Should it bounce the
message or try again later?

It should try again later. The client should interpret the responses as if
it hadn't pipelined the commands. The first error is the important one.

(Outlook gets this grievously wrong and will uselessly report to users
"Valid RCPT command must precede DATA". Not advertising PIPELINING doesn't
help because it pipelines anyway.)

Tony.
-- 
f.a.n.finch  <dot(_at_)dotat(_dot_)at>  http://dotat.at/
EAST CENTRAL SECTION: IN NORTH, SOUTHWEST 5 TO 7. OCCASIONAL RAIN. MODERATE OR
GOOD IN SOUTH, SOUTH OR SOUTHEAST 4 OR 5, BUT VARIABLE 3 OR 4 IN EAST. MAINLY
FAIR. MODERATE OR GOOD.