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.  If you have installed
spamassassin then put the following in your ~/.procmailrc file and as
mail is delivered it will be processed through spamassassin to be
tagged either yes or no.  Then procmail itself as shown here will file
it into a caughtspam folder.  This is probably the easiest way for you
to make things work.

  :0fw
  | spamassassin -P

  :0e
  {
    EXITCODE=$?
  }

  :0
  * ^X-Spam-Flag: YES
  caughtspam

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.

Bob

Attachment: msg07401/pgp00000.pgp
Description: PGP signature

Reply via email to