Le 04/11/2010 17:45, Joe Wong a écrit :
Thanks Viktor. I miss this one when reading the man page.. :)

note that if your goal is to hide private information, then you should use header_checks instead of disabling reverse DNS lookup.

header_checks = pcre:/etc/postfix/header_checks.pcre

== header_checks.pcre:

/^(Received: from myhelo\.example\.com) \(\S+\.private\.local( \[10\..*)/ REPLACE $1 (unknown $2

the above will replace "*.private.local" by "unknown".





On Fri, Nov 5, 2010 at 12:42 AM, Victor Duchovni <[email protected] <mailto:[email protected]>> wrote:

    On Fri, Nov 05, 2010 at 12:25:21AM +0800, Joe Wong wrote:

    > is there a way to tell postfix not to write the
    HOSTNAME_OF_CONNECTING_IP,
    > or disable the reverse DNS lookup so that is always 'unknown' ?

    http://www.postfix.org/postconf.5.html#smtpd_peername_lookup

    --
           Viktor.



Reply via email to