Matt Kettler wrote:
Tom Allison wrote:
Tom Allison wrote:
I just did an install of spampd on my debian box and am working my
way through the different configurations...
First, I found that /var/cache/spampd/awl had the wrong permissions
so I changed that and I stopped getting errors. Interestingly, I
have AWL disabled. But I guess it likes to check anyways. That
seems reasonable.
[5411] info: config: SpamAssassin failed to parse line,
"/var/cache/spampd/bayes" is not valid for "bayes_path", skipping:
bayes_path /var/cache/spampd/bayes
debug helped. But what does it mean?
Is there a directory named /var/cache/spampd/bayes/? If so, remove it,
or change your bayes_path to /var/cache/spampd/bayes/bayes
bayes_path, despite it's name, is NOT a path. It's a path AND partial
filename.
!DSPAM:45b38a7c119741622578420!
OK, I removed the bayes directory such that /var/cache/spampd is a directory but
there is nothing 'bayes' in that directory (no file, no dir)
cd /var/cache/spampd
rm -rf bayes
/etc/spampd.conf:
bayes_path /var/cache/spampd/bayes
restart and ....
[6651] dbg: bayes: no dbs present, cannot tie DB R/O:
/var/cache/spampd/bayes_toks
Looks like I'm either missing permissions or it doesn't want to create this
file.
Permissions are set to:
/var/cache/spampd# ls -la
total 20
drwxrwxr-x 2 spampd spampd 4096 2007-01-21 11:36 .
drwxr-xr-x 16 root root 4096 2007-01-21 10:01 ..
-rw------- 1 spampd spampd 12288 2007-01-21 10:27 awl
and the /var/cache/spampd directory has:
drwxrwxr-x 2 spampd spampd 4096 2007-01-21 11:36 spampd
From what I get out of Mail::SpamAssassin::Conf
the bayes_path setting for this configuration is correct.
but I'm not seeing the _toks, _seen files getting generated.
grr..