On 28/06/06, Robert Millan <rmh@???> wrote: >
> Hi!
>
> The attached patch implements code 551 as described in RFC 2821 section 3.4.
>
> The idea is that the originator MTA is told via DSN which address is the final
> destination of this email, instead of transparently forwarding it.
>
> The following code is returned by server:
>
> 551 User not local; please try <foo@???>
>
> The main advantage with this is that it circumvents problems originated with SPF
> and forwarding.
>
> In order to activate it, system users just need to:
>
> echo foo@??? > ~/.redirect
I can see the need for this functionality, and thanks for producing a
patch rather than just an idea....
It seems to be hard-wired to local system users who have home
directories to drop files in - while I'm sure that fits with your
needs, shouldn't a generalised implementation play better with other
ways of specifying valid recipients? Perhaps an extension to the
redirect router?