You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Michael Meier <cr...@rmm.li> on 2017/01/19 20:43:54 UTC

sa-learn seems to ignore auto_whitelist_path directive for global txrep database

Hi

I just switched from AWL to txrep. It seems to be working properly from 
amavis, the only problem I've got, is that sa-learn seems to ignore the
auto_whitelist_path directive in local.cf .
It doesn't matter to what I set it, sa-learn always updates 
/root/.spamassassin/tx-reputation (I'm running the command as root).
The "--dbpath" parameter for sa-learn only seems to work for the bayesan 
database (maybe that should be updated?).
I'm using Debian Jessie with spamassassin version 3.4.1-3.
The relevant entry of local.cf looks like:

loadplugin Mail::SpamAssassin::Plugin::TxRep

use_txrep 1

auto_whitelist_path /var/lib/amavis/.spamassassin/tx-reputation
txrep_autolearn 1
txrep_track_messages  1

is this a bug, or I'm doing something wrong?
thanks in advance

Michael Meier

Re: sa-learn seems to ignore auto_whitelist_path directive for global txrep database

Posted by Michael Meier <cr...@rmm.li>.
>> I just switched from AWL to txrep. It seems to be working properly
>> from amavis, the only problem I've got, is that sa-learn seems to
>> ignore the auto_whitelist_path directive in local.cf .
>> It doesn't matter to what I set it, sa-learn always updates
>> /root/.spamassassin/tx-reputation
> 
> 
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7383

Thanks a lot for the quick answer :-). I didn't find that one over 
google search.

> 
>> (I'm running the command as root).
> 
> that doesn't sound good.

only for testing purposes...

Re: sa-learn seems to ignore auto_whitelist_path directive for global txrep database

Posted by RW <rw...@googlemail.com>.
On Thu, 19 Jan 2017 21:43:54 +0100
Michael Meier wrote:

> Hi
> 
> I just switched from AWL to txrep. It seems to be working properly
> from amavis, the only problem I've got, is that sa-learn seems to
> ignore the auto_whitelist_path directive in local.cf .
> It doesn't matter to what I set it, sa-learn always updates 
> /root/.spamassassin/tx-reputation 


https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7383


> (I'm running the command as root).

that doesn't sound good.