MailScanner delivering System Filtered messages?
Posted: 23 Mar 2009, 03:38
I want to set up some rules in antivirus.exim for some targeted spam that is too large for MailScanner. When the rule triggers, I do get a log entry saying the message was cancelled. Then it just gets delivered anyway. I am wondering if it is because MS has a deliver statement in MS settings for non-spam actions?
Here is a sample of my antivirus rules:
Here is a sample of my antivirus rules:
Code: Select all
if $header_subject contains "keyword 1" or
$header_subject contains "keyword 2"
then
fail
logwrite "$tod_log $message_id rejected: spam filter blocked"
seen finish
endif