On Mon, Apr 12, 2010 at 08:56:17AM -0500, Mike Abbott wrote:
> >> + case SMTP_ERR_EOF:
> >> + smtpd_chat_reply(state, "554 4.6.6 EOF from IMAP server");
> >> + vstream_longjmp(state->client, SMTP_ERR_QUIET);
> >> + break;
> >
> > Why is the DSN code 4.X.X when the SMTP reply code is 5XX? Is this a
> > permanent or a transient error code?
>
> It is a transient failure. The reasoning for these particular codes
> was as follows. RFC 4468 section 3.2 states "If the URL fetch fails, the
> server will fail the entire transaction." RFC 5321 section 4.2.2 uses
> code 554 for "Transaction failed." And the table in RFC 5248 section
> 2.4 implies that a 4.6.6 is valid with a 554. If this interpretation
> of the RFCs is incorrect, please propose corrected response codes.
This interpretation is incorrect, the 3-digit SMTP code, must match the
3-part DSN code. For transient errors use 454.
--
Viktor.
P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment. If you are interested, please drop me a note.