> -----Original Message----- > From: brian ally [mailto:2audrey@sympatico.ca] > Sent: Friday, 17 August 2007 11:38 AM > To: users@spamassassin.apache.org > Subject: Re: spamd is dying > > maillist wrote: > > brian ally wrote: > > > >> postfix-2.3.3-1 > >> cyrus-imapd-2.2.10-3 > >> spamassassin-3.1.5-1 > >> spamass-milter-0.3.0-1.1.fc2.rf > >> perl-Mail-SpamAssassin-3.1.5-1 > >> > >> I'm seeing spamd processes dying consistently: > >> > > How are you starting spamd? I think you are starting spamd as a
user
> > without permissions to /var/spool/spamassassin/bayes. > > A script in /etc/init.d (SA was installed as a fedora RPM). The
relevant
> lines: > -- snip -- > prog="spamd" > > # Source networking configuration. > . /etc/sysconfig/network > > # Check that networking is up. > [ ${NETWORKING} = "no" ] && exit 0 > > # Set default spamd configuration. > #SPAMDOPTIONS="-d -c -m5 -H" > SPAMDOPTIONS="-d -m5 -H" > SPAMD_PID=/var/run/spamd.pid >
You will need to change SPAMDOPTIONS variable to include the user it
will run as - namely the -u option.
I change mine from a default entry of:
#SPAMDOPTIONS="-d -c -m5 -H"
to
SPAMDOPTIONS="-d -c -m5 -H -x -q -u spam"
This cleared up a similar error I was getting with mine.
I had a good reason to include all those switches when I installed SA,
but don't ask me now why I needed them! All I know is that SA runs
without errors!
Cheers,
AK.
Received on Fri Aug 17 00:44:34 2007
This archive was generated by hypermail 2.1.8
: Wed Oct 24 2007 - 10:16:24 EDT
|