I can't seem to get auto-whitelist to work. I've run spamd with debugging
and there seems to be a permissions problem:
[root@ns 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:
[root@ns micha]# grep whitelist /etc/mail/spamassassin/10_local.cf
auto_whitelist_path /tmp/.spamassassin/auto-whitelist
And spamd is running as user nobody:
[root@ns 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:
[root@ns 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
[root@ns 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
and there seems to be a permissions problem:
[root@ns 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:
[root@ns micha]# grep whitelist /etc/mail/spamassassin/10_local.cf
auto_whitelist_path /tmp/.spamassassin/auto-whitelist
And spamd is running as user nobody:
[root@ns 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:
[root@ns 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
[root@ns 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