You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Benny Pedersen <me...@junc.eu> on 2015/01/27 14:03:10 UTC
Re: why does SA without autolearn need bayesread-write?
Matus UHLAR - fantomas skrev den 2015-01-27 13:44:
> On 27.01.15 03:01, Reindl Harald wrote:
>> with "bayes_auto_learn 0" there is no reason to lock the bayes
>> database and the spamd-service should be happy with
>> "ReadOnlyDirectories=/var/lib"
>
> the bayes databaase contains not only tokens, but also timestamps used
> for
> expiration. That's why you need to write to them.
extension in spamassassin need to support seperate DBI:foo for
WRITEONLY, and another for DBI:bar READONLY, sqlgrey can do it, but
spamassasin not yet
this can be extended to all DBI: databases used in spamassassin, should
be fairly simple to make that work