Mercurial > dnsbl
diff xml/dnsbl.in @ 259:be939802c64e
add recipient rate limits by email from address or domain
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 21 Jul 2012 08:34:04 -0700 |
parents | d6d5c50b9278 |
children | 92a98e661a0b |
line wrap: on
line diff
--- a/xml/dnsbl.in Sun Jul 01 10:34:43 2012 -0700 +++ b/xml/dnsbl.in Sat Jul 21 08:34:04 2012 -0700 @@ -186,9 +186,13 @@ specified limit. </para> <para> - This milter can also impose hourly rate limits on the number of - recipients accepted from SMTP AUTH connections, that would otherwise be - allowed to relay thru this mail server with no spam filtering. + This milter can also impose hourly and daily rate + limits on the number of recipients accepted from SMTP + AUTH connections, that would otherwise be allowed to + relay thru this mail server with no spam filtering. If + the connection does not use SMTP AUTH, the rate limits + may be specified by the mail from email address or + domain. </para> <para> Consider the case of a message from A to B passing thru this milter. If @@ -732,7 +736,7 @@ 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 black.uribl.com "Mail containing %s rejected - uribl; see http://l.uribl.com/?d=%s"; + #uribl multi.uribl.com "Mail containing %s rejected - uribl; see http://l.uribl.com/?d=%s"; ignore { include "hosts-ignore.conf"; }; tld { include "tld.conf"; }; cctld { include "cctld.conf"; }; @@ -753,12 +757,15 @@ "<>" black; }; - // hourly recipient rate limit by smtp auth client id + // 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; }; }; @@ -774,7 +781,7 @@ 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 black.uribl.com "Mail containing %s rejected - uribl; see http://l.uribl.com/?d=%s"; + #uribl multi.uribl.com "Mail containing %s rejected - uribl; see http://l.uribl.com/?d=%s"; ignore { include "hosts-ignore.conf"; }; tld { include "tld.conf"; }; cctld { include "cctld.conf"; }; @@ -790,7 +797,7 @@ generic "^dsl.static.*ttnet.net.tr$|(^|[x.-])(ppp|h|host)?([0-9]{1,3}[x.-](Red-|dynamic[x.-])?){4}" "your mail server %s seems to have a generic name"; - white_regex ".*=example.com=user@yourhostingaccount.com"; + white_regex "=example.com=user@yourhostingaccount.com$"; env_to { # !! replace this with your domain names