Hi,
after a fresh install on an SUSE 9.3 box i receive the following errors in /var/log/mail:
Jun 10 20:00:02 homesrv spamd[7041]: mkdir /root/.spamassassin: Keine Berechtigung at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm line 1486
Jun 10 20:00:02 homesrv spamd[7041]: spamd: processing message <[EMAIL PROTECTED]> for root:106
Jun 10 20:00:02 homesrv spamd[7041]: mkdir /root/.spamassassin: Keine Berechtigung at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm line 1486
Jun 10 20:00:02 homesrv spamd[7041]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.homesrv.schlosser-ma.de.7041 for /root/.spamassassin/auto-whitelist.lock: Keine Berechtigung
Jun 10 20:00:02 homesrv spamd[7041]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.homesrv.schlosser-ma.de.7041 for /root/.spamassassin/auto-
whitelist.lock: Keine Berechtigung
My spamd was started with
/usr/bin/spamd --daemonize --username spamfilt --pidfile /home/spamfilt/spamd.pid --max-children=5
I am not sure if this 3.0 startup is valid for
3.1 as well?
ps says the following
homesrv:/etc/mail/spamassassin # ps -AF | grep -i spam
spamfilt 6837 6784 0 997 1156 0 19:28 pts/0 00:00:00 su spamfilt
spamfilt 6838 6837 0 1053 1644 0 19:28 pts/0 00:00:00 sh
spamfilt 6924 6842 0 997 1156 0 19:44 pts/0 00:00:00 su spamfilt
spamfilt 6925 6924 0 1084 1696 0 19:44 pts/0 00:00:00 sh
root 7040 1 0 7305 25472 0 19:59 ? 00:00:00 /usr/bin/spamd --daemonize --username spamfilt --pidfile /home/spamfilt/spamd.pid --max-children=5
spamfilt 7041 7040 0 7537 26504 0 19:59 ? 00:00:00 spamd child
spamfilt 7042 7040 0 7305 25476 0 19:59 ? 00:00:00 spamd child
root 7086 6954 0 687 744 0 20:06 pts/0 00:00:00 grep -i spam
So I assume it would be the best to tell SA to go to /home/spamfilt/.spamassassin instead of /root/.spamassassin.
Where can I set this directory? (THere are so many places for configs, I am dazzled)
Or what is the solution for this?
Thanks in advance
Thomas
BTW: Where ist the best place to start spamd? Should this be done in t
- SA 3.1.3: auto-whitelist cannot create files (tmp lock) i... Thomas Schlosser