OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: When is the "received for" Header inserted

From: Eddy Beliveau (eddy.beliveauhec.ca)
Date: Tue Sep 30 2008 - 11:16:22 CDT


Hi!

You can add the following single line to your header_check_file:
/^(Received:.*for.<).*(netcore.co.in>.*)$/ REPLACE {1}hidden${2}

/etc/postfix/main.cf must contains:
header_checks = regexp:/etc/postfix/header_checks

Check that /etc/postfix/master.cf does not contains, for your services:
  -o receive_override_options=no_header_body_checks

Restart postfix, it should works
Eddy
-------- Message original --------
Sujet : When is the "received for" Header inserted
De : ram <ramnetcore.co.in>
Pour : postfix-userspostfix.org
Date : 2008-09-30 06:53

> I would like to hide the recipient (alias) address in the header of the
> mail. Unfortunately the header on the mail contains "received from XXXX
> for ... <alias-id> "
>
> How can I configure postfix not to insert this header
>
>
> Thanks
> Ram
>
>
>
>

--
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada