SpamScore + Custom Functions

Jason Ede J.Ede at
Tue Apr 7 07:57:01 IST 2009

> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of Nick Brown
> Sent: 07 April 2009 06:35
> To: mailscanner at
> Subject: SpamScore + Custom Functions
> Hi All,
> Quick question, I'm in the process of building out a new MailScanner MX
> cluster, and in past lives have always used SQLSpamScores +
> SQLBlackWhitelist perl files provided by MailWatch to give us a SQL
> Backend to which we then have our own frontend.
> The problem is - and you will have to excuse me if this should be to
> the
> MailWatch list as oposed to MailScanner - that the DB entries, Ie. High
> + Low scores are only loaded each time MailScanner is reloaded - we can
> prove this by enabling MySQL Query Logging and sending an email - there
> is no lookup made to the Scores table at all. I am sure this was not
> always the case - however I can't see any reference to it in the
> changelog. Can someone advise if I am doing something wrong or if I am
> losing my memory :-)

The lists are loaded at startup, and are then re-loaded periodically as I can see the reloading every so often in my logfile... I can't remember how often, but someone is bound to come along to say how often it is, but I'm almost certain that you can change it in the perl files if you look.


> Looking  at the Perl files themselves it does appear that they are
> written to load the list in one big hit, however I can also remember
> someone getting up me once before for cron'ing a reload every hour, as
> this really does seem like a poor way to solve the issue.
> Many thanks in advance.
> Nick.
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list