Mercurial > dnsbl
annotate dnsbl.conf @ 117:aa07452e641b
uribl patch from Jeff Evans <jeffe@tricab.com>
author | carl |
---|---|
date | Sun, 12 Mar 2006 10:15:39 -0800 |
parents | 63e8633abc34 |
children | d9d2f8699621 |
rev | line source |
---|---|
94 | 1 context main { |
2 dnsbl local blackholes.five-ten-sg.com "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s"; | |
3 dnsbl sbl sbl-xbl.spamhaus.org "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; | |
4 dnsbl xbl xbl.spamhaus.org "Mail from %s rejected - xbl; see http://www.spamhaus.org/query/bl?ip=%s"; | |
5 dnsbl dul dul.dnsbl.sorbs.net "Mail from %s rejected - dul; see http://www.sorbs.net/lookup.shtml?%s"; | |
6 dnsbl_list local sbl dul; | |
7 | |
8 content on { | |
9 filter sbl-xbl.spamhaus.org "Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; | |
10 ignore { include "hosts-ignore.conf"; }; | |
11 tld { include "tld.conf"; }; | |
117 | 12 cctld { include "cctld.conf"; }; |
13 # html_tags { include "html-tags.conf"; }; | |
94 | 14 html_limit off; |
15 host_limit soft 20; | |
16 }; | |
17 | |
18 env_to { | |
100
63e8633abc34
allow empty env_to at global context to remove all restrictions on child contexts
carl
parents:
94
diff
changeset
|
19 # !! replace this with your domain names |
63e8633abc34
allow empty env_to at global context to remove all restrictions on child contexts
carl
parents:
94
diff
changeset
|
20 # child contexts are not allowed to specify recipient addresses outside these domains |
63e8633abc34
allow empty env_to at global context to remove all restrictions on child contexts
carl
parents:
94
diff
changeset
|
21 # or leave this empty to allow unrestricted child contexts |
63e8633abc34
allow empty env_to at global context to remove all restrictions on child contexts
carl
parents:
94
diff
changeset
|
22 # example.com; |
94 | 23 }; |
24 | |
25 context whitelist { | |
26 content off {}; | |
27 env_to { | |
28 # dcc_to ok { include "/var/dcc/whitecommon"; }; | |
29 }; | |
30 env_from white {}; # white forces all unmatched from addresses (everyone in this case) to be whitelisted | |
31 # so all mail TO these env_to addresses is accepted | |
32 }; | |
33 | |
34 context abuse { | |
35 dnsbl_list xbl; | |
36 content off {}; | |
37 env_to { | |
38 abuse@ # no content filtering on abuse reports | |
39 postmaster@ # "" | |
40 }; | |
41 env_from unknown {}; # ignore all parent white/black listing | |
42 }; | |
43 | |
44 context minimal { | |
45 dnsbl_list sbl dul; | |
46 content on {}; | |
47 env_to { | |
48 }; | |
49 }; | |
50 | |
51 context blacklist { | |
52 env_to { | |
53 # dcc_to many { include "/var/dcc/whitecommon"; }; | |
54 }; | |
55 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted | |
56 # so all mail TO these env_to addresses is rejected | |
57 }; | |
58 | |
59 env_from unknown { | |
60 abuse@ abuse; # replies to abuse reports use the abuse context | |
61 # dcc_from { include "/var/dcc/whitecommon"; }; | |
62 }; | |
63 }; | |
64 |