Mercurial > dnsbl
annotate dnsbl.conf @ 111:d0dad5610980
move to autoconf/automake/docbook
author | carl |
---|---|
date | Sun, 18 Dec 2005 15:16:25 -0800 |
parents | 63e8633abc34 |
children | aa07452e641b |
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"; }; | |
12 html_tags { include "html-tags.conf"; }; | |
13 html_limit off; | |
14 host_limit soft 20; | |
15 }; | |
16 | |
17 env_to { | |
100
63e8633abc34
allow empty env_to at global context to remove all restrictions on child contexts
carl
parents:
94
diff
changeset
|
18 # !! 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
|
19 # 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
|
20 # 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
|
21 # example.com; |
94 | 22 }; |
23 | |
24 context whitelist { | |
25 content off {}; | |
26 env_to { | |
27 # dcc_to ok { include "/var/dcc/whitecommon"; }; | |
28 }; | |
29 env_from white {}; # white forces all unmatched from addresses (everyone in this case) to be whitelisted | |
30 # so all mail TO these env_to addresses is accepted | |
31 }; | |
32 | |
33 context abuse { | |
34 dnsbl_list xbl; | |
35 content off {}; | |
36 env_to { | |
37 abuse@ # no content filtering on abuse reports | |
38 postmaster@ # "" | |
39 }; | |
40 env_from unknown {}; # ignore all parent white/black listing | |
41 }; | |
42 | |
43 context minimal { | |
44 dnsbl_list sbl dul; | |
45 content on {}; | |
46 env_to { | |
47 }; | |
48 }; | |
49 | |
50 context blacklist { | |
51 env_to { | |
52 # dcc_to many { include "/var/dcc/whitecommon"; }; | |
53 }; | |
54 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted | |
55 # so all mail TO these env_to addresses is rejected | |
56 }; | |
57 | |
58 env_from unknown { | |
59 abuse@ abuse; # replies to abuse reports use the abuse context | |
60 # dcc_from { include "/var/dcc/whitecommon"; }; | |
61 }; | |
62 }; | |
63 |