comparison dnsbl.conf @ 178:d6531c702be3

embedded dcc filtering
author carl
date Thu, 04 Oct 2007 22:45:21 -0700
parents e726e1a61ef9
children 8b86a894514d
comparison
equal deleted inserted replaced
177:a4d313c2460b 178:d6531c702be3
14 html_tags { include "html-tags.conf"; }; 14 html_tags { include "html-tags.conf"; };
15 html_limit on 20 "Mail containing excessive bad html tags rejected"; 15 html_limit on 20 "Mail containing excessive bad html tags rejected";
16 html_limit off; 16 html_limit off;
17 host_limit on 20 "Mail containing excessive host names rejected"; 17 host_limit on 20 "Mail containing excessive host names rejected";
18 host_limit soft 20; 18 host_limit soft 20;
19 spamassassin 4; 19 spamassassin 4;
20 require_match yes;
21 dcc_greylist yes;
22 dcc_bulk_threshold 50;
20 }; 23 };
21 24
22 // backscatter prevention - don't send bounces for mail that we accepted but could not forward 25 // backscatter prevention - don't send bounces for mail that we accepted but could not forward
23 // we only send bounces to our own customers 26 // we only send bounces to our own customers
24 env_from unknown { 27 env_from unknown {
47 tld { include "tld.conf"; }; 50 tld { include "tld.conf"; };
48 cctld { include "cctld.conf"; }; 51 cctld { include "cctld.conf"; };
49 html_tags { include "html-tags.conf"; }; 52 html_tags { include "html-tags.conf"; };
50 html_limit off; 53 html_limit off;
51 host_limit soft 20; 54 host_limit soft 20;
52 spamassassin 5; 55 spamassassin 5;
56 require_match yes;
57 dcc_greylist yes;
58 dcc_bulk_threshold 20;
53 }; 59 };
54 60
55 generic "(^|[.-])(ppp|h|host)?([0-9]{1,3}[.-](Red-|dynamic[.-])?){4}" 61 generic "(^|[.-])(ppp|h|host)?([0-9]{1,3}[.-](Red-|dynamic[.-])?){4}"
56 "your mail server %s seems to have a generic name"; 62 "your mail server %s seems to have a generic name";
57 63
81 env_from unknown {}; # ignore all parent white/black listing 87 env_from unknown {}; # ignore all parent white/black listing
82 }; 88 };
83 89
84 context minimal { 90 context minimal {
85 dnsbl_list sbl; 91 dnsbl_list sbl;
86 content on {}; 92 content on {
87 spamassassin 10; 93 spamassassin 10;
94 dcc_bulk_threshold many;
95 };
88 generic "^$ " " "; # regex cannot match, to disable generic rdns rejects 96 generic "^$ " " "; # regex cannot match, to disable generic rdns rejects
89 env_to { 97 env_to {
90 }; 98 };
91 }; 99 };
92 100