develooper Front page | perl.qpsmtpd | Postings from June 2006

[PATCH] implement preforwarding

Thread Next
Robert Millan
June 18, 2006 10:27
[PATCH] implement preforwarding
Message ID:


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 <>

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 > ~/.preforward

Robert Millan

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About