Re: Hide internal address (Postfix)

claus westerkamp <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
hello chris,

this is how I've done it:

add to main.cf

header_checks = regexp:/etc/postfix/header_checks

in that file you put

"# Header checks file
#    /^Subject: Internet Sic Codes/  REJECT
#    /^Subject: ADV /
/^received: / IGNORE
/^X-Sender: / IGNORE
"

that removes the the sender-header before you deliver it to the 
internet. works great besides eurora clients.

yours claus

[email protected] schrieb:
> Hi everyone!
> 
> Iam using Postfix for mail delivery.If somebody inside my network send mail outside the network, the recipient can see in the message header the internal address of the sender host.I would like to hide it, or replace it with the external address of my router.
> Any suggestion?
> 
> best regards
> chris
> 
> ps.:i appologize for my poorly grammar
> 

-- 
Claus Westerkamp
Systems Engineering

Raytion GmbH
Kaiser-Friedrich-Ring 74
40547 Duesseldorf
Fon +49-211-550266-0
Fax +49-211-550266-19
http://www.raytion.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.