Message Content Protection
Remco Barendse
mailscanner at BARENDSE.TO
Wed Oct 1 10:41:04 IST 2003
I am currently trying to use the MCP feature of MailScanner. I have
upgraded to SpamAssassin 2.6 and am using the latest version of MS.
The maillog mentions that it is starting MCP checks but then nothing is
happening.
I want to use MCP to filter out Delivery Status Reports (read receipt, not
read, etc.)
Attached is the rules file I created, below is what I have in my
MailScanner.conf. Maybe I have just made a complete mess of the rules
files as there seems to be no message whatsoever in the maillog that
anything failed!
Also am I correct that there is no way to suppress the sender MCP report?
I want to suppress these messages originating from our own organization,
and don't want any reports returned.
%mcp-dir% = /etc/MailScanner/mcp
MCP Checks = yes
MCP Required SpamAssassin Score = 1
MCP High SpamAssassin Score = 99
MCP Error Score = 1
MCP Header = X-MailScanner-MCPCheck:
Non MCP Actions = deliver
MCP Actions = deliver
High Scoring MCP Actions = delete forward root at linuxgw.ecem.com
Is Definitely MCP = no
Is Definitely Not MCP = no
Definite MCP Is High Scoring = no
Always Include MCP Report = no
Detailed MCP Report = yes
Include Scores In MCP Report = yes
Log MCP = yes
MCP Max SpamAssassin Timeouts = 20
MCP Max SpamAssassin Size = 100000
MCP SpamAssassin Timeout = 10
MCP SpamAssassin Prefs File = %mcp-dir%/mcp.spam.assassin.prefs.conf
MCP SpamAssassin User State Dir =
MCP SpamAssassin Local Rules Dir = %mcp-dir%
MCP SpamAssassin Default Rules Dir = %mcp-dir%
MCP SpamAssassin Install Prefix = %mcp-dir%
Sender MCP Report = %report-dir%/en/sender.mcp.report.txt
-------------- next part --------------
#
# This is where the rules can go for the Message Content Protection system.
# Any *.cf file in this directory will be used, so organise them as you like.
#
# For details on the format of all this, read
# man Mail::SpamAssassin::Conf
# and look at the *.cf files supplied with SpamAssassin.
#
# Remember this is not for spam detection, it's for content detection.
#
header BANNED_HRRNL Subject =~ /Gelezen:/i
describe BANNED_HRRNL Blocked read DSR
score BANNED_HRRNL 100
header BANNED_HRRES Subject =~ /Le?do:/i
describe BANNED_HRRES Blocked read DSR
score BANNED_HRRES 100
header BANNED_HRRPT Subject =~ /Lida:/i
describe BANNED_HRRPT Blocked read DSR
score BANNED_HRRPT 100
header BANNED_HRREN Subject =~ /Read:/i
describe BANNED_HRREN Blocked read DSR
score BANNED_HRREN 100
header BANNED_HRRPT2 Subject =~ /Lidas:/i
describe BANNED_HRRPT2 Blocked read DSR
score BANNED_HRRPT2 100
header BANNED_HNRNL Subject =~ /Niet gelezen:/i
describe BANNED_HNRNL Blocked not read DSR
score BANNED_HNRNL 100
header BANNED_HNRES Subject =~ /No le?do:/i
describe BANNED_HNRES Blocked not read DSR
score BANNED_HNRES 100
header BANNED_HNREN Subject =~ /Not read:/i
describe BANNED_HNREN Blocked not read DSR
score BANNED_HNREN 100
body BANNED_BRRPT2 /Esta ? uma confirma??o de recebimento do email que voc? enviou para/i
describe BANNED_BRRPT2 Blocked read DSR
score BANNED_BRRPT2 100
body BANNED_BRRPT /foi lida em/i
describe BANNED_BRRPT Blocked read DSR
score BANNED_BRRPT 100
body BANNED_BRREN /was read on/i
describe BANNED_BRREN Blocked read DSR
score BANNED_BRREN 100
body BANNED_BNREN /was deleted without being read/i
describe BANNED_BNREN Blocked read DSR
score BANNED_BNREN 100
More information about the MailScanner
mailing list