Hi,
I'm trying to set up txrep with SQL storage, but TxRep does not seem to
allow SQLBasedAddrList as factory module.
Log:
spamd[8299]: TxRep: illegal factory setting
spamd[8299]: TxRep: could not open storages, quitting!
spamd[8299]: TxRep: illegal factory setting
spamd[8299]: TxRep: could not open storages, quitting!
spamd[8299]: Use of uninitialized value in addition (+) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line
1329, <GEN14> line 28.
spamd[8299]: TxRep: illegal factory setting
spamd[8299]: TxRep: could not open storages, quitting!
spamd[8299]: Use of uninitialized value in addition (+) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line
1330, <GEN14> line 28.
spamd[8299]: TxRep: illegal factory setting
spamd[8299]: TxRep: could not open storages, quitting!
spamd[8299]: Use of uninitialized value in addition (+) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line
1331, <GEN14> line 28.
spamd[8299]: TxRep: illegal factory setting
spamd[8299]: TxRep: could not open storages, quitting!
spamd[8299]: Use of uninitialized value in addition (+) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line
1334, <GEN14> line 28.
spamd[8299]: TxRep: illegal factory setting
spamd[8299]: TxRep: could not open storages, quitting!
Config:
header TXREP eval:check_senders_reputation()
describe TXREP Score normalizing based on sender's
reputation
tflags TXREP userconf noautolearn
priority TXREP 1000
txrep_factory module Mail::SpamAssassin::SQLBasedAddrList
user_awl_dsn DBI:mysql:spamdb:localhost
user_awl_sql_username <user>
user_awl_sql_password <password>
user_awl_sql_table txrep
I'm running spamassassin 3.4.1 with config/bayes stored in SQL (both of
which work) on up-to-date archlinux. It's invoked via postfix
content_filter:
spamassassin unix - n n - - pipe
flags=R user=spamd argv=/usr/bin/vendor_perl/spamc -e
/usr/bin/sendmail -oi -f ${sender} ${recipient}
but the same error occurs if SA is invoked by amavis.
What am I doing wrong?
Best,
Christopher