Mercurial > dnsbl
comparison xml/sample.conf @ 92:505e77188317
optimize verification step, cleanup documentation
author | carl |
---|---|
date | Wed, 21 Sep 2005 08:00:08 -0700 |
parents | 946fc1bcfb2c |
children | 591edabaf196 |
comparison
equal
deleted
inserted
replaced
91:ca46fafc6621 | 92:505e77188317 |
---|---|
38 # VALUE = ("white" | "black" | "unknown" | CHILD-CONTEXT-NAME) | 38 # VALUE = ("white" | "black" | "unknown" | CHILD-CONTEXT-NAME) |
39 | 39 |
40 | 40 |
41 context sample { | 41 context sample { |
42 dnsbl local blackholes.five-ten-sg.com "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s"; | 42 dnsbl local blackholes.five-ten-sg.com "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s"; |
43 dnsbl spews blackholes.spews.org "Mail from %s rejected - spews; see http://www.spews.org/ask.cgi?x=%s"; | |
44 dnsbl sbl sbl-xbl.spamhaus.org "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; | 43 dnsbl sbl sbl-xbl.spamhaus.org "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; |
45 dnsbl xbl xbl.spamhaus.org "Mail from %s rejected - xbl; see http://www.spamhaus.org/query/bl?ip=%s"; | 44 dnsbl xbl xbl.spamhaus.org "Mail from %s rejected - xbl; see http://www.spamhaus.org/query/bl?ip=%s"; |
46 dnsbl_list local sbl; | 45 dnsbl dul dul.dnsbl.sorbs.net "Mail from %s rejected - dul; see http://www.sorbs.net/lookup.shtml?%s"; |
46 dnsbl_list local sbl dul; | |
47 | 47 |
48 content on { | 48 content on { |
49 filter sbl-xbl.spamhaus.org "Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; | 49 filter sbl-xbl.spamhaus.org "Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; |
50 ignore { include "hosts-ignore.conf"; }; | 50 ignore { include "hosts-ignore.conf"; }; |
51 tld { include "tld.conf"; }; | 51 tld { include "tld.conf"; }; |
84 }; | 84 }; |
85 env_from unknown {}; # ignore all parent white/black listing | 85 env_from unknown {}; # ignore all parent white/black listing |
86 }; | 86 }; |
87 | 87 |
88 context minimal { | 88 context minimal { |
89 dnsbl_list sbl; | 89 dnsbl_list sbl dul; |
90 content on {}; | 90 content on {}; |
91 env_to { | 91 env_to { |
92 sales@mydomain.com; | 92 sales@mydomain.com; |
93 }; | 93 }; |
94 }; | 94 }; |
112 mother@spammyisp.com white; # suppress dnsbl checking | 112 mother@spammyisp.com white; # suppress dnsbl checking |
113 }; | 113 }; |
114 }; | 114 }; |
115 | 115 |
116 context customer1 { | 116 context customer1 { |
117 dnsbl_list sbl; | 117 dnsbl_list sbl dul; |
118 env_to { | 118 env_to { |
119 customer1.com; | 119 customer1.com; |
120 customer1a.com; | 120 customer1a.com; |
121 customer1b.com; | 121 customer1b.com; |
122 }; | 122 }; |
137 first@yahoo.com unknown; # except this one | 137 first@yahoo.com unknown; # except this one |
138 }; | 138 }; |
139 }; | 139 }; |
140 | 140 |
141 context customer2 { | 141 context customer2 { |
142 dnsbl_list sbl spews; | 142 dnsbl_list sbl; |
143 env_to { | 143 env_to { |
144 customer2.com; | 144 customer2.com; |
145 customer2a.com; | 145 customer2a.com; |
146 customer2b.com; | 146 customer2b.com; |
147 }; | 147 }; |