On Tue, 8 May 2018, Reio Remma wrote:
On 08.05.2018 22:08, John Hardin wrote:
On Tue, 8 May 2018, Matthew Broadhead wrote:
system setup centos-release-7-4.1708.el7.centos.x86_64,
spamassassin-3.4.0-2.el7.x86_64, amavisd-new-2.11.0-3.el7.noarch
/etc/mail/spamassassin/local.cf:
required_hits 5
report_safe 0
rewrite_header Subject [SPAM]
use_bayes 1
bayes_auto_learn 1
bayes_auto_expire 1
# Store bayesian data in MySQL
bayes_store_module Mail::SpamAssassin::BayesStore::MySQL
bayes_sql_dsn DBI:mysql:sa_bayes:localhost:3306
it is storing the info to the database ok. but it doesn't seem to be
filtering any mail.
(1) What is the output of: /usr/bin/sa-learn --dump magic
(2) What user are you running sa-learn as for training, and what user is
spamd running as?
(3) Are you seeing any BAYES_nn rule hits on messages at all, on either ham
or spam?
You'll probably need to look at your amavisd-new config.
Ugh, I missed that detail, sorry. My question 2 is just "what user are you
running sa-learn as?" amavis is obviously running as amavisd... :)
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Maxim XXXVII: There is no 'overkill.' There is only 'open fire' and
'time to reload.'
-----------------------------------------------------------------------
Today: the 73rd anniversary of VE day