diff xml/dnsbl.in @ 174:da0c41b9f672

don't whitelist addresses with embedded spaces
author carl
date Sun, 23 Sep 2007 11:20:12 -0700
parents d3189495ec68
children e726e1a61ef9
line wrap: on
line diff
--- a/xml/dnsbl.in	Thu Sep 06 09:50:05 2007 -0700
+++ b/xml/dnsbl.in	Sun Sep 23 11:20:12 2007 -0700
@@ -12,7 +12,7 @@
 
     <refentry id="@PACKAGE@.1">
         <refentryinfo>
-            <date>2007-08-30</date>
+            <date>2007-09-07</date>
         </refentryinfo>
 
         <refmeta>
@@ -538,7 +538,7 @@
 
     <refentry id="@PACKAGE@.conf.5">
         <refentryinfo>
-            <date>2007-08-30</date>
+            <date>2007-09-07</date>
         </refentryinfo>
 
         <refmeta>
@@ -628,10 +628,8 @@
             <literallayout class="monospaced"><![CDATA[
 context main-default {
     // outbound dnsbl filtering to catch our own customers that end up on the sbl
-    dnsbl   localp  partial.blackholes.five-ten-sg.com  "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s";
-    dnsbl   local   blackholes.five-ten-sg.com  "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s";
     dnsbl   sbl     sbl-xbl.spamhaus.org        "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s";
-    dnsbl_list  local sbl;
+    dnsbl_list  sbl;
 
     // outbound content filtering to prevent our own customers from sending spam
     content on {
@@ -665,7 +663,7 @@
 context main {
     dnsbl   localp  partial.blackholes.five-ten-sg.com  "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s";
     dnsbl   local   blackholes.five-ten-sg.com  "Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s";
-    dnsbl   sbl     sbl-xbl.spamhaus.org        "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s";
+    dnsbl   sbl     zen.spamhaus.org            "Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s";
     dnsbl   xbl     xbl.spamhaus.org            "Mail from %s rejected - xbl; see http://www.spamhaus.org/query/bl?ip=%s";
     dnsbl_list  local sbl;
 
@@ -688,8 +686,7 @@
     env_to {
         # !! replace this with your domain names
         # child contexts are not allowed to specify recipient addresses outside these domains
-        # or leave this empty to allow unrestricted child contexts
-        # example.com;
+        include "/etc/mail/local-host-names";
     };
 
     context whitelist {
@@ -704,6 +701,7 @@
     context abuse {
         dnsbl_list xbl;
         content off {};
+        generic "^$ " " ";      # regex cannot match, to disable generic rdns rejects
         env_to {
             abuse@              # no content filtering on abuse reports
             postmaster@         # ""
@@ -714,6 +712,7 @@
     context minimal {
         dnsbl_list sbl;
         content on {};
+        spamassassin 10;
         generic "^$ " " ";      # regex cannot match, to disable generic rdns rejects
         env_to {
         };