[Mimedefang] Default SMTP code and dsn for filter_recipient() not standard compliant?

kd6lvw at yahoo.com kd6lvw at yahoo.com
Fri Jun 21 13:46:46 EDT 2013


554 is the default error code during the DATA phase (where 550 is not allowed).  Most rejections processed by MimeDefang would occur during that part of the SMTP transaction.  Regardless, you should be setting the appropriate codes in your error messages anyway.

Similarly with enhanced status code "5.7.1" which indicates a rejection for local policy reasons.

--- On Fri, 6/21/13, David F. Skoll <dfs at roaringpenguin.com> wrote:
> Franz Schwartau <franz at electromail.org> wrote:
> 
> > After doing some tests I was wondering, why mimedefang returns
> > 554 5.7.1 after a RCPT TO.
> 
> That's the default and it seemed reasonable to me at the time.
> Although the RFC doesn't list 554 as a "usual" response to RCPT, it
> does say:
> 
>    "SMTP clients SHOULD, when possible, interpret only the first digit
>     of the reply and MUST be prepared to deal with unrecognized reply
>     codes by interpreting the first digit only."
> 
> so I think the distinction between 550 and 554 is mostly of academic
> interest.



More information about the MIMEDefang mailing list