Daniel J. Andrea II <[EMAIL PROTECTED]> said in SpamAssassinTalk on 24-Jul-03 20:51:11 --> DJA> Well, I got it trained again and it now shows the bayes tokens DJA> when I run the sample spam through it. However, I am still not DJA> getting the bayes tokens on the emails as they come through. (snip) DJA> Am I doing something wrong here still? Or is there some obscure DJA> thing happening here on my Linux box keeping this from working?
I finally figured this one out. Turns out I had some strange permissions thing going on. :-/ I had set in local.cf to put the bayes db in one directory for all users and set bayes_file_mode to 666 so that anyone could read/write to it. I could get the bayes triggers to show up if I ran the spamassassin tests as root, but when spamc ran as "postfixfilter" (the user I set up for postfix filtering), I would not get them. After checking the debug output of spamd was when I noticed that it couldn't scan the bayes_tokes file. I then tried moving things around and moved the bayes db files to /spamassassin instead of in /usr/local/share/spamassassin, which didn't change a thing. So then I though I'd just open up ALL access to the file for everyone and changed the mode to 777 after adjusting the ACLs on each file manually. That let it work and I'm now seeing the bayes triggers in emails passing through spamc/spamd. So can anyone explain to me why the bayes db files need to have execute rights in order for it to work for users other than root? :-/ -- Daniel J. Andrea II http://home.swbell.net/dandrea2 PGP key available ICQUIN 37317860 Member -- *Team AMIGA* Macintosh: Machine Always Crashes, If Not, The OS Hangs! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk