Hi,

I just switched my setup from spamassassin to spamd/spamc, started spamd
with OPTIONS="-d -c -a -D" in my /etc/sysconfig/spamd file.
Redhat 8 spamd 2.55

I seem to have a permissions problem pointed out in /var/log/maillog:

--------- from log:
Sep 22 13:50:29 gizmo spamd[8211]: server started on port 783 (running version 2.55) 
...
...
Sep 22 14:03:29 gizmo spamd[8440]: debug: using "/root/.spamassassin" for user state 
dir  
Sep 22 14:03:29 gizmo spamd[8440]: debug: mkdir /root/.spamassassin failed: 
   mkdir /root/.spamassassin: 
   Permission denied at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 1181  
   
Sep 22 14:03:29 gizmo spamd[8440]: debug: open of AWL file failed: lock: 
   8440 cannot create tmp lockfile 
/root/.spamassassin/auto-whitelist.lock.gizmo.heggood.com.8440 
   for /root/.spamassassin/auto-whitelist.lock: Permission denied   

--------- current permissions:
/root                drwxr-x---   81 root     root        12288 Sep 22 14:03 /root
/root/.spamassassin  drwx------    2 root     root         4096 Sep 22 14:07 
/root/.spamassassin

--------- contents:
/root/.spamassassin:
total 4
-rw-r--r--    1 root     root         1218 Sep 22 14:03 user_prefs

As an experiment, I moved /root/.spamassassin to /root/spamassassin.bku
Next time I ran spamc, a new .spamassassin was created along with a
user_prefs file.  So at least spamd is comfortable with the permissions.
I suspect that something in SpamAssassin.pm is not.

Any ideas?

-steve-


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to