about postfix and Mailscanner

Cheng Bruce itlist at gmail.com
Wed Sep 27 09:06:19 IST 2006


Dear all,

I use Postfix 2.3.2, MailScanner 4.55.10, maildrop, openldap,
courier-imap to setup the mail server.

I am trying to hide the private IP information in header, but when I
use header_check function in postfix to hide the private information,
the archive mail function will not be worked.

How can I do or modify it in order to hide the private IP information ?

# more /etc/postfix/header_checks.txt
# Hide Private Information
/^Received:.*\[(192\.168|172\.(1[6-9]|2[0-9]|3[01])|10)\./      IGNORE
/^Received:.*\[127\.0\.0\.1/      IGNORE

# for MailScanner
/^Received:/ HOLD

By the way, how can I config the setting so that MailScanner can't
archive some Email like boss at a.com  ?

My arhicve rules is like the following:
[root at linux01 rules]# more archive.rules
To: boss at a.com no
From: boss at a.com no
FromOrTo: boss at b.com no

FromOrTo: *@a.com backup at a.com
FromOrTo: *@b.net yes forward backup at b.net

Please advise me and thank you in advance.

Best Regards,
Bruce


More information about the MailScanner mailing list