comparison xml/sample.conf @ 27:43a4f6b3e668 stable-2-3

add configurable host name limit and bad html tag limits.
author carl
date Sat, 22 May 2004 22:30:45 -0700
parents 2e23b7184d2b
children 33e1e3910506
comparison
equal deleted inserted replaced
26:fdae7ab30cfc 27:43a4f6b3e668
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 # 13 #
14 # host_limit:
15 # second token is the integer count of the number of host names
16 # or urls that are allowed in any one mail body. Zero is
17 # unlimited.
18 # third token? is a string enclosed in single quotes, so it
19 # is not really a token. This is the error message supplied
20 # to the smtp client.
21 #
14 # html_limit: 22 # html_limit:
15 # second token is the integer count of the number of bad html 23 # second token is the integer count of the number of bad html tags
16 # tags that are allowed in any one mail body. 24 # that are allowed in any one mail body. Zero is unlimited.
17 # third token? is a string enclosed in single quotes, so it 25 # third token? is a string enclosed in single quotes, so it
18 # is not really a token. This is the error message supplied 26 # is not really a token. This is the error message supplied
19 # to the smtp client. 27 # to the smtp client.
20 # 28 #
21 # html_tag: 29 # html_tag:
89 # 97 #
90 ############################################## 98 ##############################################
91 # content scanning parameters 99 # content scanning parameters
92 # 100 #
93 content sbl-xbl.spamhaus.org 'Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s' 101 content sbl-xbl.spamhaus.org 'Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s'
94 html_limit 20 102 host_limit 20 'Mail containing too many host names rejected'
103 html_limit 20 'Mail containing excessive bad html tags rejected'
95 include html-tags.conf 104 include html-tags.conf
96 105
97 106
98 ############################################## 107 ##############################################
99 # define the dnsbls to use 108 # define the dnsbls to use