Hi folks, finally BAYES works with MailScanner. Now I noticed that it only works in mails that are not marked as spam anyways... Not a single mail in my spam folder has a BAYES score assigned to it. When I run this mail throug spamassassin -t it gets a score. I wrote a debug file overnight and found this:
is Net::DNS::Resolver available? yes running header regexp tests; score so far=0 running body-text per-line regexp tests; score so far=0 bayes: tie-ing db_toks to DB file R/O /var/spool/spamassassin/bayes_toks bayes: tie-ing db_seen to DB file R/O /var/spool/spamassassin/bayes_seen bayes corpus size: nspam = 291, nham = 2487 tokenize: header tokens for X-Mail-Format-Warning = "Bad RFC2822 header formatting in Received: from remotely.cool.de ([212.169.188. 17]) by mail.seceidos.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.12) id 18swdp-0005R3-00 for [EMAIL PROTECTED]; Wed, 12 Mar 2003 04:10:53 +0100" tokenize: header tokens for X-Mail-Format-Warning = "Bad RFC2822 header formatting in Received: from remotely.cool.de ([212.169.188. 17]) by mail.seceidos.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.12) id 18swdp-0005R3-00 for [EMAIL PROTECTED]; Wed, 12 Mar 2003 04:10:53 +0100 Bad RFC2822 header formatting in Received: from nr1-216-196-132-233.fuse.net ([216.196.132.233]) by remotely.coo l.de with smtp (Exim 4.10) id 18swdj-00013k-00 for [EMAIL PROTECTED]; Wed, 12 Mar 2003 04:10:48 +0100" --- stuff deleted --- bayes token 'H*x:Express' => 0.942446368936435 bayes: score = 0.508866170669518 bayes: untie-ing bayes: untie-ing db_toks bayes: untie-ing db_seen -- stuff deleted --- auto-learn? safety=4, ham=-2, spam=15, body-hits=4.6, head-hits=0.1 auto-learn: currently using scoreset 3. recomputing score based on scoreset 1. Score set 1 chosen. auto-learn: original score: 6.9, recomputed score: 8.971 Score set 3 chosen. auto-learn? no: inside auto-learn thresholds or safety zone around required_hits lock: 20899 created /var/spool/spamassassin/auto-whitelist.lock.proxy.intern.akctech.de.2089 9 lock: 20899 trying to get lock on /var/spool/spamassassin/auto-whitelist with 0 retries lock: 20899 link to /var/spool/spamassassin/auto-whitelist.lock: link ok Tie-ing to DB file R/W in /var/spool/spamassassin/auto-whitelist auto-whitelist (db-based): [EMAIL PROTECTED]|ip=19.49 scores 0/0 auto-whitelist (db-based): [EMAIL PROTECTED]|ip=none scores 0/0 AWL active, pre-score: 6.9, mean: undef, originating-ip: 19.49.212.159 add_score: New count: 1, new totscore: 6.9 Post AWL score: 6.9 DB addr list: untie-ing and unlocking. DB addr list: file locked, breaking lock. unlock: 20899 unlink /var/spool/spamassassin/auto-whitelist.lock is spam? score=6.9 required=6 tests=CLICK_BELOW_CAPS,DATE_IN_PAST_06_12,FORGED_MUA_OUTLOOK,HTML_80_90, HTML_FONT_BIG,HTML_IMAGE_ONLY_ 04,HTML_IMAGE_RATIO_02,HTML_LINK_CLICK_CAPS,HTML_LINK_CLICK_HERE,HTML_WI TH_BGCOLOR,MISSING_MIMEOLE So Bayes computes to a score of 0.5088 which should result in a BAYES_50 score, should it not? If I feed this message to spamassassin -t it results in a bayes score of 0.8534 BTW. Why the different score? Thanks, Jan-Peter ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk