I figured that part out,

Now one quicj question again in my maillog file I see the identifier
that it was marked as SPAM.

I also see that it is not able to update the bayes database - permission
denied.  I have spamd running as the same user that the spamassassin
process was, but it cannot get access to bayes.

It looks like:

Dec  5 09:29:08 spamhatbu spamd[2012]: cannot write to
/var/spool/filter/.spamassassin/bayes_journal, Bayes db update ignored
Dec  5 09:29:08 spamhatbu spamd[2012]: Cannot open bayes databases
/var/spool/filter/.spamassassin/bayes_* R/W: tie failed: Permission
denied
Dec  5 09:29:08 spamhatbu spamd[2012]: Cannot open bayes databases
/var/spool/filter/.spamassassin/bayes_* R/W: tie failed: Permission
denied
Dec  5 09:29:11 spamhatbu spamd[2012]: identified spam (21.1/6.6) for
filter:501 in 3.7 seconds, 3338 bytes.

Any help here? 


----------------------------------------------------
Bill Nichols
-----------------------------------------------------

-----Original Message-----
From: Nichols, William 
Sent: Friday, December 05, 2003 9:28 AM
To: SA Mailing list
Subject: RE: [SAtalk] Changing user spamd runs as

 
Mike,

So in there should I just change:

SPAMDOPTIONS="-d -c -a"

To 

SPAMDOPTIONS="-d -c -a -u filter"

Thanks,

----------------------------------------------------
Bill Nichols
-----------------------------------------------------

-----Original Message-----
From: Mike Kuentz (2) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 9:14 AM
To: Nichols, William; SA Mailing list
Subject: RE: [SAtalk] Changing user spamd runs as

modify /etc/sysconfig/spamassassin to have the -u username option it.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Nichols, William
Sent: Friday, December 05, 2003 12:04 PM
To: SA Mailing list
Subject: [SAtalk] Changing user spamd runs as


I am having a brainfart - I am trying to change the user that spamd runs
as.

Currently it runs as root (this is a testing server) I want it to run as
another user, I know I can start it with spamd -u "username"

but on startup of RH9 I have it starting spamd, how do I change the user
there?

Thanks for your help

----------------------------------------------------
Bill Nichols
-----------------------------------------------------




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to