Re: [exim] rewrite From: with MAIL FROM:

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dave Evans
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] rewrite From: with MAIL FROM:
On Wed, Sep 23, 2009 at 07:01:18AM +0200, janek wrote:
> How can I make exim rewrite From: header in email message with one given in
> MAIL FROM: smtp protocol command?


I should imagine you could do it by using headers_remove / headers_add /
$sender_address; but really, don't. The return path (MAIL FROM) and the
"From" header have completely different meanings, for a good reason. Lots of
perfectly normal mail has From: different from MAIL FROM. For example, all
mail on this list.

See RFC2821 and RFC2822 if you would like to learn more about this.

Regards,

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey