Hi All,

Is there any way to tell Postfix to not add the X-Original-To header to 
messages it delivers?

I ask because I have a setup where inbound emails go through 2 instances of 
postfix. The first postfix instance is on the MX server. This uses 
virtual_alias_maps to rewrite the email address from 'recipi...@example.com' to 
'mailbox_n...@mailbox_server_n' and forward the email to one of several 
internal mailbox servers. The mailbox server also has an instance of postfix 
running on it which uses mailbox_command to deliver the email into a local 
maildir via procmail.

The problem with this setup is that I end up with the X-Original-To header 
being set to 'mailbox_n...@mailbox_server_n' rather than 
'recipi...@example.com'. So I was wondering if there is a way to stop the 
second postfix instance from overwriting X-Original-To.

Alternatively is there a better way to configure my servers which would avoid 
this problem. 

Thanks,

- Richard

Reply via email to