Did you use the sample script called redhat-rc-script.sh which comes with
the source?

The top several lines look like this:

#!/bin/sh
#
# spamassassin This script starts and stops the spamd daemon
#
# chkconfig: 2345 80 30
#
# description: spamd is a daemon process which uses SpamAssassin to check
#              email messages for SPAM.  It is normally called by spamc
#              from a MDA.

The chkconfig and description lines are required.
--
Thomas Cameron, RHCE, CNE, MCSE, MCT
Cameron Technical Services, Inc.
(512) 454-3200 Main
http://www.camerontech.com

----- Original Message ----- 
From: "John Lang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 5:01 PM
Subject: RE: [SAtalk] Getting spamd to start on boot.


> When I run chkconfig --list, spamd does not show up.
> When I run chkconfig --list spamd, I get the following:
> service spamd supports chkconfig, but is not registered (run 'chkconfig
> --add spamd')
>
> If I enter chkconfig --add spamd  It just does it.
> Then after that, if I enter chkconfig --levels 2345 spamd on I get the
> same.
>
> Then run chkconfig --list spamd , still not showing up.
>
> Hmmm.  Any suggestions?
>
> Thanks for all of your replies so far.
>
> John
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Jonathan Vanasco
> Sent: Thursday, May 29, 2003 10:41 AM
> To: John Lang
> Cc: [EMAIL PROTECTED]
> Subject: Re: [SAtalk] Getting spamd to start on boot.
>
> almost there.. .you missed 1 line
>
> #chkconfig --add spamd;
> #chkconfig --levels 2345 spamd on
>
> On Thursday, May 29, 2003, at 11:22 AM, John Lang wrote:
>
> >
> > Good morning.  I'm probably going to get flamed for asking this...
> >
> > I'm running SA on RH7.3 w/sendmail.
> >
> > SA was installed from the bianaries.  I have copied the provided
> > startup
> > script to
> > /etc/rc.d/init.d/spamd, and made it executable.
> >
> > and
> >
> > chkconfig --add spamd
> >
> > to get it to start at boot.  However, it isn't.  I am able to start
> > spamd from the command prompt.
> >
> > I've been through the documentation (in fact, they are printed and
> > cataloged in a binder), and various tutorial websites.
> >
> > Can someone please point me in the right direction.
> >
> > Thanks a million.
> >
> > John
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: eBay
> > Get office equipment for less on eBay!
> > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> > _______________________________________________
> > Spamassassin-talk mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
> >
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to