bayes expire tokens

Julian Field MailScanner at
Thu Mar 10 09:03:12 GMT 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Kai Schaetzl wrote:

>Brady Tucker wrote on         Tue, 8 Mar 2005 18:35:00 -0600:
>>I'm assuming that the bayes
>>DB gets so big that doing the expire job only once/day it takes to long to
>>finish and it gives up and tries again repeatedly ?
>Exactly, that's the problem. Additionally, if your db builds up over a long
>time and expiry eventually kicks in it's quite possible that it cannot find a
>good expiry delta because of the algorithm they use for this. That can extend
>the run to several minutes and can even fail completely to expire. Running the
>expiry regularly prohibits building up of token data which could spoil the
>expiry. (The algorithm for expiry takes time of last run, last delta, expected
>reduction and one or two other things into account and if it doesn't produce a
>sensible figure which could match the expected expiry maximum SA will try to go
>thru ten trial loops which can quite often fail.)
>  (even when running in
>>tmpfs)????  I don't know why..
>There's a timeout for SA in mailscanner.conf. As I understand if that occurs
>the operation gets called off. Which means expiry also gets called off in the
>middle of operation.
No, the expiry is handled quite separately. Or it is supposed to be :)

Julian Field
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at

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

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list