> > On a related topic, why doesn't SMTP have a "redirect" response code, i.e.
> > the equivalent of the 301 or 302 response codes in HTTP?
>
> It does. See RFC-821 section 3.2. FORWARDING.
>
> 551 User not local; please try <forward-path>
Actually, if we want to get technical, an SMTP 5xx code is equivalent
to an HTTP 4xx code, not a 3xx code, so this isn't exactly the same.
This causes a hard bounce, which isn't the same as .forward which
accepts and then forward/redirects.
SMTP doesn't really have any clean way to say "He's over *there* now,
please update your alias, but I'll forward this for you this time",
which is what you want. Simply doing an SMTP 'meta-refresh' isn't
really what you want, where you silently push the mail somewhere else.
You want to forward the mail, so it doesn't bounce, and return a
"please update" request to the source.
--
Chuq Von Rospach (Hockey fan? <http://www.plaidworks.com/hockey/>)
Apple Mail List Gnome (mailto:chuq@apple.com)
Plaidworks Consulting (mailto:chuqui@plaidworks.com)
<http://www.plaidworks.com/> + <http://www.lists.apple.com/>
Follow-Ups:
References:
|
|