Mercurial > dnsbl
annotate dnsbl.conf @ 119:d9d2f8699621
uribl patch from Jeff Evans <jeffe@tricab.com>
author | carl |
---|---|
date | Sun, 12 Mar 2006 12:38:43 -0800 |
parents | aa07452e641b |
children | e8971c595845 |
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"; | |
119 | 10 uribl multi-surbl.org "Mail containing %s rejected - surbl; see http://www.rulesemporium.com/cgi-bin/uribl.cgi?bl0=1&domain0=%s"; |
11 #uribl black.uribl.com "Mail containing %s rejected - uribl; see http://l.uribl.com/?d=%s"; | |
94 | 12 ignore { include "hosts-ignore.conf"; }; |
13 tld { include "tld.conf"; }; | |
119 | 14 cctld { include "cctld.conf"; }; |
15 html_tags { include "html-tags.conf"; }; | |
94 | 16 html_limit off; |
17 host_limit soft 20; | |
18 }; | |
19 | |
20 env_to { | |
100
63e8633abc34
allow empty env_to at global context to remove all restrictions on child contexts
carl
parents:
94
diff
changeset
|
21 # !! 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
|
22 # 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
|
23 # 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
|
24 # example.com; |
94 | 25 }; |
26 | |
27 context whitelist { | |
28 content off {}; | |
29 env_to { | |
30 # dcc_to ok { include "/var/dcc/whitecommon"; }; | |
31 }; | |
32 env_from white {}; # white forces all unmatched from addresses (everyone in this case) to be whitelisted | |
33 # so all mail TO these env_to addresses is accepted | |
34 }; | |
35 | |
36 context abuse { | |
37 dnsbl_list xbl; | |
38 content off {}; | |
39 env_to { | |
40 abuse@ # no content filtering on abuse reports | |
41 postmaster@ # "" | |
42 }; | |
43 env_from unknown {}; # ignore all parent white/black listing | |
44 }; | |
45 | |
46 context minimal { | |
47 dnsbl_list sbl dul; | |
48 content on {}; | |
49 env_to { | |
50 }; | |
51 }; | |
52 | |
53 context blacklist { | |
54 env_to { | |
55 # dcc_to many { include "/var/dcc/whitecommon"; }; | |
56 }; | |
57 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted | |
58 # so all mail TO these env_to addresses is rejected | |
59 }; | |
60 | |
61 env_from unknown { | |
62 abuse@ abuse; # replies to abuse reports use the abuse context | |
63 # dcc_from { include "/var/dcc/whitecommon"; }; | |
64 }; | |
65 }; | |
66 |