[Asrg] Redirection at SMTP session

SM sm at resistor.net
Wed Dec 3 08:43:48 PST 2008


At 08:19 03-12-2008, Jose-Marcio Martins da Cruz wrote:
>This is a permanent error - so an human is needed to interpret this.

There's also the 251 reply code.  That's for address correction.

>I was thinking about something like (nor 4xx nor 5xx) :
>
>303 FORWARD somepath at domain.com

You can get the same functionality with a 251 reply code where the 
MTA accepts the message and forwards it to the new address.  It's a 
redirection in the sense that the MTA is doing an address rewrite and 
relaying or delivering the message to the new mailbox.

There is no need for a new reply code if the text after the reply 
code is structured.  You still have to determine how to relay the new 
address back to the MUA as SMTP does hop by hop delivery.  HTTP, on 
the other hand, requires a direct connection between the server and 
the user agent.  Even if there is a proxy in the middle, the user 
agent still has access to the HTTP reply code.

Regards,
-sm 



More information about the Asrg mailing list