OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: add a header like "rcpt to" to know for who is the mail

From: Wietse Venema (wietseporcupine.org)
Date: Mon Jul 03 2006 - 15:20:32 CDT


Thierry B:
> Hello,
>
> I'd like that if postfix receipts a mail with an adress in the header
> "to" and another mail with the header "cc" for example, that he adds a
> header 'rcpt to", to know for who is the mail exactly so after, I'll
> only have to filter with maildrop for example with this header.
>
> Is it possible?

Postfix prepends X-Original-To:, when you specify in master.cf;

   /etc/postfix/master.cf:
        maildrop unix - n n - - pipe
          flags=ODRhu .....

        Wietse