MCP Efficiency?

Julian Field MailScanner at
Fri Aug 18 09:36:19 IST 2006

Hash: SHA1

Sorry, just checked the code. I am doing that already.

The cause of the problem is that SpamAssassin does not appear to support 
the way I am trying to use it. I want 2 completely separate instances of 
SpamAssassin. One has all the normal SA rules as expected. The other one 
has no rules or dns checks or Razor or anything at all, it *only* has 
the few rules specified for MCP checking.

I can't make it do this, while still keeping all the rules compiled in 
both instances and every setup done and cached. The only thing I can 
make it do to run the way I want, is to tell it not to pre-compile all 
the rules. As a result it has to do a huge load of SA compilation for 
every message.

If Matt Kettler is around, maybe he could offer me some advice. I have 
tried asking on the SA list several times, and they don't understand why 
I would want my 2nd instance at all, so I never got any helpful answers.

David Jacobson wrote:
> Hi Guys / Julian,
> We've noticed some load problems using MCP.  We initially thought it had
> to do with the MCP spam.assassin.prefs using all the SA plugins...
> We enabled MCP on one domain on a server that's load average is 3 as we
> enable MCP the load jumps to 15.
> I'm concerned how this can happen as it's just scanning 1 domain out of
> 100's that does very minimal mail on the server the ruleset is to use
> MCP for one domain.  
> Julian, do you perhaps know of any problems with this code in terms of
> speed?  As far as I'm concerned if it's enabled for one domain with
> minimal volume it should not immediately jump the load on the server to
> 15.  I did a watch on ps and noticed the MCP check only comes once every
> like 5-10 minutes for a few seconds.
> Thanks in advance.

- -- 
Julian Field
Buy the MailScanner book at

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

Version: PGP SDK 3.7.0
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit

More information about the MailScanner mailing list