File: junkfilter.white

package info (click to toggle)
junkfilter 20030115-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 284 kB
  • ctags: 16
  • sloc: makefile: 149; sh: 115
file content (57 lines) | stat: -rw-r--r-- 1,758 bytes parent folder | download | duplicates (3)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# junkfilter
# a junk email filter system for procmail
# Copyright 1997-2002 Gregory Sutter <gsutter@zer0.org>
#
# $Id: junkfilter.white,v 1.11 2003/01/06 20:33:10 gsutter Exp $
#
# Please read the file "README" and the page
# http://junkfilter.zer0.org/ before using junkfilter.

# junkfilter.white, the whitelist module.  

JFSEC=white

JFLIST=(`cat $JFDIR/jf-white`)

:0
* $ $ ()${JFVER}\/${JFLIST:-\$JFNOMATCH}${JFVERR}
{ JFSTATUS=1 JFMATCH="$JFSEC: $MATCH" INCLUDERC=$JFDIR/junkfilter.match }

JFLIST

# variables within *-user sections are not expanded, because the extra
# escape can make the regexps rather complex.
:0
* $ ${JFSECUSER}^0
{
	JFUSERLIST=(`cat $JFSECUSERLOC`)

	:0
	* $ ()${JFVER}\/${JFUSERLIST:-$JFNOMATCH}${JFVERR}
	{ JFSTATUS=1 JFMATCH="${JFSEC}-User: $MATCH" INCLUDERC=$JFDIR/junkfilter.match }

        JFUSERLIST
}

# check for Habeas.com Sender-Warranted Email
# This haiku is copyrighted by Habeas, and is only licensed for those
# who legally guarantee not to use it for spam.  See http://habeas.com/
# for more information on Habeas SWE.
#
#* ^X-Habeas-SWE-1: winter into spring
#* ^X-Habeas-SWE-2: brightly anticipated
#* ^X-Habeas-SWE-3: like Habeas SWE (tm)
#* ^X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
#* ^X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
#* ^X-Habeas-SWE-6: email in exchange for a license for this Habeas
#* ^X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
#* ^X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
#* ^X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report/>.

:0
* ^X-Habeas-SWE-3: like Habeas SWE \(tm\)
{ JFSTATUS=1 JFMATCH="$JFSEC: Habeas.com SWE" INCLUDERC=$JFDIR/junkfilter.match }

JFSEC

# EOF junkfilter.white