On Sunday 14 July 2002 20:22 CET Bob Proulx wrote:
> Rossz Vamos-Wentworth wrote:
> > Can someone send me a start/stop script for placement in /etc/init.d
> > that works with SuSE 7.3?
> >
> > Since I am unfamiliar with SpamAssassin, I would prefer not writing
> > this myself and potentially screwing up my mail system.  Any
> > assistance would be appreciated.
>
> The "typical" installation of spamassassin uses no daemons at all and
> needs no start up script in /etc/init.d.

But if you want to use the spamd, here's the SuSE startup script I'm using 
(this one won't work with SuSE 8.0+ because they switched to another boot 
concept, may it be RH- or Debian-like.)

Copy the script to /etc/init.d and call 
`ln -s /etc/init.d/spamd /usr/local/sbin/rcspamd; insserv /etc/init.d/spamd`
To start spamd with every boot, add the line
START_SPAMD=yes
to your /etc/rc.config. You may add some more command line options with 
SPAMD_OPTS and/or enable the AWL with SPAMD_AWL=yes.

>[...]
> I say "typical" because there is another configuration which uses a
> spamd daemon and a spamc client.  But, as the saying goes, if you have
> to ask then you probably don't need it.  I recommend you use the
> method outlined here.

I recommend using spamd/spamc :o) Enshure that spamd is started with every 
boot and replace "spamassassin -P" with "spamc" in the receipe.

Malte

-- 
-- Coding is art.
-- 

Attachment: spamd
Description: application/shellscript

Reply via email to