Hi

    Thanks for your reply. I need to checck the body content only not
header. What are all the rules used to check only body content?

On Jan 7, 2008 5:08 PM, Diego Pomatta <[EMAIL PROTECTED]> wrote:

> Sg escribió:
> > Hi
> >
> >       After modifying the configurations and scores should we restart
> > the SA. How to start the SA-3.2.3?
> >
> > --
> > Sg
>
> Yes, you should restart SA after modifying configuration or rules/scores.
> SA comes with several control scripts that you can use to start, stop or
> restart the spamd daemon. I renamed mine to "spamdctl" and placed it in
> /usr/bin.
>
> Here it is, (I run SA 3.2.1 in a Mandrake 10 box)
>
> ---------
> #!/bin/sh
> #
> # spamassassin This script starts and stops the spamd daemon
> #
> # chkconfig: 2345 80 30
> #
> # description: spamd is a daemon process which uses SpamAssassin to check
> #              email messages for SPAM.  It is normally called by spamc
> #           from a MDA.
> # chkconfig: 345 40 80
>
> # Source function library.
> . /etc/rc.d/init.d/functions
>
> PATH=$PATH:/usr/local/sbin
> case "$1" in
>  start)
>    cd /
>
>    spamd -l -L -s stderr -r /var/run/spamd.pid \
>    --siteconfigpath=/etc/mail/spamassassin --nouser-config \
>    --socketpath=/tmp/spamd.sock 2>&1 | \
>        /usr/local/bin/setuidgid qmaill \
>    /usr/local/bin/multilog t n20 s1000000 /var/log/spamd &
>    echo "spamd iniciado"
>     ;;
>
>  stop)
>        if [ -r /var/run/spamd.pid ]; then
>          pid=`cat /var/run/spamd.pid`
>          kill $pid || ( echo "spamd no pudo ser detenido" && exit 1 )
>          echo "spamd (pid $pid) detenido"
>        else
>          echo "/var/run/spamd.pid no existe, se esta ejecutando spamd?"
>        fi
>    ;;
>
>  restart)
>    $0 stop && sleep 2 &&  $0 start
>    ;;
>
>  *)
>    echo "uso: $0 (start|stop|restart)"
>    ;;
> esac
> ---------------
>



-- 
Sg

Reply via email to