Don't check mail from localhost

Arthur Sherman arturs at netvision.net.il
Wed Mar 14 11:21:43 CET 2007


> > 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:           127.0.0.1      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.
> 
> HTH.
> 
> Cheers,
> Chris

Chris,

MailScanner still marks them as SPAM.

More precisely, SA gets cache hit. And all I have is message ID, not the
message itself, so I can not force sa-learn to forget and re-learn, can i?
Well, this is probably OT now. Maybe, I better post it to SA list instead.

Thanks!


Best,

--
Arthur Sherman

+972-52-4878851
http://www.cpt.co.il/ 




More information about the MailScanner mailing list