|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Maintain origional email address in header
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Tue Mar 01 2005 - 16:18:47 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tuesday, March 01, 2005 at 23:11 CET,
Warrick FitzGerald <subs.postfix.wfitzgerald
crtman.com> wrote:
> I'm looking for a way to maintain the original email address that the
> email was sent to in the mail header:
Since Postfix 2.0 this is recorded in the X-Original-To header.
> Here's why:
>
> Many of my user have their own personal domains that have catchall
> accounts. For example:
>
> Bob Smith owns the domain Smith.com
>
> When he subscribes to cnet news he uses the address cnet.news
smith.com
> knowing that any email sent to smith.com will end up in his inbox.
>
> He now want to setup a rule saying when an email arrives for cnet.news
> put it into the cnet.news folder. The problem is that the mail header
> "To:" field is modified to the true user account of Bob
smith.com.
>
> How can I maintain the original email address int he To: field?
Postfix does not modify the To: header unless you explicitly configure
it to do so (via e.g. canoncial_maps).
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]