postfix header_checks

Nerijus Baliunas nerijusb at dtiltas.lt
Tue Feb 2 17:09:13 GMT 2010


On Tue, 2 Feb 2010 16:06:05 +0200 Nerijus Baliunas <nerijusb at dtiltas.lt> wrote:

> OK, I found how to do it with MailScanner itself here -
> http://old.nabble.com/Hide-internal-address-%28Postfix%29-td2300995.html

I added to MailScanner.conf: Remove These Headers = %rules-dir%/remove.headers.rules

/etc/MailScanner/rules/remove.headers.rules:
From:           127.0.          Received: X-Mailer: X-MimeOLE:
FromOrTo:       default         X-Mozilla-Status: X-Mozilla-Status2:

Restarted MS, but still I see in the headers of received message:

Received: from xxx.lt (xxx.xxx.lt [127.0.0.1])
	by xxx.xxx.lt (Postfix) with SMTP id 4A9AC39C044
	for <xxx at xxx.lt>; Tue,  2 Feb 2010 18:46:12 +0200 (EET)

Regards,
Nerijus


More information about the MailScanner mailing list