Running
Red Hat 8.0 with all current updates, sendmail-8.12.8-9.80, procmail-3.22-7, and spamassassin-2.60-0.fdr.2.rh80
I have /etc/procmailrc passing to SpamAssassin as below:
# send mail through SpamAssassin :0fw * < 256000 | /usr/bin/spamc -f
It works BUT I think something needs to be setup differently because for every email processed I get a maillog message like:
------------------------------------------------------------------------------------------------
Nov 20 09:53:50 tarts sendmail[14958]: hAKHrnu2014958: from=<[EMAIL PROTECTED]>, size=3175, class=-60, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=SMTP, daemon=MTA, relay=daedalus.apache.org [208.185.179.12]
Nov 20 09:53:50 tarts spamd[29199]: connection from localhost.localdomain [127.0.0.1] at port 31535
Nov 20 09:53:50 tarts spamd[14963]: info: setuid to root succeeded
Nov 20 09:53:50 tarts spamd[14963]: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody.
Your logs clearly show you dont have spamd running as a specified user, so specify one,
I've searched and googled, RTFM, ... and can't seem to find any clear indicator.
man spamd:
-u username, --username=username Run as username
What user should I be running as?
If it all works well as the user "nobody" run it as that, you will see the error disapear.
I think most people create a user and group, make sure that that stuff like dcc, razor etc work with the newly created user/group and use it.
You could even call them spamd.spamd
eg. in my spamd init file:
else OPTIONS=" -d -x -q -u vpopmail" fi
Which means I use the user "vpopmail"
If this is setup ok, how can I convince spamd/spamc it doesn't need to keep telling me its "Still running as root..."?
Terry...
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk