Mercurial > dnsbl
comparison xml/sample.conf @ 10:9ca440c8d187
integration work on url scanner
author | carl |
---|---|
date | Thu, 22 Apr 2004 18:46:53 -0700 |
parents | dbe18921f741 |
children | 443aa0e8c6fa |
comparison
equal
deleted
inserted
replaced
9:8c65411cd7ab | 10:9ca440c8d187 |
---|---|
65 # include_dcc: | 65 # include_dcc: |
66 # second token is the name of an envelope-from-map (EMAP below). | 66 # second token is the name of an envelope-from-map (EMAP below). |
67 # third token is the path name of the dcc whiteclnt config file to be | 67 # third token is the path name of the dcc whiteclnt config file to be |
68 # included. | 68 # included. |
69 # entries from the dcc config are mapped as: | 69 # entries from the dcc config are mapped as: |
70 # ok -> WHITE | 70 # ok -> WHITE (TAG below) |
71 # many -> BLACK | 71 # many -> BLACK (TAG below) |
72 # env_to -> env_to xxx | 72 # env_to -> env_to xxx TAG |
73 # env_from -> env_from EMAP xxx | 73 # env_from -> env_from EMAP xxx TAG TAG |
74 # substitute mail_host -> env_from EMAP xxx | 74 # substitute mail_host -> env_from EMAP xxx TAG TAG |
75 # | 75 # |
76 # | 76 # |
77 # | 77 # |
78 ############################################## | 78 ############################################## |
79 # define the dnsbls to use | 79 # define the dnsbls to use |
102 env_from DEFAULT yahoo.com BLACK | 102 env_from DEFAULT yahoo.com BLACK |
103 | 103 |
104 # special list for the vp | 104 # special list for the vp |
105 env_from TEST dummy-token DEFAULT # inherit the currently defined DEFAULT env_from mapping | 105 env_from TEST dummy-token DEFAULT # inherit the currently defined DEFAULT env_from mapping |
106 env_from TEST nai.com BLACK # the vp does not like nai | 106 env_from TEST nai.com BLACK # the vp does not like nai |
107 env_from TEST yahoo.com DEFAULT # | 107 env_from TEST yahoo.com DEFAULT # override the blacklisting of yahoo |
108 env_from TEST mother@spammyisp.com WHITE # suppresses dnsbl checking | 108 env_from TEST mother@spammyisp.com WHITE # suppresses dnsbl checking |
109 | 109 |
110 | 110 |
111 ############################################## | 111 ############################################## |
112 # specify dnsbl_lists and env_from maps to use for specific recipients | 112 # specify dnsbl_lists and env_from maps to use for specific recipients |
114 env_to abuse@mydomain.com WHITE WHITE # no dnsbl, no env_from map | 114 env_to abuse@mydomain.com WHITE WHITE # no dnsbl, no env_from map |
115 env_to sales@mydomain.com SIMPLE NULL # sbl only, no env_from map | 115 env_to sales@mydomain.com SIMPLE NULL # sbl only, no env_from map |
116 env_to vp@mydomain.com DEFAULT TEST # allow mail from mom | 116 env_to vp@mydomain.com DEFAULT TEST # allow mail from mom |
117 env_to old-emp@mydomain.com BLACK BLACK # return no such user even from backup mx machines | 117 env_to old-emp@mydomain.com BLACK BLACK # return no such user even from backup mx machines |
118 | 118 |
119 | |
119 ############################################## | 120 ############################################## |
120 # specify dnsbl_lists and env_from maps to use for clients domains | 121 # specify dnsbl_lists and env_from maps to use for clients domains |
121 # | 122 # |
122 env_to mydomain.com DEFAULT DEFAULT | 123 env_to mydomain.com DEFAULT DEFAULT |
123 env_to customer1.com CUST1 DEFAULT # all customer 1 domains use just sbl | 124 env_to customer1.com CUST1 CUST1 # all customer 1 domains use just sbl |
124 env_to customer1a.com CUST1 DEFAULT | 125 env_to customer1a.com CUST1 CUST1 |
125 env_to customer1b.com CUST1 DEFAULT | 126 env_to customer1b.com CUST1 CUST1 |
126 env_to customer2.com CUST2 DEFAULT # all customer 2 domains use spews and sbl | 127 env_to customer2.com CUST2 CUST2 # all customer 2 domains use spews and sbl |
127 env_to customer2a.com CUST2 DEFAULT | 128 env_to customer2a.com CUST2 CUST2 |
128 | 129 |
129 | 130 |
130 ############################################## | 131 ############################################## |
131 # you can also include nested config files | 132 # you can also include nested config files |
132 # file names are single tokens, no embedded blanks | 133 # file names are single tokens, no embedded blanks |
133 # | 134 # |
134 include dnsbl.conf # this will generate a recursive include file syslog error message | 135 include dnsbl.conf # this will generate a recursive include file syslog error message |
135 | 136 |
136 | 137 |
137 ############################################## | 138 ############################################## |
139 # | |
138 # fetch the normal dcc whitelist file and put the entries into the DEFAULT | 140 # fetch the normal dcc whitelist file and put the entries into the DEFAULT |
139 # envelope-from-map. The ok/many tags in the DCC file turn into | 141 # envelope-from-map. The ok/many tags in the DCC file turn into |
140 # WHITE/BLACK entries when imported. The env_to entries from the DCC | 142 # WHITE/BLACK entries when imported. The env_to entries from the DCC |
141 # config turn into env_to entries here, and are therefore global to all | 143 # config turn into env_to entries here, and are therefore global to all |
142 # domains. The env_from and substitute mail_host entries turn into | 144 # domains. The assumption is that a client will only have whitelist |
143 # env_from entries in the named (DEFAULT in this case) envelope-from-map. | 145 # env_to entries for their own domains, in their own dcc config file. The |
146 # env_from and substitute mail_host entries turn into env_from entries in | |
147 # the named (DEFAULT in this case) envelope-from-map. | |
148 # | |
144 # | 149 # |
145 include_dcc DEFAULT /var/dcc/whitecommon | 150 include_dcc DEFAULT /var/dcc/whitecommon |
151 include_dcc CUST1 /var/dcc/whitecommon.cust1 | |
152 include_dcc CUST2 /var/dcc/whitecommon.cust2 |