I am currently running Scalix 10 Eval version and have just installed Spamassassin 3.1.0. All appears to be working, but not as I would have expected. Our current Operational mail server is running sendmail 8.13 with Spamassassin 2.64 and MimeDefang for the milter. With that configuration, each user gets their own .spamassassin directory to configure individual settings. With the Scalix Server setup, I have come across a few issues:
1) I keep getting "Permission Denied" messages when trying to create files in /root/.spamassassin
Feb 21 12:17:41 sam-test spamd[28613]: spamd: connection from localhost.localdomain [127.0.0.1] at port 39596
Feb 21 12:17:41 sam-test spamd[28613]: spamd: setuid to root succeeded
Feb 21 12:17:41 sam-test spamd[28613]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody at /usr/bin/spamd line 1150, <GEN61> line 4.
Feb 21 12:17:41 sam-test spamd[28613]: spamd: processing message <200602211717.k1LHHMLs027536@sammy.earthsat.com> for root:99
Feb 21 12:17:41 sam-test spamd[28613]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 1467
Feb 21 12:17:41 sam-test spamd[28613]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.sam-test.earthsat.com.28613 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 21 12:17:41 sam-test spamd[28613]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.sam-test.earthsat.com.28613 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 21 12:17:41 sam-test spamd[28613]: Can't call method "finish" on an undefined value at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Plugin/AWL.pm line 397, <GEN61> line 31.
Feb 21 12:17:41 sam-test spamd[28613]: bayes: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.sam-test.earthsat.com.28613 for /root/.spamassassin/bayes.lock: Permission denied
Feb 21 12:17:41 sam-test spamd[28613]: spamd: clean message (0.0/5.0) for root:99 in 0.1 seconds, 1471 bytes.
and
2) It appears that it wishes to store all of this stuff in ROOT's home directory instead of my own. Is this to be expected? I would hope that this would be controlled on a per-user basis. Is there a step that I have missed?
Any help would be greatly appreciated.
Thanks in advance,
Scott