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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
|
# junkfilter
# a junk email filter system for procmail
# Copyright 1997-2002 Gregory Sutter <gsutter@zer0.org>
#
# $Id: junkfilter.config,v 1.18 2002/05/07 02:43:20 gsutter Exp $
#
# Please read the file "README" and the page
# http://junkfilter.zer0.org/ before using junkfilter.
# Here are the options. Set each to "0" or "1", with
# zero being "off", and one being "on", as desired;
# insert your own information where necessary.
#
# All of these options are overridable in personal
# configuration files in users' home directories.
# $HOME/.junkfilterrc can be a duplicate of this file
# or just overrides from a systemwide configuration.
# JF_USER: user-defined recipes. I suggest using this
# file to house INCLUDERC statements to your own junk
# recipes and files.
JF_USER=0
# JFUSERDIR: the directory in which your personal lists
# of blocked domains, addresses, etc. reside.
JFUSERDIR=$PMDIR
# JF_ONE: 100% certainty spam catchers. None of these
# rules should *ever* catch a legitimate message.
JF_ONE=1
# JF_TWO: 85%-99% certainty spam catchers. I use them,
# but you might not want to. These may catch a small
# amount of legit mail. Test it to see!
JF_TWO=1
# JF_THREE: Recipes which are good at catching spam,
# but also have a tendency to capture legit mail from
# certain sources.
JF_THREE=1
# JF_FOUR: Recipes which are in beta-test. If you wish
# to help test new recipes, enable this. Be careful!
# There might be a mistake in these recipes.
JF_FOUR=0
# JF_WHITE: Implements a whitelist. Anything matching
# a string or regexp listed in your whitelist will not
# be processed further by junkfilter. This allows you
# to have a set of people who can always reach you,
# without fear of being caught in a spam filter.
JF_WHITE=1
JF_WHITE_USER=0
JF_WHITE_USER_LOC=$JFUSERDIR/jf-white-user
# JF_DOMAINS: This recipe checks a huge list of domains.
# If any of them match any reasonable header of the mail,
# the mail is flagged. Good for spam warehouses, etc,
# but is slow due to the long list.
# JF_DOMAINS_USER: if you have your own
# personal domain list, enable this option and give the
# file location in JF_DOMAINS_USER_LOC by setting
# JF_DOMAINS_USER_LOC=$PMDIR/yourdomainsfile
JF_DOMAINS=1
JF_DOMAINS_USER=0
JF_DOMAINS_USER_LOC=$JFUSERDIR/jf-domains-user
# JF_ADDRESSES: Similar to JF_DOMAINS, this checks a
# list of e-mail addresses. The list is _much_ smaller,
# though, so this recipe is not a resource hog. The USER
# and USER_LOC are as above.
JF_ADDRESSES=1
JF_ADDRESSES_USER=0
JF_ADDRESSES_USER_LOC=$JFUSERDIR/jf-addresses-user
# JF_DIALUPS: Similar to JF_DOMAINS. Checks a list of
# dial-up domain names. People should have a better
# name to use than a spam-ridden dialup. Small list.
# This is getting a bit draconic, but sometimes such
# measures are necessary...
JF_DIALUPS=1
JF_DIALUPS_USER=0
JF_DIALUPS_USER_LOC=$JFUSERDIR/jf-dialups-user
# JF_IP: Very similar to JF_DOMAINS; checks a list of IP
# addresses and ranges. This is a very small list and
# won't take much time.
JF_IP=1
JF_IP_USER=0
JF_IP_USER_LOC=$JFUSERDIR/jf-ip-user
# JF_HEADERS: Yet another list, this one of certain
# random headers (e.g. X-Advertisement:) that spammers
# insert into their messages. It's an analogue to the
# JF_BODYCHK section.
JF_HEADERS=1
JF_HEADERS_USER=0
JF_HEADERS_USER_LOC=$JFUSERDIR/jf-headers-user
# JF_BODYCHK: Similar to the above two, this checks the
# body of the message for any of a list of phrases and
# characters. While phrases in the body can come from
# legitimate sources, it is still extremely valuable
# at catching spam.
JF_BODYCHK=1
JF_BODYCHK_USER=0
JF_BODYCHK_USER_LOC=$JFUSERDIR/jf-bodychk-user
# JFLREC is the number of times, after the first, that
# a mail message bounces around through machines at your
# local domain. Total all Received: headers on an
# incoming email that match "Received: from [insert your
# domain(s)]".
JFLREC=3
# JFMAILDOM: A variable containing the domain name of
# your mail host. Be as specific (x.y.z.com) or as
# general (z.com) as necessary. Be sure to OR (|) the
# different domains if you have more than one.
JFMAILDOM=(foo.com|bar.org|(baz|zab).net)
# JFMAILADDRESS: A variable containing your e-mail
# addresses. Be sure to put in all the addresses
# where you receive mail via this copy of procmail
# and junkfilter!
JFMAILADDRESS=(username@$JFMAILDOM)
# JFLINEBUF, JFBLINEBUF: procmail line buffer length;
# specifies the maximum line length that procmail will
# accept. Must be set very large for long lists such as
# the domain list, hence JFBLINEBUF.
JFLINEBUF=16383
JFBLINEBUF=131071
# OPTIONS: These options enable/disable individual
# recipes throughout junkfilter.
# JF_OPT_BODYDOMAIN: if body processing is enabled,
# should mail be flagged if a domain from the domains
# list is mentioned in the body?
JF_OPT_BODYDOMAIN=1
# JF_OPT_60RECIP: the "60 recipient" rule. Enable it
# to flag all recipes with more than 60 visible
# recipients. (Bcc: is the proper place to put this
# many recipients.)
JF_OPT_60RECIP=1
# JF_OPT_NOTRECIP: If the address(es) in
# JFMAILADDRESS are not in the To: or Cc: header,
# the mail will be junked. This rule is really
# only good if you're not on any mailing lists
# or you filter them away before using junkfilter.
JF_OPT_NOTRECIP=0
# JF_OPT_XUIDL: If an X-UIDL: header is present, the
# mail will be junked. If you download your mail via
# POP _before_ procmail processes it, you need to
# check to see if an X-UIDL header is normally
# added by the POP server. If it is, you must keep
# this option disabled.
JF_OPT_XUIDL=1
# JF_OPT_SENDBACK: If you wish to send messages which
# elude junkfilter back to the developers for analysis
# so junkfilter can be improved, you _must_ enable this
# variable. See the README file for details.
# You may have to specify where "formail" resides on
# your system. If it doesn't work as is, use the
# command "which formail" or "locate formail" or ask
# your system administrator, then insert the path to
# formail.
JF_OPT_SENDBACK=0
JFFORMAIL="formail"
# JF_OPT_STATS: Enables the statistics module, which
# keeps basic statistics about the incoming spam.
# JFSTATSALL enables statistics on all mail.
JF_OPT_STATS=1
JFSTATSALL=0
# JFBADATT: A list of attachments which should never be
# trusted when received via email.
JFBADATT=(386|acm|asd|asp|avb|bat|bin|chm|cil|cla|cmd|cnv|com|cs|dll|drv|exe|gms|hlp|hit|hta|inf|job|js|lnk|mht|mpd|nta|nws|ocx|ov|pif|reg|scf|scp|scr|sct|shb|shs|sys|tlb|tsp|vb|vbs|vbe|vxd|wbt|wiz|wsc|wsf|wsh)
# EOF junkfilter.config
|