ietf-smtp
[Top] [All Lists]

Re: [ietf-smtp] SMTP status codes 251 and 551

2020-02-14 09:33:11
On Feb 11, 2020, at 4:52 AM, Alessandro Vesely <vesely(_at_)tana(_dot_)it> 
wrote:

Using Courier-MTA, I'd have to devise a new add-on in order to issue these
responses using configured forward addresses.  Do Sendmail or Postfix provide
for email address portability?

Postfix supports a "relocated_maps" feature, which aims to refer the
bounce recipient to a more appropriate address:

        http://www.postfix.org/postconf.5.html#relocated_maps

When a RCPT TO hits a listed address it looks like the response will be:

        550 5.1.6 User has moved to <lookup result>

The 5.1.6 is determined in the mailer triple resolution code, which is
is SMTP independent, and 3-digit SMTP reply code is determined in the
SMTP engine, which maps replies with 550 for all addresses that
resolve to the error channel.

   https://tools.ietf.org/html/rfc3463#section-3.2

        X.1.6   Destination mailbox has moved, No forwarding address

         The mailbox address provided was at one time valid, but mail is
         no longer being accepted for that address.  This code is only
         useful for permanent failures.

But the result is correct, Postfix is not returning a machine-readable
551 referral, it is returning a human readable[1] 550 reject.

-- 
        Viktor.

[1] By humans who can read and understand a short English phrase.
_______________________________________________
ietf-smtp mailing list
ietf-smtp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf-smtp