this one ?
#!/bin/sh
# Written by Jake Vickers ([EMAIL PROTECTED]) on 8-5-2005
# Lots of hints from www.newvibes.net/linux/qmail.html were used to write
this modified script
# This of course comes with no warranty. It works for me, it may not work
for you!
case "$1" in
start)
echo "Starting spamd...."
if svok /var/qmail/supervise/spamd ; then
svc -u /var/qmail/supervise/spamd
/var/qmail/supervise/spamd/log
else
echo "supervise for spamd not running!"
fi
echo
sleep 2
svstat /var/qmail/supervise/spamd
svstat /var/qmail/supervise/spamd/log
;;
stop)
echo "Stopping spamd...."
svc -d /var/qmail/supervise/spamd /var/qmail/supervise/spamd/log
sleep 2
echo
svstat /var/qmail/supervise/spamd
svstat /var/qmail/supervise/spamd/log
;;
pause)
echo "Pausing spamd...."
svc -p /var/qmail/supervise/spamd
echo
sleep 2
svstat /var/qmail/supervise/spamd
;;
cont)
echo "Continuing spamd...."
svc -c /var/qmail/supervise/spamd
sleep 2
echo
svstat /var/qmail/supervise/spamd
svstat /var/qmail/supervise/spamd/log
;;
restart)
echo "Restarting spamd...."
svc -d /var/qmail/supervise/spamd /var/qmail/supervise/spamd/log
svc -t /var/qmail/supervise/spamd /var/qmail/supervise/spamd/log
svc -u /var/qmail/supervise/spamd /var/qmail/supervise/spamd/log
sleep 2
echo
svstat /var/qmail/supervise/spamd
svstat /var/qmail/supervise/spamd/log
;;
stat)
svstat /var/qmail/supervise/spamd
svstat /var/qmail/supervise/spamd/log
echo
;;
status)
svstat /var/qmail/supervise/spamd
svstat /var/qmail/supervise/spamd/log
echo
;;
help)
cat <<HELP
stop -- stops spamd service
start -- starts spamd service
pause -- temporarily stops spamd service
cont -- continues paused spamd service
stat -- displays status of spamd service
restart -- stops and restarts spamd
status -- displays status of spamd service
HELP
;;
*)
echo "Usage: $0
{start|stop|restart|stat|pause|cont|status|help}"
exit 1
;;
esac
exit 0
----- Original Message -----
From: "Gabriel Lai Yong Shern" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, September 14, 2005 8:50 PM
Subject: Re: [qmailtoaster] SPAMASSASSIN DEFAULt
In order to do so, maybe you can try with Jake's script, it will remove
the spammed mail in mail server itself, and won't send over to client.
http://jakev.com/qmail/
He has a wonderful cron script on this.
the user´s dont want to receive the messages flaged with SPAM
how cai fix it ?
can i send a copy to another email account ?
you said that I can delete this messages :(
----- Original Message -----
From: "Jake Vickers" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, September 14, 2005 12:35 PM
Subject: Re: [qmailtoaster] SPAMASSASSIN DEFAULt
Thiago Germano Beier [412.523] wrote:
how can I set up the spamassassin to EXCLUDE them messages FLAGGED
"SPAM"
?
I've these sources installed on CentOS4.x
Not sure what you're asking... If you want to DELETE messages that get
marked as "SPAM", this is a known bug at the moment - it doesn't
actually
delete the messages. They're working on a fix, but it seems to be a few
months down the road.
If that's not what you're looking to do, can you explain a little more?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_______________________________________________________
Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA
CONVERSA.
Participe! www.yahoo.com.br/messenger/promocao
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_______________________________________________________
Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. Participe! www.yahoo.com.br/messenger/promocao
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]