Mercurial > dnsbl
annotate dnsbl.conf @ 81:db85c53e3d90
start coding on new config syntax
author | carl |
---|---|
date | Sun, 17 Jul 2005 07:34:28 -0700 |
parents | 1142e46be550 |
children | 505e77188317 |
rev | line source |
---|---|
75 | 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_list local sbl; | |
41
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
6 |
75 | 7 content on { |
8 filter sbl-xbl.spamhaus.org "Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s"; | |
9 ignore { include "hosts-ignore.conf"; }; | |
10 tld { include "tld.conf"; }; | |
11 html_tags { include "html-tags.conf"; }; | |
12 html_limit off; | |
13 host_limit soft 20; | |
14 }; | |
41
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
15 |
75 | 16 env_to { |
17 example.com; # !! replace this with your domain name | |
18 # child contexts are not allowed to specify recipient addresses outside these domains | |
19 }; | |
20 | |
21 context whitelist { | |
22 content off {}; | |
23 env_to { | |
24 # dcc_to ok { include "/var/dcc/whitecommon"; }; | |
25 }; | |
26 env_from white {}; # white forces all unmatched from addresses (everyone in this case) to be whitelisted | |
27 # so all mail TO these env_to addresses is accepted | |
28 }; | |
41
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
29 |
75 | 30 context abuse { |
31 dnsbl_list xbl; | |
32 content off {}; | |
33 env_to { | |
34 abuse@ # no content filtering on abuse reports | |
35 postmaster@ # "" | |
36 }; | |
37 env_from unknown {}; # ignore all parent white/black listing | |
38 }; | |
41
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
39 |
75 | 40 context minimal { |
41 dnsbl_list sbl; | |
42 content on {}; | |
43 env_to { | |
44 }; | |
45 }; | |
41
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
46 |
75 | 47 context blacklist { |
48 env_to { | |
49 # dcc_to many { include "/var/dcc/whitecommon"; }; | |
50 }; | |
51 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted | |
52 # so all mail TO these env_to addresses is rejected | |
53 }; | |
41
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
54 |
75 | 55 env_from unknown { |
56 abuse@ abuse; # replies to abuse reports use the abuse context | |
57 # dcc_from { include "/var/dcc/whitecommon"; }; | |
58 }; | |
59 }; | |
60 |