[SA-exim] Bayes issues

Justin F. Knotzke jknotzke at shampoo.ca
Sun Aug 10 09:59:02 PDT 2003


   Hi,

   Me again.

   This is more of a Spamassassin problem then a sa-exim problem but I
have yet to get a reply from the SA mailing list on this so I figured
I'd try here.

   I am trying to get bayes to work with SA while using spamd/spamc.

   Bayes works perfectly while using spamassassin directly. I have 1800
SPAM and 700 ham trained.

   For simplicity sake I am running spamd as root with no local.cf.
Everything is set to the default.

   When In rund spamc spamd gives the following debug:

spamd[23553]: debug: bayes: 23553 untie-ing
 Aug 10 08:47:34 shampoo spamd[23553]: debug: bayes: 23553 tie-ing to DB
file R/O /usr/local/var/spamassassin/bayes_toks
 Aug 10 08:47:34 shampoo spamd[23553]: Cannot open bayes_path
/home/jknotzke/.spamassassin/bayes R/O:
 Aug 10 08:47:34 shampoo spamd[23553]: debug: Score set 1 chosen.
 Aug 10 08:47:34 shampoo spamd[23553]: logmsg: checking message
<E19lWZj-0008Js-00 at hiruko.services.cam.org> for jknotzke:1009.
 Aug 10 08:47:34 shampoo spamd[23553]: checking message
<E19lWZj-0008Js-00 at hiruko.services.cam.org> for jknotzke:1009.
 Aug 10 08:47:34 shampoo spamd[23553]: debug: debug: Only 0 spam(s) in
Bayes DB < 200
 Aug 10 08:47:34 shampoo spamd[23553]: debug: bayes: 23553 untie-ing
 Aug 10 08:47:34 shampoo spamd[23553]: debug: bayes: 23553 untie-ing
db_toks

   If I run the same SPAM through spamassassin -r I get:

debug: using "/home/jknotzke/.spamassassin" for user state dir
debug: lock: 23606 created
/home/jknotzke/.spamassassin/bayes.lock.shampoo.ca.23606
debug: lock: 23606 trying to get lock on
/home/jknotzke/.spamassassin/bayes with 0 retries
debug: lock: 23606 link to /home/jknotzke/.spamassassin/bayes.lock: link
ok
debug: bayes: 23606 tie-ing to DB file R/W
/home/jknotzke/.spamassassin/bayes_toks
debug: bayes: 23606 tie-ing to DB file R/W
/home/jknotzke/.spamassassin/bayes_seen
debug: E19lWZj-0008Js-00 at hiruko.services.cam.org: already learnt as
opposite, forgetting first
debug: bayes: 23606 untie-ing
debug: bayes: 23606 untie-ing db_toks
debug: bayes: 23606 untie-ing db_seen
debug: bayes: files locked, now unlocking lock
debug: unlock: 23606 unlink /home/jknotzke/.spamassassin/bayes.lock


    spamc/spamd obviously give different rest results then spamassassin
since spamassassin actually does a bayes check.


    Any ideas?

    Thanks

    J





-- 
Justin F. Knotzke
jknotzke at shampoo.ca
http://www.shampoo.ca



More information about the SA-Exim mailing list