spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spamass-milter flags, where to include?


From: Mooky Mooksgill
Subject: Re: spamass-milter flags, where to include?
Date: Fri, 14 May 2004 17:47:49 +0000




From: "Jack L. Stone" <address@hidden>
To: "Mooky Mooksgill" <address@hidden>, address@hidden
Subject: Re: spamass-milter flags, where to include?
Date: Fri, 14 May 2004 12:28:51 -0500

At 04:59 PM 5.14.2004 +0000, Mooky Mooksgill wrote:
>I want to use the flag -r 15 for spamass-milter (to drop spam over a certain
>threshold).
>
>Where should I include the flag?
>
>I'm not sure how spamass-milter is invoked, it's either via sendmail's conf
>or the
>/usr/local/etc/rc.d/spamass-milter.sh start script, or ???
>
Yes... here is my startup:
/usr/local/sbin/spamass-milter -r 14 -p /var/run/spamass-milter.sock

Thanks for the example. I'm not sure how mine gets invoked though... Here's the script... Can I just append the flag to DAEMON line, eg, DAEMON=/usr/local/sbin/spamass-milter -r 14? Do you think the script will still work?

spameater# more spamass-milter.sh
#!/bin/sh

DAEMON=/usr/local/sbin/spamass-milter
SOCKET=/var/run/spamass-milter.sock
PIDFILE=/var/run/spamass-milter.pid

case "$1" in
start)
       if [ -f "${DAEMON}" -a -x "${DAEMON}" ]
       then
               "${DAEMON}" -p "${SOCKET}" -f &
               echo $! > "${PIDFILE}"
               sleep 1
               kill -HUP `head -1 /var/run/sendmail.pid`
               echo -n ' spamass-milter'
       fi
;;
stop)
       if [ -f "${PIDFILE}" ]
       then
               read -r pid junk < "${PIDFILE}"
               kill ${pid}
               rm -f "${SOCKET}" "${PIDFILE}"
               sleep 1
               kill -HUP `head -1 /var/run/sendmail.pid`
               echo -n ' spamass-milter'
       fi
;;
esac




>Where does the rejected spam go?
>

They are blocked, thus rejected to sender....

Wow. I wonder if sending them to null is better (is this possible)? Seems like this is a waste of bandwidth, and could lead to a DDOS?

Thanks,
-M

>Thanks,
>-M
>
>_________________________________________________________________
>FREE pop-up blocking with the new MSN Toolbar – get it now!
>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
>
>_______________________________________________
>Spamass-milt-list mailing list
>address@hidden
>http://mail.nongnu.org/mailman/listinfo/spamass-milt-list
>
>

Best regards,
Jack L. Stone,
Administrator

Sage American
http://www.sage-american.com
address@hidden

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]