12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Automatically drop Spam
FromSent OnAttachments
mi...@palmspringairlines.usOct 13, 2005 2:24 pm 
Jay LeeOct 13, 2005 2:40 pm 
Rolan YangOct 13, 2005 5:40 pm 
Jay LeeOct 13, 2005 6:27 pm 
moussOct 13, 2005 6:37 pm 
PollywogOct 14, 2005 8:07 am 
moussOct 14, 2005 3:38 pm 
Chris PetersenOct 15, 2005 3:40 pm 
PollywogOct 15, 2005 5:18 pm 
Chris PetersenOct 15, 2005 7:17 pm 
David PeckMar 29, 2007 11:43 am 
David PeckMar 29, 2007 12:41 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Automatically drop SpamActions...
From:Jay Lee (jl@pbu.edu)
Date:Oct 13, 2005 6:27:24 pm
List:net.sourceforge.lists.courier-maildrop

Rolan Yang wrote:

I use this for dropping virus infected emails. You could apply the same to SPAM, but it would not be recommended because no spam filter is 100% effective and that would result in a small percentage of good mails being deleted.

********************************** if (/was a virus\/worm\/trojan. It was removed./:b) { logfile "/var/log/maildrop.log" log "VIRUS DETECTED" to "/dev/null" } **********************************

to "/dev/null" is not recommended by Sam. Apparently under some circumstances the return code will be non-zero and delivery will fail. He recommends using exit. It has the same desired effect.

Jay