diff xml/dnsbl.in @ 11:2c206836b4cc

integration work on url scanner
author carl
date Thu, 22 Apr 2004 20:19:01 -0700
parents cea50d98a6cf
children 6ac6d6b822ce
line wrap: on
line diff
--- a/xml/dnsbl.in	Thu Apr 22 18:46:53 2004 -0700
+++ b/xml/dnsbl.in	Thu Apr 22 20:19:01 2004 -0700
@@ -18,6 +18,11 @@
 per-recipient basis, so that fred@example.com could use SPEWS and the
 SBL, where all other users @example.com use only the SBL.
 
+<p>This milter will also decode (base64, mime, html entity) and scan
+for HTTP URLs in the body of the mail. If any of those host names
+have A records on the SBL (or a single configurable list), the mail
+will be rejected unless previously whitelisted.
+
 <p>The DNSBL milter reads a text configuration file (dnsbl.conf) on
 startup, and whenever the config file (or any of the referenced include
 files) is changed.  The entire configuration file is case insensitive.
@@ -98,6 +103,11 @@
 lookup scheme (reversed octets of the client followed by the dns
 suffix).
 
+<li>If the mail has not been accepted or rejected yet, the body content
+is scanned for HTTP URLs (after base64, mime and html entity decoding),
+and the first 20 host names are checked for their presence on the SBL.
+If any host name is on the SBL, the mail is rejected.
+
 </ol>
 
 
@@ -119,7 +129,7 @@
 line in your sendmail.mc and rebuild the .cf file
 
 <pre>
-INPUT_MAIL_FILTER(`dnsbl', `S=local:/var/run/dnsbl/dnsbl.sock, F=T, T=S:30s;R:30s;E:30s')
+INPUT_MAIL_FILTER(`dnsbl', `S=local:/var/run/dnsbl/dnsbl.sock, F=T, T=C:30s;S:2m;R:2m;E:5m')
 </pre>
 
 Read the sample <a