File: junkfilter.stats

package info (click to toggle)
junkfilter 20030115-4
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 300 kB
  • ctags: 16
  • sloc: makefile: 147; sh: 115
file content (35 lines) | stat: -rw-r--r-- 686 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
# junkfilter
# a junk email filter system for procmail 
# Copyright 1997-2002 Gregory Sutter <gsutter@zer0.org>
#
# $Id: junkfilter.stats,v 1.2 2002/04/21 03:20:06 gsutter Exp $
#
# Please read the file "README" and the page
# http://junkfilter.zer0.org/ before using junkfilter.

# this is junkfilter.stats; here statistics are captured about the mail.

:0
* JF_OPT_STATS ?? 1
* JFEXP ?? .
* ! JFSTATUS ?? 1
{
	JFSTATSPAM="spam"
}

:0E
* JF_OPT_STATS ?? 1
* JFSTATSALL ?? 1
{
	JFSTATSPAM="legit"
}

:0
* JFSTATSPAM ?? .
{
	JFSTATSIZE="`wc -c | sed 's/ //g'`"
	JFSTATDATE="`date '+%Y-%m-%d %H:%M:%S %z'`"
	JFSTATLOG="${JFSTATDATE} ${JFSTATSPAM} ${JFSTATSIZE}"
}

# EOF junkfilter.stats