File: junkfilter.match

package info (click to toggle)
junkfilter 19990331-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 336 kB
  • ctags: 6
  • sloc: sh: 155; makefile: 36
file content (32 lines) | stat: -rw-r--r-- 763 bytes parent folder | download
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
# junkfilter
# a junk e-mail filter system for procmail
# Copyright 1997-98, Gregory Sutter <gsutter@pobox.com>
#
# $Id: junkfilter.match,v 1.3 1998/10/15 17:53:26 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.

# this is junkfilter.match; it gets executed whenever a recipe matches.

# strip off any newlines at the end of a match
:0
* JFMATCH ?? ^^\/.+
{ JFMATCH=$MATCH }

:0
* JFEXP ?? .
{
	JFEXP=${JFEXP}${JFNL}"           "${JFMATCH}
}

:0E
{
	JFEXP=$JFMATCH
}

# EOF junkfilter.match