John Hardin a écrit :
On Tue, 27 Oct 2009, Sam wrote:
Oct 27 00:28:24 lenny spamd[20399]: spamd: clean message (0.0/5.0)
for samueldu...@ingescom.com:102 in 4.8 seconds, 9803 bytes.
Oct 27 00:28:24 lenny spamd[20399]: spamd: result: . 0 -
BAYES_50,HTML_IMAGE_RATIO_08,HTML_MESSAGE,MISSING_MID
scantime=4.8,size=9803,user=samueldu...@ingescom.com,uid=102,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=39593,mid=(unknown),bayes=0.500000,autolearn=no
O
And after learning with sa-learn, it is still saying bayes_50 whereas
sa-learn told it has learned it.
Okay, basic Bayes troubleshooting questions:
(1) Are you running sa-learn as the same user that SA itself is
running as, so that you're training the Bayes database that SA is
actually using to score messages?
(2) Please run sa-learn --dump magic and send us the results.
1) For all users there is only one database in /var/bayes. I've done
some tests with su Debian-exim and it is same result.
2) lenny:/home/samuel# sa-learn --dump magic
0.000 0 3 0 non-token data: bayes db version
0.000 0 112532 0 non-token data: nspam
0.000 0 844 0 non-token data: nham
0.000 0 1935545 0 non-token data: ntokens
0.000 0 1047578051 0 non-token data: oldest atime
0.000 0 1256661628 0 non-token data: newest atime
0.000 0 1256648676 0 non-token data: last journal
sync atime
0.000 0 0 0 non-token data: last expiry atime
0.000 0 0 0 non-token data: last expire
atime delta
0.000 0 0 0 non-token data: last expire
reduction count
Thanks.
Sam.