[Mimedefang] delete spam based on score
Cormack, Ken
kcormack at acs.roadway.com
Fri Nov 21 10:30:20 EST 2003
-----Original Message-----
From: Chambers, Dean [mailto:deanc at ci.breckenridge.co.us]
Sent: Thursday, November 20, 2003 12:55 PM
To: mimedefang at lists.roaringpenguin.com
Subject: [Mimedefang] delete spam based on score
> Can someone recommend the most simple way to quietly delete messages that
score over 10?
Sure...
Put this in sub filter_end, in your mimedefang-filter file. (Note that we
discard at a score of 20)
###########################
# Added this, to discard (without quarantining) any message
with
# a SpamAssassin score of 20 or more. Just throw it away. -
KPC 20 Oct 03
###########################
if ($hits >= 20) {
md_graphdefang_log('sa_discard_score');
return action_discard();
}
Ken
More information about the MIMEDefang
mailing list