Thanks mate works like a charm ;)

Quoting John Narron <[EMAIL PROTECTED]>:

> /usr/bin/sophie -D   will daemonize then fork to stay in memory.
> Init, however, thinks the 'sophie' process has segfaulted, been
> interrupted, or in somehow ended, and will attempt to respawn it.
> Respawning too fast, init will either alert you of it respawning
> too fast or it will just have a coronary and die on you, taking
> the system with it.
> 
> To prevent this, run sophie without the -D.
> 
> Since I personally prefer to give 'init' the least amount of
> work to do, here's my service script:
> 
> BEGIN /service/sophie/run ----------------------------------------
> #!/bin/bash
> #
> 
> exec /usr/local/bin/setuidgid qmailq /usr/local/bin/sophie -d 2>&1
> END /service/sophie/run ------------------------------------------
> BEGIN /service/sophie/log/run ------------------------------------
> #!/bin/bash
> exec /usr/local/bin/setuidgid qmaill \
>   /usr/local/bin/multilog t s10485760 /var/qmail/log/sophie
> END /service/sophie/log/run --------------------------------------
> 
> Change paths as needed
> 
> John Narron - [EMAIL PROTECTED]      |
> Network Administration                 |"Who wants to live forever
> CDS/CDSinet, LLC http://www.cdsinet.net| When love must die"
> 122 N. Lafayette, Marshall, MO  65340  |   - Queen
> fon: (660) 886 4045 fax: (660) 886 4065|
> 
> 
> ----- Original Message -----
> From: "Daniel Czarnecki" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 18, 2002 2:07 PM
> Subject: [Qmail-scanner-general]Check spamassassin and starting sophie
> 
> 
> > Hi Guys,
> >
> > I am trying to start Sophie from my inittab:
> >
> > SO:2345:respawn:/usr/local/bin/softlimit -a 10000000 setuidgid
> > qmailq /usr/bin/sophie -D
> >
> > It dosen't want to work :(
> >
> > Spamassassin seems ok with:
> >
> > SA:2345:respawn:/usr/bin/spamd -F 0 -L -x -u qmailq
> >
> > Can someone help me out with loading sophie. I can use supervise scripts
> if
> > anyone has it working this way.
> >
> > Also I would like to check if spamassassin is working. Anyone know how?
> My
> > email headers have:
> >
> > Received: from [EMAIL PROTECTED] by gw.zoltak.com by uid 401 with qmail-
> > scanner-1.12 (sophie: 2.10/3.58. spamassassin: 2.30. . Clear:. Processed
> in
> > 0.064079 secs); 18 Jun 2002 19:04:04 -0000
> >
> > Does this mean spamassassin is working? (It's set to verbose mode)
> >
> > Thanks,
> >
> > Dan



----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to