spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axb <axb.li...@gmail.com>
Subject Re: Redis Bayes Expire
Date Wed, 02 Mar 2016 16:02:56 GMT
On 03/02/2016 04:52 PM, Marc Perkel wrote:
> My Redis bayes keeps growing. It acts like it's not expiring like it
> should. Do I need to do something to force expire? Also - anything ekse
> I should set?
>
> Here's my settings.
>
> bayes_sql_dsn  server=localhost:6379
> use_bayes 1
> use_bayes_rules 1
>
> # Your choice if you want to use auto_learn
> bayes_auto_learn  1
>
> use_learner 1
> bayes_learn_to_journal 0
>
> # THIS IS MANDATORY - You do NOT need to run sa-learn to expire tokens
> # *_ttl below takes care of it.
> bayes_auto_expire  1
>
> # You  will need to changes this according to your need
> # This replaces sa-learn's sql/file based expire routines.
> bayes_token_ttl 3d
> bayes_seen_ttl  1d
>
>

run
"redis-cli info" and see

"expired_keys"



Mime
View raw message