Might want to check your local.cf file for: It is located in/etc/mail/spamassassin
# Enable the Bayes system use_bayes 1 Robert Peace he would say instead of goodbye....peace my brother. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 4:39 PM To: users@spamassassin.apache.org Subject: Bayes doesn't seem to be working for me Hello, I installed exim4 and spamassassin following http://koivi.com/exim4-config/ Installing and configuring Exim 4 on Debian Bayes did not work and I read the wiki entry: http://wiki.apache.org/spamassassin/BayesNotWorking Bayes doesn't seem to be working for me! To create the bayes database, I run /usr/bin/sa-learn --spam ~/Maildir/.Spam-test/cur/ (and other dirs) Bayesian filtering parts seem to be ok: [EMAIL PROTECTED]:~$ spamassassin -D --lint 2>&1 |grep bayes debug: config: read file /usr/share/spamassassin/23_bayes.cf debug: bayes: 18897 tie-ing to DB file R/O /home/rd/.spamassassin/bayes_toks debug: bayes: 18897 tie-ing to DB file R/O /home/rd/.spamassassin/bayes_seen debug: bayes: found bayes db version 3 debug: bayes corpus size: nspam = 7812, nham = 8204 debug: bayes token 'H*Ad:D*org' => 0.0936018929062978 debug: bayes: score = 0.30291982757203 debug: bayes: 18897 untie-ing debug: bayes: 18897 untie-ing db_toks debug: bayes: 18897 untie-ing db_seen [EMAIL PROTECTED]:~$ Also the database looks ok to me: [EMAIL PROTECTED]:~$ sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 7812 0 non-token data: nspam 0.000 0 8204 0 non-token data: nham 0.000 0 143834 0 non-token data: ntokens 0.000 0 1160430967 0 non-token data: oldest atime 0.000 0 1165960464 0 non-token data: newest atime 0.000 0 0 0 non-token data: last journal sync atime 0.000 0 1166043027 0 non-token data: last expiry atime 0.000 0 5529600 0 non-token data: last expire atime delta 0.000 0 586583 0 non-token data: last expire reduction count [EMAIL PROTECTED]:~$ My mails get this added to their headers: X-SA-Exim-Connect-IP: 217.72.192.221 X-SA-Exim-Mail-From: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on alzental-castle.de X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=MSGID_FROM_MTA_HEADER, NO_REAL_NAME autolearn=no version=3.1.7 Subject: WELCOME to users@spamassassin.apache.org X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on alzental-castle.de) Here I am missing any BAYES_... status field. I am running spamd with these options: OPTIONS="--create-prefs --max-children 1 --helper-home-dir" I am running spamassassin 3.1.7 (I saw the same behaviour in 3.0.3) It is a Debian sarge platform with either spamassassing from backports.org/3.1.7 (or the native version/3.0.3). Any hint what to check next would be helpful. I am wondering, if spamd is looking at the wrong place for the bayes database. Can I check where spamd looks for the bayes database (in my case the right location is ~/.spamassassin/bayes*) Many thanks, Rainer -- Rainer Dorsch Alzentalstr. 28 D-71083 Herrenberg 07032-919495 jabber: [EMAIL PROTECTED] GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/