OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Address Rewriting

From: mouss (moussnetoyen.net)
Date: Mon Feb 11 2008 - 09:12:41 CST


Rob Becker wrote:
> Hi everyone. Quick question someone can hopefully help me with. I need
> to change the header info on a few select emails depending on where they
> are coming from.
>
> For example.
>
>
> If email comes in:
>
> From: account1domain1.com
> To: account2domain2.com
> BCC:
>
>
>
> I want it to change to:
>
> From: account1domain1.com
> To: <nobody>
> BCC: account3domain3.com, account4domain3.com account5domain3.com...
>

why would one do this? In general, you get better results when asking
the "original" question: what is the problem you are trying to solve?
> Is this possible and if so how?
>

you'll need to write a content filter or do this at delivery stage. note
that the BCC header is useless and can be removed at once.

postfix header checks apply on individual headers only (no combination
of headers).