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 {
|
|
18 example.com; # !! replace this with your domain name
|
|
19 # child contexts are not allowed to specify recipient addresses outside these domains
|
|
20 };
|
|
21
|
|
22 context whitelist {
|
|
23 content off {};
|
|
24 env_to {
|
|
25 # dcc_to ok { include "/var/dcc/whitecommon"; };
|
|
26 };
|
|
27 env_from white {}; # white forces all unmatched from addresses (everyone in this case) to be whitelisted
|
|
28 # so all mail TO these env_to addresses is accepted
|
|
29 };
|
|
30
|
|
31 context abuse {
|
|
32 dnsbl_list xbl;
|
|
33 content off {};
|
|
34 env_to {
|
|
35 abuse@ # no content filtering on abuse reports
|
|
36 postmaster@ # ""
|
|
37 };
|
|
38 env_from unknown {}; # ignore all parent white/black listing
|
|
39 };
|
|
40
|
|
41 context minimal {
|
|
42 dnsbl_list sbl dul;
|
|
43 content on {};
|
|
44 env_to {
|
|
45 };
|
|
46 };
|
|
47
|
|
48 context blacklist {
|
|
49 env_to {
|
|
50 # dcc_to many { include "/var/dcc/whitecommon"; };
|
|
51 };
|
|
52 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted
|
|
53 # so all mail TO these env_to addresses is rejected
|
|
54 };
|
|
55
|
|
56 env_from unknown {
|
|
57 abuse@ abuse; # replies to abuse reports use the abuse context
|
|
58 # dcc_from { include "/var/dcc/whitecommon"; };
|
|
59 };
|
|
60 };
|
|
61
|