CustomFunction rulesfiles

Glenn Steen glenn.steen at gmail.com
Mon Mar 15 10:58:11 GMT 2010


On 12 March 2010 01:31, Michael Mansour <micoots at yahoo.com> wrote:
> Hi,
>
> Can someone confirm for me please, that the following settings can be made into the filename of a ruleset:
>
> Is Definitely Not Spam = &SQLWhitelist
> Is Definitely Spam = &SQLBlacklist
> Required SpamAssassin Score = &SQLSpamScores
> High SpamAssassin Score = &SQLHighSpamScores
> Always Looked Up Last = &MailWatchLogging
>
> ?
>
> The reason I'm asking is I'd like to organise for another set of CustomFunctions to log into another MailWatch DB for certain domains.
>
> Thanks.
>
> Michael.
>
I don't think you can... Why not do it the other way around? Iterate
over a "ruleset" and instantiate connections to the needed DBs... and
select which connection handle you operate on inside the custom
functions...

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list