Re: spamassassin doesn't seem to be using bayes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-10-21 at 16:06 +0100, Andy Green wrote:
> D. D. Brierton wrote:
> 
> > X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP
> > autolearn=failed version=3.0.4
> 
> Anything in /var/log/maillog?

Aha! Yes, there is:

Oct 21 16:46:35 excession spamd[2247]: connection from excession.dzr [127.0.0.1] at port 40689
Oct 21 16:46:35 excession spamd[2247]: info: setuid to darren succeeded
Oct 21 16:46:35 excession spamd[2247]: Creating default_prefs [/home/darren/.spamassassin/user_prefs]
Oct 21 16:46:35 excession spamd[2247]: Cannot write to /home/darren/.spamassassin/user_prefs: Permission denied
Oct 21 16:46:35 excession spamd[2247]: Couldn't create readable default_prefs for [/home/darren/.spamassassin/user_prefs]
Oct 21 16:46:36 excession spamd[2247]: processing message <9b9801c5d652$11c16042$ce842dc8@frwpik1> for darren:500.
Oct 21 16:46:36 excession spamd[2247]: identified spam (5.6/5.0) for darren:500
in 0.2 seconds, 1670 bytes.
Oct 21 16:46:36 excession spamd[2247]: result: Y  5 - DATE_IN_FUTURE_96_XX,FORGED_RCVD_HELO,INVALID_DATE,MSGID_DOLLARS,NO_OBLIGATION,NO_REAL_NAME,RCVD_BY_IP scantime=0.2,size=1670,mid=<9b9801c5d652$11c16042$ce842dc8@frwpik1>,autolearn=no

Obviously there is something wrong with the permissions on
~/.spamassassin.

$ ls -ldZ .spamassassin/
drwx------  darren   darren   user_u:object_r:user_home_t      .spamassassin/

$ ls -lZ .spamassassin/
-rw-------  darren   darren   user_u:object_r:user_home_t      auto-whitelist
-rw-------  darren   darren   user_u:object_r:user_home_t      bayes_seen
-rw-------  darren   darren   user_u:object_r:user_home_t      bayes_toks
-rw-rw-r--  darren   darren   user_u:object_r:user_home_t      old_bayes_seen
-rw-rw-r--  darren   darren   user_u:object_r:user_home_t      old_bayes_toks
-rw-r--r--  darren   darren   user_u:object_r:user_home_t      user_prefs

Given that maillog says that setuid to darren succeeded then I can't see
what's wrong with any of those permissions, unless it is an selinux
issue. Hmmmmm. Any suggestions?

Thanks.

Best, Darren

-- 
=====================================================================
D. D. Brierton            darren@xxxxxxxxxxx          www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
=====================================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux