I start :

#!/bin/sh
# spamassassin This script starts and 
stops the spamd daemon
#
 
PATH=$PATH:/usr/local/sbin:/usr/local/bin
case 
"$1" in
  start)
        cd 
/
 
        
/usr/bin/spamd -v -u vpopmail -m 60 -x -q -s stderr -r /var/run/spamd/spamd.pid 
\
        -i 172.16.10.14 -A 
172.16.10.0/24 2>&1 | \
        
/usr/local/bin/setuidgid qmaill \
        
/usr/local/bin/multilog t !spamdappend /var/log/qmail/spamd 
&
        echo "spamd 
started"
        ;;
 
  
stop)
        if [ -r 
/var/run/spamd/spamd.pid ]; 
then
          pid=`cat 
/var/run/spamd/spamd.pid`
          
kill $pid || ( echo "failed to stop spamd" && exit 1 
)
          echo "spamd (pid 
$pid) stopped"
        
else
          echo 
"/var/run/spamd/spamd.pid doesn't exist, is spamd 
running?"
        
fi
        ;;
 
  
restart)
        $0 stop && sleep 
2 &&  $0 start
        
;;
 
  
*)
        echo "usage: spamassassin.rc 
(start|stop|restart)"
        
;;
esac





> Date: Mon, 5 Nov 2007 17:16:29 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]; users@spamassassin.apache.org
> Subject: Re: Spamd HIGH LOAD
> 
> How do you start spamassassin?
> 
> 
> 
> On 11/5/07, Qnet .. <[EMAIL PROTECTED]> wrote:
> >
> >
> > I used /usr/bin/sa-update –D allways. then restart. but I have the load
> > problem still. Do you know other way to solve it? thanks.
> > From: [EMAIL PROTECTED]
> > To: users@spamassassin.apache.org
> > Subject: RE: Spamd HIGH LOAD
> > Date: Mon, 5 Nov 2007 16:11:57 -0500
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Qnet ..
> > [mailto:[EMAIL PROTECTED]
> >
> > Sent: Monday, November 05, 2007 2:47 PM
> >
> > To: users@spamassassin.apache.org
> >
> > Subject: Spamd HIGH LOAD
> >
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> >
> > My Qmail server work  with spamassassin + clamav. The processes
> > Spamd  take the most part of the load so it 's  Spamassassin
> > crash. Do you know any way to solve it?
> >
> > Please look the attach file( top -d1 ). Thank you so munch !
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Try running /usr/bin/sa-update –D, then restart SA see if this
> > helps.
> >
> >
> >
> > Also do you run rulesdajour?
> >
> >
> >
> > Joey
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today it's FREE!
> > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to