Dear Sirs,

So is the option-x is in spamassassin.rc: 

#!/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 5 -x -q -s stderr -r 
/var/run/spamd/spamd.pid \
        -i 172.16.10.20  -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

 I configured Simscan with these options:

./configure --enable-clamav=y --enable-clamdscan=/usr/local/bin/clamdscan 
--enable-dropmsg=y --enable-custom-smtp-reject=n --enable-per-domain=y 
--enable-attach=y --enable-spam=y --enable-ripmime=/usr/local/bin/ripmime 
--enable-received=y --enable-spam-hits=5.0 --enable-spamc=/usr/bin/spamc 
--enable-spamc-args=-s 200000 -t 60 -d 172.16.10.20 --enable-spamc-user=y 
--enable-regex=y --with-pcre-include=/usr/local/include --enable-quarantinedir

Thanks

Jose Luis


> Date: Wed, 23 Sep 2009 13:33:26 -0700
> From: jhar...@impsec.org
> To: users@spamassassin.apache.org
> Subject: Re: Problems with high spam
> 
> On Wed, 23 Sep 2009, Jari Fredriksson wrote:
> 
> >>
> >> - the high load is because of high number of spamd
> >> children running.
> >>
> >> - the missing scores of some emails are because you need
> >>  more of spamd children running, connections are refused
> >>  so any spamc client just passes messages as they are.
> >>
> >
> > And this is where spamc option -x helps. Failed ones will be put back yo 
> > queue.
> 
> I believe the OP put the -x in the spamd command line, not the spamc 
> command line...
> 
> -- 
>   John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>   jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
>   key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
>    We are hell-bent and determined to allocate the talent, the
>    resources, the money, the innovation to absolutely become a
>    powerhouse in the ad business.       -- Microsoft CEO Steve Ballmer
>    ...because allocating talent to securing Windows isn't profitable?
> -----------------------------------------------------------------------
>   Approximately 8793360 firearms legally purchased in the U.S. this year
                                          
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline

Reply via email to