You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ronan <r....@qub.ac.uk> on 2004/11/25 10:34:29 UTC

autolearn

2 quick questions

how can i tell if bayes is working?

why isnt my autolearn working?(ok so it was one quick questiona nd one 
not so quick)

Nov 25 09:30:37 elisha spamd[22430]: result: .  0 - 
ALL_TRUSTED,J_CHICKENPOX_57,NO_REAL_NAME,PLING_PLING 
scantime=2.8,size=2405,mid=<E1...@amos>,autolearn=failed
Nov 25 09:31:03 elisha spamd[13629]: result: . -1 - ALL_TRUSTED 
scantime=1.4,size=1814,mid=<00...@ml86607>,autolearn=failed
Nov 25 09:31:03 elisha spamd[22430]: result: . -1 - 
ALL_TRUSTED,HTML_MESSAGE 
scantime=2.1,size=7347,mid=<00...@mte.qub.ac.uk>,autolearn=failed
Nov 25 09:31:06 elisha spamd[13629]: result: . -1 - 
ALL_TRUSTED,FROM_ENDS_IN_NUMS,NO_REAL_NAME 
scantime=1.2,size=1088,mid=<E1...@amos>,autolearn=failed
Nov 25 09:31:07 elisha spamd[22430]: result: . -1 - 
ALL_TRUSTED,HTML_FONT_BIG,HTML_MESSAGE 
scantime=2.0,size=71731,mid=<!~...@qub.ac.uk>,autolearn=failed
Nov 25 09:31:11 elisha spamd[13629]: result: .  2 - 
ALL_TRUSTED,BLANK_LINES_70_80,SARE_HEAD_XLIB_INDY2,SUBJ_HAS_UNIQ_ID,X_LIBRARY 
scantime=0.4,size=659,mid=(unknown),autolearn=no
Nov 25 09:31:13 elisha spamd[13629]: result: . -1 - 
ALL_TRUSTED,HTML_MESSAGE 
scantime=1.9,size=14758,mid=(unknown),autolearn=failed
Nov 25 09:31:28 elisha spamd[12956]: result: . -1 - 
ALL_TRUSTED,FROM_ENDS_IN_NUMS,NO_REAL_NAME 
scantime=0.8,size=1917,mid=<E1...@amos>,autolearn=failed
Nov 25 09:31:29 elisha spamd[12912]: result: Y 17 - 
EARN_PER_WEEK,HDR_ORDER_TRIMRS,HELO_DYNAMIC_IPADDR,HTML_40_50,HTML_IMAGE_ONLY_16,HTML_MESSAGE,HTML_TITLE_UNTITLED,MIME_BOUND_NEXTPART,MIME_HTML_ONLY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DSBL,RCVD_IN_NJABL_PROXY,RCVD_IN_SORBS_DUL,RCVD_IN_XBL 
scantime=3.8,size=14139,mid=<B8...@eurojobsonline.com>,autolearn=failed
Nov 25 09:31:34 elisha spamd[12912]: result: . -1 - ALL_TRUSTED 
scantime=4.0,size=2588,mid=<15...@dell059034>,autolearn=failed
Nov 25 09:31:47 elisha spamd[12912]: result: . -1 - 
ALL_TRUSTED,FROM_ENDS_IN_NUMS,NO_REAL_NAME 
scantime=0.4,size=701,mid=<E1...@amos>,autolearn=failed
Nov 25 09:31:55 elisha spamd[12912]: result: . -1 - 
ALL_TRUSTED,FROM_ENDS_IN_NUMS,NO_REAL_NAME 
scantime=1.7,size=1174,mid=<E1...@amos>,autolearn=failed

greping for autolearn in /var/log/syslog gives the following spamd 
output. This is my 3rd pref mailhub so ALL_TRUSTED is firing a lot due 
to local mails...

from reading the mail::spamassassin::conf autolearn is on by default, as 
is use_bayes/ use_bayes_rules etc...

anyone?

thanks
ronan
-- 
Regards

Ronan McGlue
==============
Analyst/Programmer
Information Services
Queens University Belfast
BT7 1NN

Re: autolearn

Posted by Matt Kettler <mk...@comcast.net>.
At 09:34 AM 11/25/2004 +0000, Ronan wrote:
>how can i tell if bayes is working?
>
>why isnt my autolearn working?(ok so it was one quick questiona nd one not 
>so quick)

Check to see if you have all the DB modules bayes needs to run.

The debug output should show you if SA is skipping bayes entirely because 
it can't find DB_File or some other reason...


         spamassassin --lint -D