comparison dnsbl.conf @ 255:d6d5c50b9278 stable-6-0-30

Allow dnswl_list and dnsbl_list to be empty, to override lists specified in the ancestor contexts. Add daily recipient limits as a multiple of the hourly limits.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 09 Apr 2012 18:02:05 -0700
parents 15bf4f68a0b2
children be939802c64e
comparison
equal deleted inserted replaced
254:720cdc2c303f 255:d6d5c50b9278
27 env_from unknown { 27 env_from unknown {
28 "<>" black; 28 "<>" black;
29 }; 29 };
30 30
31 // hourly recipient rate limit by smtp auth client id 31 // hourly recipient rate limit by smtp auth client id
32 rate_limit 30 { // default 32 // default hourly limit is 30
33 // daily limits are 4 times the hourly limit
34 rate_limit 30 4 { // default
33 #fred 100; // override default limits 35 #fred 100; // override default limits
34 #joe 10; // "" 36 #joe 10; // ""
35 }; 37 };
36 }; 38 };
37 39
102 env_to { 104 env_to {
103 }; 105 };
104 }; 106 };
105 107
106 context blacklist { 108 context blacklist {
109 dnsbl_list ;
110 dnswl_list ;
107 env_to { 111 env_to {
108 # dcc_to many { include "/var/dcc/whitecommon"; }; 112 # dcc_to many { include "/var/dcc/whitecommon"; };
109 }; 113 };
110 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted 114 env_from black {}; # black forces all unmatched from addresses (everyone in this case) to be blacklisted
111 # so all mail TO these env_to addresses is rejected 115 # so all mail TO these env_to addresses is rejected