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 <[EMAIL PROTECTED]>
Pour : postfix-users@postfix.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

Reply via email to