Hi All,

I've got SA 3.1.9-1 on CentOS 5.1 and I see these messages:

....
Feb 13 16:55:51 nexus spamd[1837]: spamd: handle_user unable to find user:
'corey'
Feb 13 16:55:51 nexus spamd[1837]: 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 1161, line 4.
....
Feb 13 16:55:54 nexus spamd[1837]: mkdir //.spamassassin: Permission denied
at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin.pm line 1536

The problem is the user 'corey@host.domain' is aliased to mailbox/linux user
'coreymjw'. It can't run as 'corey', so spamd (and spamc) runs as 'root'.

I am running a 'filter.sh' as the content filter in my postfix master.cf:

spamassassin unix - n n - - pipe
flags=Rq user=spamd argv=/usr/local/bin/filter.sh -oi -f ${sender}
${recipient}

And spamc in filter.sh is set to use a user parameter:

$SPAMASSASSIN -x -E -u $USER > $OUTPUT

Is there anyway around this? i.e. to have spamc run as 'coreymjw' so it can
find/write to ~coreymjw/.spamassassin? Mail to 'coreymjw@host.domain' works
perfectly. On my system user names are very cryptic and we don't publish
these names as email addresses. It's a pain to have these errors on the
majority of our incoming e-mails.

Thanks in advance
Corey.


--
View this message in context: http://www.nabble.com/can%27t-find-....p15471253.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.