<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/spambayes/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/spambayes/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 18 May 2015 15:32:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/spambayes/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>#96 Patch for bug when header_score_logarithm option is set</title><link>https://sourceforge.net/p/spambayes/patches/96/?limit=25#baee</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Well, I guess it didn't when I ran into that bug. That was a long time ago, now. This ticket can be closed, then.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Hudon</dc:creator><pubDate>Mon, 18 May 2015 15:32:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net07362ca9817a081c1ddbc7c626cb8cf0c7f4ced5</guid></item><item><title>#96 Patch for bug when header_score_logarithm option is set</title><link>https://sourceforge.net/p/spambayes/patches/96/?limit=25#9b9a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;How is that possible, as the hammie.py module imports "math" as its first statement?&lt;/p&gt;&lt;/div&gt;</description><pubDate>Sun, 17 May 2015 08:51:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7cc437d0b1e11d821d69b99bc4ab00bb438b3890</guid></item><item><title>Patch for bug when header_score_logarithm option is set</title><link>https://sourceforge.net/p/spambayes/patches/96/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There is a bug in the code when the header_score_logarithm option is set and the first message processed has a high value for the variable "prob". The "math" module is then undefined, because it is only imported in the "low-probability" branch.&lt;/p&gt;
&lt;p&gt;The following simple patch fixes this:&lt;/p&gt;
&lt;p&gt;--- hammie.py~  2008-12-06 18:33:39.000000000 -0500&lt;br /&gt;
+++ hammie.py   2012-10-28 00:38:36.000000000 -0400&lt;br /&gt;
@@ -116,8 +116,8 @@&lt;br /&gt;
         basic_disp = disp&lt;br /&gt;
         disp += "; %.*f" % (options&lt;span&gt;["Headers", "header_score_digits"]&lt;/span&gt;, prob)&lt;br /&gt;
         if options&lt;span&gt;["Headers", "header_score_logarithm"]&lt;/span&gt;:&lt;br /&gt;
+            import math&lt;br /&gt;
             if prob &amp;lt;= 0.005 and prob &amp;gt; 0.0:&lt;br /&gt;
-                import math&lt;br /&gt;
                 x = -math.log10(prob)&lt;br /&gt;
                 disp += " (%d)" % x&lt;br /&gt;
             if prob &amp;gt;= 0.995 and prob &amp;lt; 1.0:&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Hudon</dc:creator><pubDate>Fri, 28 Feb 2014 16:26:12 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net19cfccb21ab3ed9d4ece1cfef7a821ae71e27c83</guid></item><item><title>Bad regexp in sb_imapfilter.py causing DB corruption</title><link>https://sourceforge.net/p/spambayes/patches/95/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Broken MessageId regexp caused useless IDs like '000' and '4', this in turn caused messages to be confused and resulted in lost messages and corrupted DB.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">AJ Ostergaard</dc:creator><pubDate>Fri, 29 Apr 2011 07:06:39 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net65272c42b6a3067e7d2113ed08bbfbb76851981c</guid></item><item><title>tte.py patch for python backward compatibility</title><link>https://sourceforge.net/p/spambayes/patches/94/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;reversed() is newer than Python 2.3, I think?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Abrahams</dc:creator><pubDate>Fri, 19 Jun 2009 14:00:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9fc23816e5b6982c1802a6ba3fded41a9ff88fac</guid></item><item><title>Add Date header to msgs created by XMLRPCPlugin.form_to_mime</title><link>https://sourceforge.net/p/spambayes/patches/93/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here's a tiny patch that adds a Date hader with the current date/time to the MIME message created by the "form_to_mime" function of the XMLRPCPlugin module. This enables one to set the "display_headers" option in the "html_ui" section of the configuration and then see the date of submissions through the XMLRPC-interface in the "Review" page of the core server web interface for training messages.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Arndt</dc:creator><pubDate>Mon, 20 Oct 2008 23:07:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4327457f0e50e1e22b2c51f2de7618b1a04e73a3</guid></item><item><title>Update german localization message files</title><link>https://sourceforge.net/p/spambayes/patches/92/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here are updated German message files.&lt;/p&gt;
&lt;p&gt;So far I can see the file messages.po is a binary file which was checked into CVS initial as a text file. This has changed now in SVN but this action destroyed the file.&lt;/p&gt;
&lt;p&gt;In the supplied ZIP file there are newer versions of German message files.&lt;/p&gt;
&lt;p&gt;Files where built against updated messages.pot.&lt;br /&gt;
Tested on German Vista x86 + Office 2007 + Spambayes SVN trunk version.&lt;/p&gt;
&lt;p&gt;Remark: The Poedit application was improved really in the meantime. It is really easy and comfortable now to localize the message files. Just open the messages.mo file, import the catalog file, make changes, save the file, restart Outlook, see the result!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marko von Oppen</dc:creator><pubDate>Wed, 02 Apr 2008 14:29:26 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net651a42d01ccaba235eeb0d6dd19b0002abda78d7</guid></item><item><title>Make tte ratio well-behaved when balance is good</title><link>https://sourceforge.net/p/spambayes/patches/91/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Right now, if you pass a spam/ham ratio to tte and the training set is actually more balanced than indicated by the ratio, training will skip some messages in order to achieve that more-unbalanced ratio.  Nobody wants that.  The enclosed patch fixes it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Abrahams</dc:creator><pubDate>Wed, 26 Sep 2007 23:50:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netc14d4e3c4b3e255112928a53516624b0df12a0d0</guid></item><item><title>Protection for dnscache corruption</title><link>https://sourceforge.net/p/spambayes/patches/90/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;My spam filtering regularly starts failing because the dnscache is corrupted.  I don't have any idea how it gets that way, but a broken cache should never scuttle the process, so I propose the enclosed patch.&lt;/p&gt;
&lt;p&gt;procmail: Executing "sb_filter.py"&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File "/usr/local/bin/sb_filter.py", line 83, in ?&lt;br /&gt;
from spambayes import hammie, Options, mboxutils, storage&lt;br /&gt;
File "/usr/local/lib/python2.4/site-packages/spambayes/hammie.py", line 7, in ?&lt;br /&gt;
from spambayes.tokenizer import tokenize&lt;br /&gt;
File "/usr/local/lib/python2.4/site-packages/spambayes/tokenizer.py", line 44, in ?&lt;br /&gt;
cache = dnscache.cache(cachefile=options["Tokenizer", "lookup_ip_cache"])&lt;br /&gt;
File "/usr/local/lib/python2.4/site-packages/spambayes/dnscache.py", line 98, in __init__&lt;br /&gt;
self.caches = pickle.load(open(self.cachefile, "rb"))&lt;br /&gt;
cPickle.UnpicklingError: invalid load key, '&lt;br /&gt;
'.&lt;br /&gt;
procmail: Program failure (1) of "sb_filter.py"&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Abrahams</dc:creator><pubDate>Wed, 26 Sep 2007 23:43:47 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net76137b2c1a92cec6b6f1f16ae314903fd65c503f</guid></item><item><title>Fix for bsddb._db.DBAccessError: (13, 'Permission denied -- </title><link>https://sourceforge.net/p/spambayes/patches/89/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="http://article.gmane.org/gmane.mail.spam.spambayes.devel/3953" rel="nofollow"&gt;http://article.gmane.org/gmane.mail.spam.spambayes.devel/3953&lt;/a&gt; describes a problem and offers an analysis for which I am submitting a patch.  This is the most conservative change I could think of.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Abrahams</dc:creator><pubDate>Wed, 26 Sep 2007 23:36:58 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net74bc1fc23a7c52f030cb14942a31ff903f7d33c9</guid></item></channel></rss>