On 09/05/18 16:03, Reio Remma wrote:
On 09.05.18 16:59, Matthew Broadhead wrote:
setting log_level and sa_debug in /etc/amavisd/amavisd.conf didn't seem to make any difference. should i be doing it in /etc/mail/spamassassin/local.cf?

See if $sa_debug=1 works (for full debug)? (and restart amavisd).

Reio
ok now i am getting a lot of output.  what am i looking for in particular?  is it safe to post those logs on here?

I would grep through it looking for error, fail, warn and bayes. :)

Reio


ok i am getting output for bayes using
tail -f /var/log/maillog | grep bayes

May  9 15:25:07 ns1 amavis[15270]: (15270-01) SA dbg: bayes: database connection established May  9 15:25:07 ns1 amavis[15270]: (15270-01) SA dbg: bayes: found bayes db version 3
May  9 15:25:07 ns1 amavis[15270]: (15270-01) SA dbg: bayes: Using userid: 1
May  9 15:25:07 ns1 amavis[15270]: (15270-01) SA dbg: bayes: corpus size: nspam = 32226, nham = 440969

then i get loads of
 SA dbg: bayes: header tokens for
and
SA dbg: bayes: token

it looks like it is working.  so maybe it is just not flagging or moving the spam?

Reply via email to