[QUOTE=jummo;162512]In ZCS 6.0.2 I use the following:
Code:
su - zimbra
/opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic
I'am running ZCS 6.0.5 NE, but if I run this command, i'am getting this:
Code:
zimbra@zm1:~$ /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic
0.000 0 3 0 non-token data: bayes db version
0.000 0 235347 0 non-token data: nspam
0.000 0 646392 0 non-token data: nham
0.000 0 143553 0 non-token data: ntokens
0.000 0 1281866670 0 non-token data: oldest atime
0.000 0 1282566301 0 non-token data: newest atime
0.000 0 1282565659 0 non-token data: last journal sync atime
0.000 0 1282555223 0 non-token data: last expiry atime
0.000 0 172800 0 non-token data: last expire atime delta
0.000 0 64848 0 non-token data: last expire reduction count
It's normal, that bayes db version is so low (server has uptime 324 days)? I have too many spam in mailboxes, so I have suspicion, that bayes autolearn is not working (sorting mail to SPAM and HAM accounts is working good)
Learning script (/opt/zimbra/bin/zmtrainsa) was running manually many times.