MCP checks for outgoing only

Venkata Achanta vachanta at GMAIL.COM
Wed Mar 30 23:13:29 IST 2005

Hello everybody,

   Goal - TO do MCP checks for outgoing e-mail only and forward those e-
mails that trigger the MCP to user at

   Problem - user at is getting all the incoming messages(MCP
checks triggered tagged spam messages as well) and all the outgoing mail as
well.I can see from the headers that its getting MCP scores correctly but I
just want to do MCP checks on outgoing e-mail from

   I have this in my %rules-dir%/mcp.rules

From:      yes
FromOrTo:       default         no

My regular spam actions,

Spam Actions = store deliver forward spam at
High Scoring Spam Actions = store forward spam at
Non Spam Actions = deliver

Am i doing something wrong here ? Let me know if you need more info.

Venkata Achanta

Here is my config for the MCP part

MCP Checks = yes
First Check = MCP
MCP Required SpamAssassin Score = 100
MCP High SpamAssassin Score = 100
MCP Error Score = 0
MCP Header = X-%org-name%-SpoofChecker:
Non MCP Actions = deliver
MCP Actions = deliver user at
High Scoring MCP Actions = deliver user at
Bounce MCP As Attachment = no
MCP Modify Subject = no
MCP Subject Text = {MCP?}
High Scoring MCP Modify Subject = no
High Scoring MCP Subject Text = {MCP?}
Is Definitely MCP = %rules-dir%/mcp.rules
Is Definitely Not MCP = no
Definite MCP Is High Scoring = yes
Always Include MCP Report = yes
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%
Recipient MCP Report = %report-dir%/
Sender MCP Report = %report-dir%/

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list