SpamAssassin and the nonexistent home directory.

Kevin Kinsey kdk at daleco.biz
Wed Feb 21 20:02:43 UTC 2007


Derrick wrote:
> I'm confused as to why on box #1 I have in /etc/rc.conf:
> 
> spamd_enable="YES"
> spamd_flags="-c -u spamd -H /var/spool/spamd -m 10"
> 
> And spamd is writing to /var/spool/spamd/.spamassassin
> 
> on box #2 and #3, I have the exact same settings yet I see:
> 
> /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
> Feb 21 00:06:44 mail spamd[39002]: auto-whitelist: open of auto-whitelist
> file failed: locker: safe_lock: cannot create tmp lockfile
> 
> /nonexistent/.spamassassin/auto-whitelist.lock.xxx.xxx.xxx.39002 for
> /nonexistent/.spamassassin/auto-whitelist.lock : No such file or directory
> Feb 21 00:06:44 mail spamd[39002]: bayes: locker: safe_lock: cannot create
> tmp lockfile /nonexistent/.spamassassin/bayes.lock.xxx.xxx.xxx.39002 for
> /nonexistent/.spamassassin/bayes.lock: No such file or directory

Well, first I'd check that /var/spool/spamd does exist on both boxes. 
Probably then I would try `id` and `finger` perhaps, on the spamd user, 
and hope that the output might give me a clue.

Grasping a straw,

Kevin Kinsey
-- 
If you can lead it to water and force it to drink, it isn't a horse.


More information about the freebsd-questions mailing list