changeset 68:0e387cd3784b

add uuencode decoding
author carl
date Sat, 22 Jan 2005 18:07:09 -0800
parents a39c813e8f7b
children fb8afa205293
files ChangeLog dnsbl.spec.in package.bash sendmail.st src/scanner.cpp xml/dnsbl.in
diffstat 6 files changed, 14 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 22 18:07:09 2005 -0800
+++ b/ChangeLog	Sat Jan 22 18:07:09 2005 -0800
@@ -1,5 +1,8 @@
     $Id$
 
+4.5 2005-01-22
+    Add uuencode decoding for old style attachments.
+
 4.4 2005-01-18
     Bug fix in forked process termination that left zombies.
 
--- a/dnsbl.spec.in	Sat Jan 22 18:07:09 2005 -0800
+++ b/dnsbl.spec.in	Sat Jan 22 18:07:09 2005 -0800
@@ -1,6 +1,6 @@
 Summary: DNSBL Sendmail Milter
 Name: dnsbl
-Version: 4.4
+Version: 4.5
 Release: 2
 Copyright: GPL
 Group: System Environment/Daemons
--- a/package.bash	Sat Jan 22 18:07:09 2005 -0800
+++ b/package.bash	Sat Jan 22 18:07:09 2005 -0800
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-VER=dnsbl-4.4
+VER=dnsbl-4.5
 mkdir $VER
     target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
     target2=/home/httpd/html/510sg/dnsbl.conf
Binary file sendmail.st has changed
--- a/src/scanner.cpp	Sat Jan 22 18:07:09 2005 -0800
+++ b/src/scanner.cpp	Sat Jan 22 18:07:09 2005 -0800
@@ -225,7 +225,7 @@
     {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url,  u_url,  d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64,   b_64,   b_64,   uu_init, uu_64,   uu_64,   uu_64,    },  // 0x59 Y
     {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url,  u_url,  d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64,   b_64,   b_64,   uu_init, uu_64,   uu_64,   uu_64,    },  // 0x5A Z
     {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64,   uu_64,   uu_64,    },  // 0x5B [
-    {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64,   uu_64,   uu_64,    },  // 0x5C \
+    {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64,   uu_64,   uu_64,    },  // 0x5C backslash
     {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64,   uu_64,   uu_64,    },  // 0x5D ]
     {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64,   uu_64,   uu_64,    },  // 0x5E ^
     {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64,   uu_64,   uu_64,    },  // 0x5F _
@@ -485,7 +485,7 @@
     0,  // 0x59 Y
     0,  // 0x5A Z
     0,  // 0x5B [
-    0,  // 0x5C \
+    0,  // 0x5C backslash
     0,  // 0x5D ]
     0,  // 0x5E ^
     0,  // 0x5F _
@@ -744,7 +744,7 @@
     24, // 0x59 Y
     25, // 0x5A Z
     0,  // 0x5B [
-    0,  // 0x5C \
+    0,  // 0x5C backslash
     0,  // 0x5D ]
     0,  // 0x5E ^
     0,  // 0x5F _
@@ -1003,7 +1003,7 @@
    57,  // 0x59 Y
    58,  // 0x5A Z
    59,  // 0x5B [
-   60,  // 0x5C \
+   60,  // 0x5C backslash
    61,  // 0x5D ]
    62,  // 0x5E ^
    63,  // 0x5F _
--- a/xml/dnsbl.in	Sat Jan 22 18:07:09 2005 -0800
+++ b/xml/dnsbl.in	Sat Jan 22 18:07:09 2005 -0800
@@ -2,7 +2,7 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<title>DNSBL Sendmail milter - Version 4.4</title>
+<title>DNSBL Sendmail milter - Version 4.5</title>
 </head>
 
 <center>Introduction</center>
@@ -19,10 +19,10 @@
 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, url
-encodings) and scan for HTTP and HTTPS URLs and bare hostnames in the
-body of the mail.  If any of those host names have A or NS records on
-the SBL (or a single configurable DNSBL), the mail will be rejected
+<p>This milter will also decode (uuencode, base64, mime, html entity,
+url encodings) and scan for HTTP and HTTPS URLs and bare hostnames in
+the body of the mail.  If any of those host names have A or NS records
+on the SBL (or a single configurable DNSBL), the mail will be rejected
 unless previously whitelisted.  This milter also counts the number of
 invalid HTML tags, and can reject mail if that count exceeds your
 specified limit.