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

[PATCH] implement preforwarding

Thread Next
From:
Robert Millan
Date:
June 18, 2006 10:27
Subject:
[PATCH] implement preforwarding
Message ID:
20060618172711.GA20470@khazad.dyndns.org

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@bar.org>

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

-- 
Robert Millan

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About