Mercurial > dnsbl
diff xml/dnsbl.in @ 178:d6531c702be3
embedded dcc filtering
author | carl |
---|---|
date | Thu, 04 Oct 2007 22:45:21 -0700 |
parents | 4ec928b24bab |
children | 8b86a894514d |
line wrap: on
line diff
--- a/xml/dnsbl.in Sun Sep 30 10:27:14 2007 -0700 +++ b/xml/dnsbl.in Thu Oct 04 22:45:21 2007 -0700 @@ -588,8 +588,8 @@ CONTENT = "content" ("on" | "off") "{" {CONTENT-ST}+ "}" CONTENT-ST = (FILTER | URIBL | IGNORE | TLD | CCTLD | HTML-TAGS | - HTML-LIMIT | HOST-LIMIT | SPAMASS) ";" -SPAMASS = "spamassassin" INTEGER + HTML-LIMIT | HOST-LIMIT | SPAMASS | REQUIRE | DCCGREY | + DCCBULK) ";" FILTER = "filter" DNSPREFIX ERROR-MSG2 URIBL = "uribl" DNSPREFIX ERROR-MSG3 IGNORE = "ignore" "{" {HOSTNAME [";"]}+ "}" @@ -608,6 +608,10 @@ HOST-LIMIT = "host_limit" ("on" INTEGER ERROR-MSG | "off" | "soft" INTEGER) +SPAMASS = "spamassassin" INTEGER +REQUIRE = "require_match" ("yes" | "no") +DCCGREY = "dcc_greylist" ("yes" | "no") +DCCBULK = "dcc_bulk_threshold" (INTEGER | "many" | "off") ENV-TO = "env_to" "{" {(TO-ADDR | DCC-TO)}+ "}" TO-ADDR = ADDRESS [";"] @@ -653,6 +657,9 @@ host_limit on 20 "Mail containing excessive host names rejected"; host_limit soft 20; spamassassin 4; + require_match yes; + dcc_greylist yes; + dcc_bulk_threshold 50; }; // backscatter prevention - don't send bounces for mail that we accepted but could not forward @@ -686,6 +693,9 @@ html_limit off; host_limit soft 20; spamassassin 5; + require_match yes; + dcc_greylist yes; + dcc_bulk_threshold 20; }; generic "(^|[.-])(ppp|h|host)?([0-9]{1,3}[.-](Red-|dynamic[.-])?){4}" @@ -719,8 +729,10 @@ context minimal { dnsbl_list sbl; - content on {}; + content on { spamassassin 10; + dcc_bulk_threshold many; + }; generic "^$ " " "; # regex cannot match, to disable generic rdns rejects env_to { };