comparison xml/sample.conf @ 24:2e23b7184d2b

start coding for bad html tag detection
author carl
date Wed, 19 May 2004 21:40:50 -0700
parents 948343c0cfdd
children 43a4f6b3e668
comparison
equal deleted inserted replaced
23:06de5ab6a232 24:2e23b7184d2b
8 # second token is the dns suffix used for the actual lookups 8 # second token is the dns suffix used for the actual lookups
9 # third token? is a string enclosed in single quotes, so it 9 # third token? is a string enclosed in single quotes, so it
10 # is not really a token. This is the error message, with 10 # is not really a token. This is the error message, with
11 # up to two %s parameters for the offending host name and 11 # up to two %s parameters for the offending host name and
12 # client ip address respectively. 12 # client ip address respectively.
13 #
14 # html_limit:
15 # second token is the integer count of the number of bad html
16 # tags that are allowed in any one mail body.
17 # third token? is a string enclosed in single quotes, so it
18 # is not really a token. This is the error message supplied
19 # to the smtp client.
20 #
21 # html_tag:
22 # second token is a valid html tag, that is added to the list
23 # of valid tags. Any html tag seen in the mail bodies that
24 # that is not in this list is presumed to be invalid.
13 # 25 #
14 # dnsbl: 26 # dnsbl:
15 # second token is the name of this dnsbl 27 # second token is the name of this dnsbl
16 # third token is the dns suffix used for the actual lookups 28 # third token is the dns suffix used for the actual lookups
17 # fourth token? is a string enclosed in single quotes, so it 29 # fourth token? is a string enclosed in single quotes, so it
74 # substitute mail_host -> env_from EMAP xxx 86 # substitute mail_host -> env_from EMAP xxx
75 # 87 #
76 # 88 #
77 # 89 #
78 ############################################## 90 ##############################################
91 # content scanning parameters
92 #
93 content sbl-xbl.spamhaus.org 'Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s'
94 html_limit 20
95 include html-tags.conf
96
97
98 ##############################################
79 # define the dnsbls to use 99 # define the dnsbls to use
80 # 100 #
81 #
82 content sbl-xbl.spamhaus.org 'Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s'
83 dnsbl LOCAL blackholes.five-ten-sg.com 'Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s' 101 dnsbl LOCAL blackholes.five-ten-sg.com 'Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s'
84 dnsbl SPEWS blackholes.spews.org 'Mail from %s rejected - spews; see http://www.spews.org/ask.cgi?x=%s' 102 dnsbl SPEWS blackholes.spews.org 'Mail from %s rejected - spews; see http://www.spews.org/ask.cgi?x=%s'
85 dnsbl SBL sbl-xbl.spamhaus.org 'Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s' 103 dnsbl SBL sbl-xbl.spamhaus.org 'Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s'
86 104
87 105