Hector,

Your claims about 5xz return codes in 4.2.5 of 2821bis bring up an interesting interpretation. 4.2.5 also says:

   When an SMTP server returns a positive completion status (2yz code)
   after the DATA command is completed with <CRLF>.<CRLF>, it accepts
   responsibility for:

   o  delivering the message (if the recipient mailbox exists) , or

   o  if attempts to deliver the message fail due to transient
      conditions, retrying delivery some reasonable number of times at
      intervals as specified in Section 4.5.4.

   o  if attempts to deliver the message fail due to permanent
      conditions, or if repeated attempts to deliver the message fail
      due to transient conditions, returning appropriate notification to
      the sender of the original message (using the address in the SMTP
      MAIL command).

Take the following example:

      S: 220 foo.com Simple Mail Transfer Service Ready
      C: EHLO bar.com
      S: 250-foo.com greets bar.com
      S: 250-VRFY
      S: 250 HELP
      C: VRFY [EMAIL PROTECTED]
      S: 250 <[EMAIL PROTECTED]>
      C: MAIL FROM:<[EMAIL PROTECTED]>
      S: 250 OK
      C: VRFY [EMAIL PROTECTED]
      S: 250 <[EMAIL PROTECTED]>
      C: RCPT TO:<[EMAIL PROTECTED]>
      S: 450 Can't send  to him right now
      C: DATA
      S: 354 Start mail input; end with <CRLF>.<CRLF>
      C: Blah blah blah...
      C: ...etc. etc. etc.
      C: .
      S: 250 OK
      C: QUIT
      S: 221 foo.com Service closing transmission channel

According to 4.2.5 above, since [EMAIL PROTECTED] exists, and foo.com (the server) has sent back a 250 to the DATA command, foo.com (the server) now has responsibility for delivering the message to [EMAIL PROTECTED] (retrying if necessary) and bar.com (the client) SHOULD NOT attempt to retry delivery to [EMAIL PROTECTED] Is this the correct interpretation?

[For the record, I think that this is *not* the correct interpretation, as I think you've also incorrectly interpreted the text regarding 5yz responses from DATA: The 2yz or 5yz response from DATA only refers to recipients which themselves got a 2yz response from the RCPT command.]

pr
--
Pete Resnick <http://www.qualcomm.com/~presnick/>
Qualcomm Incorporated - Direct phone: (858)651-4478, Fax: (858)651-1102

Reply via email to