Greetings all,
I have a bit of a mystery. Recently, I installed spamassassin on a new
server. Everything seems to be working fine, except for one little
hitch. It seems that arbitrarily, spamd is unable to drop root
privileges. Here's the relevant log message:
spamd: still running as root: user not specified with -u, not found, or
set to root, falling back to nobody at /usr/sbin/spamd line 1150,
<GEN1596> line 4.
This generates a few other subsequent errors, but I believe this to be
the crux of the problem. Here's some background information to fill in
the gaps...
I'm invoking spamc from .procmailrc files for each individual user,
which (to my understanding) sends the username and mail message to the
spamd daemon for processing. 95% of the time, spamd is able to drop
root privileges and perform perfectly. It seems that arbitrarily,
however, this error is generated when it is unable to. This happens for
the same user, but I'm not quite sure why sometimes it can drop root
privileges and other times it can't. I've tried placing the -u username
in the call to spamc, with the same results...about 95% success rate,
the rest of the times are those arbitrary cases where it can't drop root
privileges. Also, it is (or might be) important to note that I see no
"setuid to root succeeded" messages in my logs, so either it's being
invoked as root initially, or not at all.
I'll do my best to answer any additional questions, and look forward to
hopefully some helpful pointers!
I'm running:
Debian Sarge
SpamAssassin version 3.1.0
running on Perl version 5.8.4
Thanks in advance.
Best Regards,
Ryan
--
Ryan Steele
Systems Administrator [EMAIL PROTECTED]
AgoraNet, Inc. (302) 224-2475
314 E. Main Street, Suite 1 (302) 224-2552 (fax)
Newark, DE 19711 http://www.agora-net.com