annotate dnsbl.conf @ 108:1c7677042b78

move to autoconf/automake/docbook
author carl
date Sun, 18 Dec 2005 12:05:05 -0800
parents 63e8633abc34
children aa07452e641b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
1 context main {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
2 dnsbl local blackholes.five-ten-sg.com "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s";
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
3 dnsbl sbl sbl-xbl.spamhaus.org "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s";
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
4 dnsbl xbl xbl.spamhaus.org "Mail from %s rejected - xbl; see http://www.spamhaus.org/query/bl?ip=%s";
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
5 dnsbl dul dul.dnsbl.sorbs.net "Mail from %s rejected - dul; see http://www.sorbs.net/lookup.shtml?%s";
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
6 dnsbl_list local sbl dul;
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
7
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
8 content on {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
9 filter sbl-xbl.spamhaus.org "Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s";
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
10 ignore { include "hosts-ignore.conf"; };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
11 tld { include "tld.conf"; };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
12 html_tags { include "html-tags.conf"; };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
13 html_limit off;
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
14 host_limit soft 20;
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
15 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
16
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
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
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
22 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
23
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
24 context whitelist {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
25 content off {};
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
26 env_to {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
27 # dcc_to ok { include "/var/dcc/whitecommon"; };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
28 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
29 env_from white {}; # white forces all unmatched from addresses (everyone in this case) to be whitelisted
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
30 # so all mail TO these env_to addresses is accepted
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
31 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
32
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
33 context abuse {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
34 dnsbl_list xbl;
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
35 content off {};
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
36 env_to {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
37 abuse@ # no content filtering on abuse reports
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
38 postmaster@ # ""
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
39 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
40 env_from unknown {}; # ignore all parent white/black listing
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
41 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
42
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
43 context minimal {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
44 dnsbl_list sbl dul;
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
45 content on {};
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
46 env_to {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
47 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
48 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
49
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
50 context blacklist {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
51 env_to {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
52 # dcc_to many { include "/var/dcc/whitecommon"; };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
53 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
54 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
55 # so all mail TO these env_to addresses is rejected
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
56 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
57
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
58 env_from unknown {
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
59 abuse@ abuse; # replies to abuse reports use the abuse context
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
60 # dcc_from { include "/var/dcc/whitecommon"; };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
61 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
62 };
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
63