exclude email address from scanning/logging

Stef Morrell stef at aoc-uk.com
Wed Aug 18 12:30:30 IST 2010


Mark Chaney wrote:
> Ok, so i setup the following in 
> /etc/MailScanner/rules/scan.messages.rules:
> 
> From test at yourdomain.com no
> FromOrTo: default yes

If that's a direct cut and paste, you are missing a colon after the
first 'From'.

> Then restarted mailscanner, but it doesnt seem to to make a 
> difference, I still saw the email logged in "mailwatch". In 
> my MailScanner.conf, I do have:
> 
> Scan Messages = %rules-dir%/scan.messages.rules

Mailwatch will log any message which passes though MailScanner,
including those specifically excluded in a 'Scan Messages' ruleset. You
should see it logged as clean with a blank SA score.

Stef


More information about the MailScanner mailing list