Matt, following your advise that I had something configured wrong and not
standard, I removed and reinstalled SA and got a bit further. However no
matter what, I get the following errors for root when I send an email to
myself which has nothing to do for root. I even created a user for SA as
such:

groupadd -g 5001 spamd
useradd -u 5001 -g spamd -s /sbin/nologin -d /var/lib/spamassassin spamd
mkdir /var/lib/spamassassin
chown spamd:spamd /var/lib/spamassassin 

And are running with the following options:

OPTIONS="--create-prefs --max-children 5 --username spamd --helper-home-dir
${SAHOME} -s /var/log/spamd.log"
PIDFILE="${SAHOME}spamd.pid"

LOG.....

Mon Feb 26 10:42:43 2007 [16502] info: logger: removing stderr method
Mon Feb 26 10:42:49 2007 [16506] info: spamd: server started on port 783/tcp
(running version 3.1.8)
Mon Feb 26 10:42:49 2007 [16506] info: spamd: server pid: 16506
Mon Feb 26 10:42:49 2007 [16506] info: spamd: server successfully spawned
child process, pid 16531
Mon Feb 26 10:42:49 2007 [16506] info: spamd: server successfully spawned
child process, pid 16532
Mon Feb 26 10:42:49 2007 [16506] info: prefork: child states: IS
Mon Feb 26 10:42:49 2007 [16506] info: prefork: child states: II
Mon Feb 26 10:44:40 2007 [16531] info: spamd: connection from localhost
[127.0.0.1] at port 60542
Mon Feb 26 10:44:40 2007 [16531] info: spamd: creating default_prefs:
/root/.spamassassin/user_prefs
Mon Feb 26 10:44:40 2007 [16531] warn: config: cannot write to
/root/.spamassassin/user_prefs: Permission denied
Mon Feb 26 10:44:40 2007 [16531] info: spamd: failed to create readable
default_prefs: /root/.spamassassin/user_prefs
Mon Feb 26 10:44:40 2007 [16531] error: mkdir /root/.spamassassin:
Permission denied at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin.pm
line 1536
Mon Feb 26 10:44:40 2007 [16531] info: spamd: processing message
<[EMAIL PROTECTED]> for root:5001
Mon Feb 26 10:44:44 2007 [16531] error: mkdir /root/.spamassassin:
Permission denied at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin.pm
line 1536
Mon Feb 26 10:44:44 2007 [16531] error: locker: safe_lock: cannot create
lockfile /root/.spamassassin/auto-whitelist.mutex: Permission denied
Mon Feb 26 10:44:44 2007 [16531] warn: auto-whitelist: open of
auto-whitelist file failed: locker: safe_lock: cannot create lockfile
/root/.spamassassin/auto-whitelist.mutex: Permission denied
Mon Feb 26 10:44:44 2007 [16531] info: spamd: clean message (0.6/5.0) for
root:5001 in 4.5 seconds, 2016 bytes.

I do get the email in my mailbox, but why is it referring to root?

Regards,

Paul


Reply via email to