MCP announcements not forwarded

Peter Lemieux mailscanner at
Tue Apr 8 16:45:03 IST 2014

Thanks, Valentin.

The MCP rules in /etc/MailScanner/MailScanner.conf read:

MCP Checks = /etc/MailScanner/rules/mcp_checks.rules

First Check = MCP

MCP Required SpamAssassin Score = 5
MCP High SpamAssassin Score = 9
MCP Error Score = 1
MCP Header = X-%org-name%-MailScanner-MCPCheck:

Non MCP Actions = deliver
MCP Actions = store-mcp forward mcpmonitor at localhost
High Scoring MCP Actions = store-mcp forward mcpmonitor at localhost
Bounce MCP As Attachment = no

MCP Modify Subject = start
MCP Subject Text = [HIPAA]

High Scoring MCP Modify Subject = start
High Scoring MCP Subject Text = [HIPAA]

Is Definitely MCP = no
Is Definitely Not MCP = no
Definite MCP Is High Scoring = no
Always Include MCP Report = yes
Detailed MCP Report = yes
Include Scores In MCP Report = yes

I added "store-mcp" to the Actions list yesterday as I wrote before. 
The rules in mcp_checks.rules apply MCP to all messages arriving from 
the client's Exchange server IP but exempts a couple of specific sender 
addresses like the admins.

As for sendmail, yes I have "MTA = sendmail" and of course the 
application can find it.  This gateway handles hundreds of messages each 
day and works well for everything except MCP.  The command "sendmail -bv 
mcpmonitor at localhost" returns the correct list of aliased recipients.

I'll also reiterate that this configuration worked correctly for many 
months but now no longer does.  That's why I wondered in my original 
post whether it had to do with the Perl modules being used.

Perhaps I should just remove all the Perl modules that MS creates and 
run the installer again?  It looks like the file for RedHat 
flavors does not rebuild any modules it finds already existing on the 
system.  Is that correct?


On 04/08/2014 03:49 AM, Valentin Laskov wrote:
> Hi Peter,
> 1. Please show forwarding rule
> 2. Check for these lines in MailScanner.conf
> #
> MTA = sendmail
> Sendmail = /usr/lib/sendmail
> #
> and
> 3. Check is there executable or link to sendmail in /usr/lib/sendmail
> I think your forwarding rule is wrong.
> It must be something like
> MCP Actions = forward mcpmonitor at localhost
> Regards
> Valentin Laskov

More information about the MailScanner mailing list