Hi list, I hope this is not another RTFM-Question... My site-wide setup calls SA v2.60 from amavisd (amavisd-new-20030616-p5). Spam gets caught however, bayes tests are not included although they should. Here's what I have in my local.cf:
use_bayes 1 bayes_path /var/amavis/.spamassassin/bayes auto_learn 1 auto_learn_threshold_nonspam 0.1 auto_learn_threshold_spam 12 The number of ham and spam messages are both over 200 (see also below). Spam passing through the system gets tagged but no bayes_* tests appear in the header. Now, if I feed manually a test message to SA it gets tagged WITH bayes tests: [EMAIL PROTECTED] test-messages]# spamassassin -tD < sample-spam.txt > spam.out debug: Score set 0 chosen. : debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/var/amavis/.spamassassin" for user state dir debug: using "/var/amavis/.spamassassin/user_prefs" for user prefs file debug: bayes: 17995 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks debug: bayes: 17995 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen debug: bayes: found bayes db version 2 : debug: bayes corpus size: nspam = 2761, nham = 339 : debug: tokenize: header tokens for *p = "U*dev_null_sample_spam D*example.com D*com" : debug: bayes token 'money' => 0.99980837826628 debug: bayes token 'mailings' => 0.99941592920354 : debug: is spam? score=14.466 required=5 tests=BAYES_99,DATE_IN_PAST_12_24,DRASTIC_REDUCED,FROM_HAS_MIXED_NUMS,FROM_HAS_MIXED_NUMS3,INVALID_MSGID,NO_REAL_NAME,REMOVE_SUBJ [EMAIL PROTECTED] test-messages]# Sending the very same test message directly to amavisd DOES NOT include the bayes tests (however, two more: HOME_EMPLOYMENT, INVALID_DATE): X-Spam-Status: No, hits=5.6 tagged_above=3.0 required=6.3 tests=DATE_IN_PAST_12_24, DRASTIC_REDUCED, FROM_HAS_MIXED_NUMS, FROM_HAS_MIXED_NUMS3, HOME_EMPLOYMENT, INVALID_DATE, INVALID_MSGID, NO_REAL_NAME, REMOVE_SUBJ X-Spam-Level: ***** I have the same setup on an other RH9 server except SA v2.55 and earlier amavisd version (amavisd-new-20030616-p2). I checked also on permissions and they all seem to be OK (bayes-files are owned by amavis-user). Any ideas? Dave ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk