Excessive calls to SpamAssassin?

Julian Field jkf at ecs.soton.ac.uk
Thu May 23 08:40:04 IST 2002


At 01:49 23/05/2002, you wrote:
>In the most recent versions, SpamAssassin gets called for every message,
>even if the message is whitelisted ($IsOnWhiteList == 1) and you don't
>want to always include headers ($Config::IncludeSpamHeader == 0).  This
>is an issue on busy mailservers since SpamAssassin is "expensive",
>especially if now processing all the whitelisted traffic.
>
>To help get some of my performance back, I put the following if clause
>around the statements in the continue block that calls
>SpamAssassinChecks...
>
>if (!$IsOnWhiteList || $Config::IncludeSpamHeader) { }
>
>Is that a reasonable thing to do, or am I missing something?

No, I had overlooked that. Will fix.
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list