1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
# junkfilter
# a junk e-mail filter system for procmail
# Copyright 1997-98, Gregory Sutter <gsutter@pobox.com>
#
# $Id: junkfilter.two,v 1.9 1998/08/30 09:31:11 gsutter Exp $
#
# Please read the file "junkfilter.readme" and the page
# http://www.pobox.com/~gsutter/junkfilter/ before using
# junkfilter. junkfilter is copyright 1997-98 Gregory
# Sutter and is licensed under the terms of the GNU
# General Public License, version 2. See the file
# junkfilter.readme for details.
# Section Two, reasonable spam-catching recipies
JFSEC=2
# Invalid X-UIDL header, contains non-hexadecimal characters.
:0
* ^X-UIDL:
* !^X-UIDL:[ ]*[^0-9a-f]+[ ]*$
{ JFMATCH="$JFSEC: Invalid X-UIDL" INCLUDERC=$JFDIR/junkfilter.match }
# number@, @number.com or number@number.com address : spam.
# almost. additions made to the exception list only as necessary.
:0
* !^From:.*@((1776|2600|mcimail)\.com|brookes\.ac\.uk|bigred\.unl\.edu)\>
* !^From:.*\<[0-7][0-7][0-7][0-7][0-7][0-7]?\.[0-7][0-7][0-7][0-7]?@compuserve\.com
* ()\/^From:.*([^-_(.%+a-z0-9][0-9]+@|@[0-9]+\.$JFTLD\>)
{ JFMATCH="$JFSEC: Numbers at numbers: $MATCH" INCLUDERC=$JFDIR/junkfilter.match }
# New bad-AOL filter.
:0
* $ ^From:\/(.*[^-(.%@a-zA-Z0-9])?[^@<>, ]+@aol\.com\>
* $ ! ^From:(.*[^-(.%@a-zA-Z0-9])?([^a-z]|.+[^0-9a-z]|............).*@aol\.com\>
{ JFMATCH="$JFSEC: Forged AOL account: $MATCH" INCLUDERC=$JFDIR/junkfilter.match }
JFSEC
# EOF junkfilter.two
|