On 2021-05-28 17:43, Henrik K wrote:
On Fri, May 28, 2021 at 05:29:11PM +0200, Benny Pedersen wrote:

only bayes with redis backend have expire data, why only redis ?, and why
only bayes ? :)

Redis has internal automatic expire, no effort required.  For others
bayes_auto_expire works too - if it's slow, use Redis..

  bayes_token_ttl
    Controls token expiry (ttl value in SECONDS, sent as is to Redis)
    when bayes_auto_expire is true. Default value is 3 weeks (but check
    Mail::SpamAssassin::Conf.pm to make sure).
  bayes_seen_ttl
    Controls 'seen' expiry (ttl value in SECONDS, sent as is to Redis)
    when bayes_auto_expire is true. Default value is 8 days (but check
    Mail::SpamAssassin::Conf.pm to make sure).

redis only options imho

and no, postgresql is not slow, and still use less resources

Reply via email to