# HG changeset patch # User carl # Date 1106446029 28800 # Node ID 0e387cd3784b9a3fa2a007a959cf0e36b9b200db # Parent a39c813e8f7bb37e7b29006d785d491be71ddec8 add uuencode decoding diff -r a39c813e8f7b -r 0e387cd3784b ChangeLog --- 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. diff -r a39c813e8f7b -r 0e387cd3784b dnsbl.spec.in --- 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 diff -r a39c813e8f7b -r 0e387cd3784b package.bash --- 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 diff -r a39c813e8f7b -r 0e387cd3784b sendmail.st Binary file sendmail.st has changed diff -r a39c813e8f7b -r 0e387cd3784b src/scanner.cpp --- 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 _ diff -r a39c813e8f7b -r 0e387cd3784b xml/dnsbl.in --- 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 @@
-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 +
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.