diff dnsbl.conf @ 278:368572c57013

add limits on unique ip addresses per hour per authenticated user
author Carl Byington <carl@five-ten-sg.com>
date Tue, 17 Dec 2013 15:35:23 -0800
parents f92f24950bd3
children 4dd677e3b509
line wrap: on
line diff
--- a/dnsbl.conf	Wed Dec 11 22:57:06 2013 -0800
+++ b/dnsbl.conf	Tue Dec 17 15:35:23 2013 -0800
@@ -22,21 +22,23 @@
         dcc_bulk_threshold  50;
     };
 
-    // backscatter prevention - don't send bounces for mail that we accepted but could not forward
+    // backscatter prevention - do not send bounces for mail that we accepted but could not forward
     // we only send bounces to our own customers
     env_from unknown {
         "<>"    black;
     };
 
-    // hourly recipient rate limit by smtp auth client id,
-    // or unauthenticated mail from address
-    // default hourly limit is 30
-    // daily limits are 4 times the hourly limit
-    rate_limit 30 4 { // default
-        #fred 100;   // override default limits
-        #joe  10;    // ""
-        #"sam@somedomain.tld"  500;
-        #"@otherdomain.tld"    100;
+    // hourly recipient rate limit by smtp auth client id, or unauthenticated mail from address
+    // hourly unique ip addresses  by smtp auth client id, or unauthenticated mail from address
+    // default hourly rate limit is 30
+    // daily rate limits are 4 times the hourly limit
+    // default hourly unique ip addresses is 5
+    // daily unique ip addresses are 4 times the hourly limit
+    rate_limit 30 4 5 4 { // default
+        fred 100 10;   // override default limits
+        joe  10  2;    // ""
+        "sam@somedomain.tld"  500 2;
+        "@otherdomain.tld"    100 2;
     };
 };
 
@@ -52,8 +54,9 @@
 
     content on {
         filter    sbl-xbl.spamhaus.org        "Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s";
-        uribl     multi.surbl.org             "Mail containing %s rejected - surbl; see http://www.rulesemporium.com/cgi-bin/uribl.cgi?bl0=1&domain0=%s";
+        uribl     multi.surbl.org             "Mail containing %s rejected - surbl; see http://www.surbl.org/surbl-analysis?d=%s";
         #uribl    multi.uribl.com             "Mail containing %s rejected - uribl; see http://l.uribl.com/?d=%s";
+        #uribl    dbl.spamhaus.org            "Mail containing %s rejected - dbl; see http://www.spamhaus.org/query/domain?domain=%s";
         ignore    { include "hosts-ignore.conf"; };
         tld       { include "tld.conf"; };
         html_tags { include "html-tags.conf"; };