<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/spambayes/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/spambayes/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/spambayes/feature-requests/</id><updated>2014-01-02T10:53:45.162000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>#190 call external program after each maildir file trained, or fix S= maildir filenames</title><link href="https://sourceforge.net/p/spambayes/feature-requests/190/?limit=50#e6a7" rel="alternate"/><published>2014-01-02T10:53:45.162000Z</published><updated>2014-01-02T10:53:45.162000Z</updated><author><name>Trevor Cordes</name><uri>https://sourceforge.net/u/tcordes/</uri></author><id>https://sourceforge.netaef7ae07b246449034e8f485e87e77c52326931f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please CLOSE this ticket.  I have abandoned the original line of thinking and it is not a good solution.&lt;/p&gt;
&lt;p&gt;I have changed ideas and opened a new feature request #191 which implements my 2013-10-22 idea and provides a patch.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#191 sb_mboxtrain should use "trained state" "memory file" instead of writing to Maildir files</title><link href="https://sourceforge.net/p/spambayes/feature-requests/191/?limit=50#b4d0" rel="alternate"/><published>2014-01-02T10:50:18.465000Z</published><updated>2014-01-02T10:50:18.465000Z</updated><author><name>Trevor Cordes</name><uri>https://sourceforge.net/u/tcordes/</uri></author><id>https://sourceforge.net74ba1861c6e3e255b2c5403d15fe6f8577efcea4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Patch implementing my idea (badly but "workingly")&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>sb_mboxtrain should use "trained state" "memory file" instead of writing to Maildir files</title><link href="https://sourceforge.net/p/spambayes/feature-requests/191/" rel="alternate"/><published>2014-01-02T10:47:25.655000Z</published><updated>2014-01-02T10:47:25.655000Z</updated><author><name>Trevor Cordes</name><uri>https://sourceforge.net/u/tcordes/</uri></author><id>https://sourceforge.net287c362d08a010d7a050e0882624ee75061d342d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When using Maildir format, sb_mboxtrain and dovecot step all over each other and actually cause dovecot errors, hangs and MUA errors, hangs and crashes.  This is because once sb_mboxtrain trains an email, it writes a header to the Maildir file, which changes the size-on-disk of the file, which dovecot doesn't know about, causing dovecot/MUA's lots of problems.  The solution is to not write to email files, but to store "trained state" to a separate database/pickle file of some sort.  I have written a proof-of-concept patch that I am now using successfully.&lt;/p&gt;
&lt;p&gt;Dovecot sometimes maintains the size-on-disk in an individual email's filename using S= and W= "fields".  It &lt;em&gt;always&lt;/em&gt; maintains the size-on-disk size in its Maildir/.folder/dovecot* index files.&lt;/p&gt;
&lt;p&gt;Dovecot does not handle the disk size changing very well.  Various bugfixes have been attempted to date but they do not solve the problem for me.  And really, it shouldn't have to, because Maildir files, when used in the IMAP world, should never change size.  IMAP provides no method for "editing" an existing email.  They are considered set in stone once written to by the MTA.  (As far as I can tell with my recent research.)&lt;/p&gt;
&lt;p&gt;The fact that sb_mboxtrain writes to these files is therefore bad, and a bug.&lt;/p&gt;
&lt;p&gt;I propose sb_mboxtrain write "trained state" to a separate "memory" pickle file with a new -m memfile option.  More so, it should probably be the default option for Maildir if not for other formats.  (Writing headers to a massive mbox file is much more resource intensive than updating a small db file.)&lt;/p&gt;
&lt;p&gt;I have written a proof-of-concept that is working on my setup currently.  It is incomplete (only affects Maildir) and may blow up other mail box formats, or have lots of other bugs.  But it shows my general idea and solves my problem.  I AM NOT A PYTHON PROGRAMMER and had never touched python before today; though I am a veteran programmer of other languages.  Since no one else wanted to help, this is what I've written for myself so far.  I'm sure a few things could be done much better, in a more "python" way.&lt;/p&gt;
&lt;p&gt;The code does handle "garbage collection" of deleted email files by removing them from the db once deleted.&lt;/p&gt;
&lt;p&gt;See my old ticket Feature Request #190 for my prior thought process.  I previously thought having sb call a "dovecot fixup script" was the way to go, but it didn't work well in practice, didn't solve anything, and is in any case an ugly kludge.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#190 call external program after each maildir file trained, or fix S= maildir filenames</title><link href="https://sourceforge.net/p/spambayes/feature-requests/190/?limit=50#ae38" rel="alternate"/><published>2013-10-22T10:05:58.325000Z</published><updated>2013-10-22T10:05:58.325000Z</updated><author><name>Trevor Cordes</name><uri>https://sourceforge.net/u/tcordes/</uri></author><id>https://sourceforge.net94615cdeabc779147ffff8c1af304022a8540f72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;My fix isn't working out that great as dovecot still screws up all the time on trained folders.  There must be a bug in my fix-up scripts.&lt;/p&gt;
&lt;p&gt;The more I think about this problem, the more I think a "real" solution is required.  Perhaps the best way is to have sb_mboxtrain keep a (separate) database of all the emails/files it has trained instead of trying to add a header to the actual maildir email files.&lt;/p&gt;
&lt;p&gt;The only other option I can think of is it perhaps IMAP/dovecot itself allows for editing an email via the protocol rather than through direct file access, then we could add headers that way.&lt;/p&gt;
&lt;p&gt;I'm surprised no one else is running into these problems.  Does no one use sb_mboxtrain with dovecot on maildir files?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>call external program after each maildir file trained, or fix S= maildir filenames</title><link href="https://sourceforge.net/p/spambayes/feature-requests/190/" rel="alternate"/><published>2013-08-25T06:32:16.043000Z</published><updated>2013-08-25T06:32:16.043000Z</updated><author><name>Trevor Cordes</name><uri>https://sourceforge.net/u/tcordes/</uri></author><id>https://sourceforge.net540eb498e879413309189c98918a6ba8677aa495</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I need sb_mboxtrain to call a user-specified external program after each maildir email file is trained, especially when its file contents are changed resulting in a changed file size.  I need this because sb screws up dovecot / maildir by changing the file contents but not updating the S= in the filename of some maildir messages.  Then dovecot complains and majorly screws up (ongoing dovecot bug).&lt;/p&gt;
&lt;p&gt;I have written a script to fix the filename and dovecot-uidlist entry for one email file, which if run directly after sb_mboxtrain trains an email (modifying the file) then makes everything OK for dovecot to run properly.&lt;/p&gt;
&lt;p&gt;Ideally, sb_mboxtrain would fix the S= filename (and possibly the dovecot-uid entry) for me, but simply allowing a hook would be good enough.&lt;/p&gt;
&lt;p&gt;I need the hook around line 150 (in maildir_train, after os.rename(tfn, cfn)) like:&lt;br /&gt;
        subprocess.call(&lt;span&gt;["/usr/local/script/maildir-dovecot-size-fix",cfn]&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;of course, the script name should be a command line argument, not hardcoded.  Perhaps it could be hardcoded that it only gets one argument, cfn, passed to it.  People could write wrappers around their programs if that wasn't sufficient.&lt;/p&gt;
&lt;p&gt;maildir_train would also need a "import subprocess" also, of course.&lt;/p&gt;
&lt;p&gt;This change would be very very easy to implement in the code.  If it would help get this mainlined, I could have a go at making a patch, however, I'm not good at python at all.  Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Forward Ham to another email address</title><link href="https://sourceforge.net/p/spambayes/feature-requests/189/" rel="alternate"/><published>2011-04-28T12:59:00Z</published><updated>2011-04-28T12:59:00Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netc5fc56fdca634c537476fb4d4c93f9c9ac1b14bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;My iPhone and IPad don't have Spambayes.  So, while my desktop is spam free thanks to Spambayes, my iDevices accessing the same email accounts are plagued with spam.  If all ham were emailed to another account, and that account was unknown to the rest of the world (i.e. no spam) then the iDevices could access just that account and get pure ham.&lt;/p&gt;
&lt;p&gt;So how about adding an option to the "Certain good" section that allows forwarding to another address?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>add "spam" and "not spam" buttons  to Outlook 2010 Ribbon</title><link href="https://sourceforge.net/p/spambayes/feature-requests/188/" rel="alternate"/><published>2010-06-17T07:10:22Z</published><updated>2010-06-17T07:10:22Z</updated><author><name>Bill Van Buren</name><uri>https://sourceforge.net/u/billvb/</uri></author><id>https://sourceforge.net4dd14886a0ad185e9fe4f2adcb5b7f90855b0856</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Spambayes controls appear only in an "addins" tab in Outlook 2010, so you have to navigate away from your Mail controls to use them. Please enable these buttons to be added to the main Mail tool 'ribbon'.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Force silent Outlook Plugin installation </title><link href="https://sourceforge.net/p/spambayes/feature-requests/187/" rel="alternate"/><published>2009-01-28T15:49:20Z</published><updated>2009-01-28T15:49:20Z</updated><author><name>midiboy2</name><uri>https://sourceforge.net/u/midiboy2/</uri></author><id>https://sourceforge.net7ce39b03ab94dd5d9be7939efcb792a5ebcd4bdf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;since Spambayes does not reliably detect the existence of Outlook during an unattended Setup when Office 2007 was installed right before Spambayes, I would like to know if there is a way to silently force the Outlook Plugin installation. &lt;/p&gt;
&lt;p&gt;Tried the Inno setup /Components switch but could not find a name fort he component that worked or it does not work by design, don´t know.&lt;/p&gt;
&lt;p&gt;Anyway, it would be great if such a switch could be added to the installer,&lt;br /&gt;
Thanks in advance !&lt;br /&gt;
Alex&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Outlook 2007 on vista</title><link href="https://sourceforge.net/p/spambayes/feature-requests/186/" rel="alternate"/><published>2008-10-18T12:54:02Z</published><updated>2008-10-18T12:54:02Z</updated><author><name>JerrytheGreat</name><uri>https://sourceforge.net/u/jerrythegreat/</uri></author><id>https://sourceforge.netcb93254b21d4029936d78bd8fc2b1b43990df490</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;spambayes is crashing, or simply not installing at all on Outlook 2007 on Vista SP1.&lt;/p&gt;
&lt;p&gt;I hate the see this grand product fade into the sunset!!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Outlook Express native support</title><link href="https://sourceforge.net/p/spambayes/feature-requests/185/" rel="alternate"/><published>2008-10-18T12:52:23Z</published><updated>2008-10-18T12:52:23Z</updated><author><name>JerrytheGreat</name><uri>https://sourceforge.net/u/jerrythegreat/</uri></author><id>https://sourceforge.netb51f9e43704837323b9133d8a1a8e0d8419f4e34</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would love to see SpamBayes offer the same seamless integration with Outlook Express that you have with Outlook. Let's keep this project alive, and get to thte Top Ten List of Spam filters!!!&lt;/p&gt;
&lt;p&gt;JTG&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>