thanks for, i´ll try that...


El 13/06/2014 03:16 p.m., Wietse Venema escribió:
Guillermo A. Cabrera Sablon:
Hello, i have a problem, i need to hide data from my local network, i
mean ip address and hostname that I can see in the body of each email
that my postfix sends, anybody can help me??
You mean, removing the Received: header with the client IP address?

     Received: by *myhostname* from *helo_name* (*client_name*
        [*client_address*]) ...

That requires a header_checks "ignore" action, with regular expression
that contains your Postfix host in the place of *myhostname*, and
wildcards in the place for *helo_name* and *client_name*, and
something that matches internal IP addresses.

header_checks example using a PCRE pattern:

     /^Received: by hostname\.example\.com from \S+ \(\S+ \[192.168\./ IGNORE

        Wietse


Reply via email to