if you use the -u option on spamd when you start it you can specify the 
username it will run as.  By default, it runs a root and does a setuid() 
call to the user who invokes spamc.  I use Red Hat and the init script 
that comes with spamd to start it.  I just added "-u mail" (mail is me 
sendmail user) in the script and now it runs a mail user.

I still have other problems though, as it doesn't add the header to my 
mail either (in fact my mail doesn't even get delivered after being 
processed by spamc)

AHA Lists wrote:

>I got spamd running as root, I have spamc being called in procmail.  No
>email is being tagged, I get these errors in my maillog
>
>Mar 19 14:08:16 www spamd[12541]: connection from localhost [ 127.0.0.1 ] at
>port 4346 
>Mar 19 14:08:16 www spamd[13624]: Still running as root: user not specified,
>not found, or set to root.  Fall back to nobody.
>
>Here is what is showing up in my procmaillog
>
>procmail: Executing "spamc"
>procmail: Skipped "/home/Mail-SpamAssassin-2.11/rules"
>>From [EMAIL PROTECTED]  Tue Mar 19 14:00:49 2002
> Subject: Test
>  Folder: /var/spool/mail/username
>
>
>I am not clear on the still running as root?  If your doing it server wide,
>shouldn't it run as root?  Where do I set the user to root other than the
>permissions on who owns spamd and spamc?
>
>
>
>_______________________________________________
>Spamassassin-talk mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>



_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to