Don't check mail from localhost

Chris Yuzik ITDept at
Wed Mar 14 00:47:39 CET 2007

Arthur Sherman wrote:
> Hi do I set MailScanner not to scan mail from localhost? I stopped getting
> mail from root
That root guy only sends spam anyways. ;-)

Seriously, this is a two-step process.

1) Create a file called "content.scanning.rules" or similar and put it 
in your /etc/MailScanner/rules/ dir. Contents should be:

From:       no
FromOrTo:       default        yes

2) Make a change to your MailScanner.conf file. Find the line that 
reads: Dangerous Content Scanning = yes and change it to:
Dangerous Content Scanning = %rules-dir%/content.scanning.rules

3) save, and restart MailScanner.



More information about the MailScanner mailing list