Tomoyuki Murakami:
> Hi, all
> 
> I'm just playing with implement SRS(Sender Rewriting Scheme)-like
> function into Postfix.
>    *SRS - http://www.openspf.org/SRS
> A trivial patch, attached this message would do the following.
> * rewrite sender when the message will forward to other site/domain.
> * Nope when the VERP setting is active.
> * rewriting format:
>   Message sender: orig_sen...@domain.com (sender)
>   Forwarder: forwar...@my.dom (orig_addr)
>   ->  MAIL From: forwarder+orig_sender=domain....@my.dom
> * target transport is smtp only.
> 
> ToDo.
> configurable options to activate the function, target transports,
> target domains, etc.
> 
> Any comments would be appreciated.

First, this would accept mail for forwarder+anyuser=anydom...@my.dom,
meaning that it would be an open relay. A more secure implementation
would compute a hash of (orig_sen...@domain.com, local secret) and
include that hash in the return address.

Second, Postfix has a plugin interface that supports implementations
SRS, SPF, DKIM, SenderID, etc.  I currently have no plans to build
these into Postfix.

        Wietse

Reply via email to