comparison xml/sample.conf @ 56:57607387263d stable-3-6

updates for 3.6, better documentation on removing content filtering, missing some files in cvs
author carl
date Wed, 08 Sep 2004 14:46:45 -0700
parents dca56b2de019
children 419e00901570
comparison
equal deleted inserted replaced
55:44babba1a9b9 56:57607387263d
5 # 5 #
6 # 6 #
7 # tld: 7 # tld:
8 # second token is the tld suffix - com, net, org, etc 8 # second token is the tld suffix - com, net, org, etc
9 # 9 #
10 #
10 # content: 11 # content:
11 # second token is the dns suffix used for the actual lookups 12 # second token is the dns suffix used for the actual lookups
12 # third token? is a string enclosed in single quotes, so it 13 # third token? is a string enclosed in single quotes, so it
13 # is not really a token. This is the error message, with 14 # is not really a token. This is the error message, with
14 # up to two %s parameters for the offending host name and 15 # up to two %s parameters for the offending host name and
15 # client ip address respectively. If this command is not 16 # client ip address respectively.
16 # present, there is no body scanning for host names or bad 17 #
17 # html tags. 18 # If this command is not present, there is no body scanning
19 # for host names or bad html tags.
20 #
18 # 21 #
19 # host_limit: 22 # host_limit:
20 # second token is the integer count of the number of host names 23 # second token is the integer count of the number of host names
21 # or urls that are allowed in any one mail body. Zero is 24 # or urls that are allowed in any one mail body. Zero is
22 # unlimited. If the actual number of host names in the message 25 # unlimited. If the actual number of host names in the message
23 # is larger than this limit, the message is rejected. 26 # is larger than this limit, the message is rejected.
24 # third token? is a string enclosed in single quotes, so it 27 # third token? is a string enclosed in single quotes, so it
25 # is not really a token. This is the error message supplied 28 # is not really a token. This is the error message supplied
26 # to the smtp client. 29 # to the smtp client.
27 # 30 #
31 #
28 # host_soft_limit: 32 # host_soft_limit:
29 # second token is the integer count of the number of host names 33 # second token is the integer count of the number of host names
30 # or urls that are checked in any one mail body. Zero is 34 # or urls that are checked in any one mail body. Zero is
31 # unlimited. If the actual number of host names in the message 35 # unlimited. If the actual number of host names in the message
32 # is larger than this limit, only a random selection of them 36 # is larger than this limit, only a random selection of them
33 # are checked against the dnsbl. 37 # are checked against the dnsbl.
38 #
34 # 39 #
35 # html_limit: 40 # html_limit:
36 # second token is the integer count of the number of bad html tags 41 # second token is the integer count of the number of bad html tags
37 # that are allowed in any one mail body. Zero is unlimited. 42 # that are allowed in any one mail body. Zero is unlimited.
38 # third token? is a string enclosed in single quotes, so it 43 # third token? is a string enclosed in single quotes, so it
39 # is not really a token. This is the error message supplied 44 # is not really a token. This is the error message supplied
40 # to the smtp client. 45 # to the smtp client.
41 # 46 #
47 #
42 # html_tag: 48 # html_tag:
43 # second token is a valid html tag, that is added to the list 49 # second token is a valid html tag, that is added to the list
44 # of valid tags. Any html tag seen in the mail bodies that 50 # of valid tags. Any html tag seen in the mail bodies that
45 # that is not in this list is presumed to be invalid. 51 # that is not in this list is presumed to be invalid.
52 #
46 # 53 #
47 # dnsbl: 54 # dnsbl:
48 # second token is the name of this dnsbl 55 # second token is the name of this dnsbl
49 # third token is the dns suffix used for the actual lookups 56 # third token is the dns suffix used for the actual lookups
50 # fourth token? is a string enclosed in single quotes, so it 57 # fourth token? is a string enclosed in single quotes, so it
51 # is not really a token. This is the error message, with 58 # is not really a token. This is the error message, with
52 # up to two %s parameters for the client ip address. 59 # up to two %s parameters for the client ip address.
53 # 60 #
61 #
54 # dnsbl_list: 62 # dnsbl_list:
55 # second token is the name of this list of dnsbls 63 # second token is the name of this list of dnsbls
56 # subsequent tokes are the names of the previously defined dnsbls 64 # subsequent tokes are the names of the previously defined dnsbls
65 #
57 # 66 #
58 # env_from: 67 # env_from:
59 # second token is the name of this envelope-from-map. There will 68 # second token is the name of this envelope-from-map. There will
60 # generally be multiple lines with the same name. 69 # generally be multiple lines with the same name.
61 # third token is the envelope from value from the smtp conversation, 70 # third token is the envelope from value from the smtp conversation,
65 # rejected with "no such user". WHITE causes mail to be accepted 74 # rejected with "no such user". WHITE causes mail to be accepted
66 # and the dns based lists are ignored. DEFAULT may be used to override 75 # and the dns based lists are ignored. DEFAULT may be used to override
67 # the contents of other maps that are copied into this map, and 76 # the contents of other maps that are copied into this map, and
68 # set that sender back to the default (not white or black listed, 77 # set that sender back to the default (not white or black listed,
69 # and subject to dnsbl lookups). 78 # and subject to dnsbl lookups).
79 #
70 # 80 #
71 # env_to: 81 # env_to:
72 # second token is the envelope recipient value from the smtp conversation, 82 # second token is the envelope recipient value from the smtp conversation,
73 # or just the domain part that follows the @ symbol. 83 # or just the domain part that follows the @ symbol.
74 # third token is the name of a dnsbl-list, or WHITE or BLACK. 84 # third token is the name of a dnsbl-list, or WHITE or BLACK.
96 # 106 #
97 # 107 #
98 # include_dcc: 108 # include_dcc:
99 # second token is the name of an envelope-from-map (EMAP below). 109 # second token is the name of an envelope-from-map (EMAP below).
100 # third token is the path name of the dcc whiteclnt config file to be 110 # third token is the path name of the dcc whiteclnt config file to be
101 # included. 111 # included. Entries from the dcc config are mapped as:
102 # entries from the dcc config are mapped as:
103 # ok -> WHITE 112 # ok -> WHITE
104 # many -> BLACK 113 # many -> BLACK
105 # env_from -> env_from EMAP xxx 114 # env_from -> env_from EMAP xxx
106 # env_to -> env_to 115 # env_to -> env_to
107 # substitute mail_host -> env_from EMAP xxx 116 # substitute mail_host -> env_from EMAP xxx