Perhaps you should place this whitelist in /etc or /var. 
I am sure that /tmp is wiped at every reboot, which would result in the loss of your AWL.  You should give your spamd user ownership of the AWL.

I hope this helps.


On Thu, 2004-02-12 at 08:43, Micha Silver wrote:
I can't seem to get auto-whitelist to work. I've run spamd with debugging
and there seems to be a permissions problem:

[EMAIL PROTECTED] micha]# grep AWL /var/log/maillog | tail -2
Feb 12 15:27:25 ns spamd[22425]: debug: open of AWL file failed: Cannot open
auto_whitelist_path /tmp/.spamassassin/auto-whitelist:
Feb 12 15:28:11 ns spamd[22530]: debug: open of AWL file failed: Cannot open
auto_whitelist_path /tmp/.spamassassin/auto-whitelist:

Here's how I defined auto-whitelist:
[EMAIL PROTECTED] micha]# grep whitelist /etc/mail/spamassassin/10_local.cf
auto_whitelist_path     /tmp/.spamassassin/auto-whitelist

And spamd is running as user nobody:
[EMAIL PROTECTED] micha]# ps aux | grep spamd
nobody   23473  0.0  1.2 36092 6320 ?        S    Feb11   0:12 /usr/bin/perl
-T -w /usr/bin/spamd -d -x -a -m5 -H -D -u nobody

And here's the perms:

[EMAIL PROTECTED] micha]# ll /tmp/.spamassassin/
total 1804
-rwx------    1 nobody   nobody          0 Feb 10 12:23 auto-whitelist
-rw-------    1 nobody   nobody      86016 Feb 12 15:32 bayes_seen
-rw-------    1 nobody   nobody    2535424 Feb 12 15:32 bayes_toks
[EMAIL PROTECTED] micha]# ll -ad /tmp/.spamassassin/
drwxrwxr-x    2 nobody   nobody       4096 Feb 12 15:39 /tmp/.spamassassin/


Can anyone suggest what I've missed?

TIA
--Micha
Wess Bechard
Technical Support
eliquidMEDIA
International Inc.

[EMAIL PROTECTED]
519.973.1930 -1.800.561.7525

Reply via email to