sa caching mechanism

Ken A ka at pacific.net
Fri Dec 1 17:35:28 GMT 2006



Glenn Steen wrote:
> On 29/11/06, Ken A <ka at pacific.net> wrote:
>>
>> Is there any way to tell MailScanner that some SA scores should NOT be
>> cached? I'd like to be able to have MailScanner cache scores unless
>> certain (per user) SA rules are hit.
>>
>> For example: If a milter puts a header into a message that is based on a
>> user preference that is later used by SA to subtract or add to that
>> message's score, I'd like that score to NOT be cached, since it should
>> only apply to that message.
>>
>> I know Julian is quite busy, so I'm going to go beat on the code, but
>> hoping perhaps someone else has come across this?
>>
> Not much help, but the "Cache SpamAssassin Results" setting can eb a
> ruleset... And it could be a CustomFunction... So if you can (somehow)
> in that function get hold of the info you need to decide, that would
> likely be the best way to go.
> 

Ah! Good idea. As I said the info I need (header added by milter or 
something else) is in the message headers, so it should be available 
there somewhere in the Message object.
Thanks,
Ken A.
Pacific.Net



More information about the MailScanner mailing list