"Loren Wilton" <[EMAIL PROTECTED]> writes: > If tokens are expired from the DB based on time, and assuming *all* > tokens older than some date are expired, wouldn't it be reasonable to > prune bayes_seen to the expiry date after the expiry run?
You cannot assume that all tokens earlier than some date have expired. A token (in bayes_token) is only expired when its last occurrence in an email was before the expiry interval. So it is perfectly possible for a token from the very first email ever learnt to still be in bayes years later.