From noreply at sourceforge.net Thu May 3 15:57:21 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 03 May 2007 06:57:21 -0700 Subject: [spambayes-bugs] [ spambayes-Bugs-1711977 ] Recover from Spam button really truly is missing Message-ID: Bugs item #1711977, was opened at 2007-05-03 09:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1711977&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Outlook Group: 1.0.4 Status: Open Resolution: None Priority: 5 Private: No Submitted By: M Owens (marillaowens) Assigned to: Nobody/Anonymous (nobody) Summary: Recover from Spam button really truly is missing Initial Comment: I have followed the FAQ suggestions to make sure that there is room for the button on the Outlook toolbar, and to make sure I'm in the Junk E-Mail folder when looking for this button. Neither suggestion helps. The Recover from Spam button really is missing. I had a previous version, so downloaded and installed 1.0.4, and that did not help. I reset the filtering and re-enabled SpamBayes. That did not help. I even rebooted. Without the recover button, I have no way of un-training SpamBayes and that is a big problem for some of the messages I routinely receive. It was suggested that I upload my most recent log file, but there is no information about how to identify or locate the log file. I looked in C:\Program Files\SpamBayes\ and the subfolders and don't see anything that looks obviously like a log file. My "Show hidden files and folders" option is turned on in My Computer. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1711977&group_id=61702 From noreply at sourceforge.net Wed May 9 07:33:52 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Tue, 08 May 2007 22:33:52 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by david_abrahams You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Skip Montanaro (montanaro) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Wed May 9 17:04:42 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Wed, 09 May 2007 08:04:42 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Skip Montanaro (montanaro) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Wed May 9 17:14:18 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Wed, 09 May 2007 08:14:18 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by david_abrahams You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Skip Montanaro (montanaro) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 10:14 Message: Logged In: YES user_id=52572 Originator: YES I would like you to try it out a little, at least, before feeling confident about it. I've only used it on IMAP folders and I wouldn't want to break the other use cases. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Thu May 10 16:28:04 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 10 May 2007 07:28:04 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by david_abrahams You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Skip Montanaro (montanaro) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 09:28 Message: Logged In: YES user_id=52572 Originator: YES File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 10:14 Message: Logged In: YES user_id=52572 Originator: YES I would like you to try it out a little, at least, before feeling confident about it. I've only used it on IMAP folders and I wouldn't want to break the other use cases. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Thu May 10 22:09:44 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 10 May 2007 13:09:44 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1716751 ] Vista compatibility patch Message-ID: Patches item #1716751, was opened at 2007-05-10 22:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1716751&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marko von Oppen (igs) Assigned to: Nobody/Anonymous (nobody) Summary: Vista compatibility patch Initial Comment: The source version of SpamBayes does not work properly under Vista so far. A simple 'import win32trace' fails under Vista because normal users have not enough rights to create the FileMapping used to communicate with the trace collector. If you start the trace collector with higher rights (start as administrator) before starting SpamBayes everyone goes well. With this patch SpamBayes tries to load win32traceutil. If that fails it goes back to the mechanism used by the binary release and simply writes a log file in temp directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1716751&group_id=61702 From noreply at sourceforge.net Fri May 11 02:01:29 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 10 May 2007 17:01:29 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1716751 ] Vista compatibility patch Message-ID: Patches item #1716751, was opened at 2007-05-10 15:09 Message generated for change (Settings changed) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1716751&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marko von Oppen (igs) >Assigned to: Mark Hammond (mhammond) Summary: Vista compatibility patch Initial Comment: The source version of SpamBayes does not work properly under Vista so far. A simple 'import win32trace' fails under Vista because normal users have not enough rights to create the FileMapping used to communicate with the trace collector. If you start the trace collector with higher rights (start as administrator) before starting SpamBayes everyone goes well. With this patch SpamBayes tries to load win32traceutil. If that fails it goes back to the mechanism used by the binary release and simply writes a log file in temp directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1716751&group_id=61702 From noreply at sourceforge.net Fri May 11 02:26:24 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 10 May 2007 17:26:24 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Settings changed) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Skip Montanaro (montanaro) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 19:26 Message: Logged In: YES user_id=44345 Originator: NO I applied it to my environment. tte.py and my strange fetchmail/sb_bnfilter.py setup seems to work fine. contrib/tte.py 1.18 spambayes/mboxutils.py 1.11 spambayes/storage.py 1.63 scripts/sb_imapfilter.py 1.67 ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 09:28 Message: Logged In: YES user_id=52572 Originator: YES File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 10:14 Message: Logged In: YES user_id=52572 Originator: YES I would like you to try it out a little, at least, before feeling confident about it. I've only used it on IMAP folders and I wouldn't want to break the other use cases. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Fri May 11 02:27:42 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 10 May 2007 17:27:42 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1652120 ] force image text to be approx black on white Message-ID: Patches item #1652120, was opened at 2007-02-04 21:56 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1652120&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Rejected Priority: 5 Private: No Submitted By: Skip Montanaro (montanaro) >Assigned to: Skip Montanaro (montanaro) Summary: force image text to be approx black on white Initial Comment: This patch has only been tested with a small standalone script. The goal was simply to improve the chances that ocrad would "see" text in images which contain text. I'm sure there's more that can be done. There will be two attachments, the patch for ImageStripper.py and the standalone Python/PIL script I used to test the idea (much easier to tweak settings in that environment). Skip ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 19:27 Message: Logged In: YES user_id=44345 Originator: YES Not really needed now that Mark's gocr patches have been applied. If someone wanted to use ocrad for some reason this might still be helpful though. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-02-04 21:58 Message: Logged In: YES user_id=44345 Originator: YES Standalone script attached... File Added: imageop.py ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1652120&group_id=61702 From noreply at sourceforge.net Fri May 11 03:18:59 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 10 May 2007 18:18:59 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by david_abrahams You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed Resolution: Accepted Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Skip Montanaro (montanaro) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 20:18 Message: Logged In: YES user_id=52572 Originator: YES Great! Please give the code a once-over before checking it in. It touches quite a few parts of SpamBayes and I don't want to step on any toes. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 19:26 Message: Logged In: YES user_id=44345 Originator: NO I applied it to my environment. tte.py and my strange fetchmail/sb_bnfilter.py setup seems to work fine. contrib/tte.py 1.18 spambayes/mboxutils.py 1.11 spambayes/storage.py 1.63 scripts/sb_imapfilter.py 1.67 ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 09:28 Message: Logged In: YES user_id=52572 Originator: YES File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 10:14 Message: Logged In: YES user_id=52572 Originator: YES I would like you to try it out a little, at least, before feeling confident about it. I've only used it on IMAP folders and I wouldn't want to break the other use cases. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Fri May 11 04:26:10 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 10 May 2007 19:26:10 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending Resolution: Accepted Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) >Assigned to: Tony Meyer (anadelonbrin) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 21:26 Message: Logged In: YES user_id=44345 Originator: NO I'm a little curious about the -C flag. The code reads: elif opt in ("-c", "--cullext"): cullext = arg elif opt in ("-C", "--cullext"): cullext = '' In general it seems you cleaned up my crappy code in tte.py quite a bit. Thanks for that... A couple comments: * The "--cullext" can't work for both -C and -c. Maybe you should have "--cull" (cull with no extension) to avoid conflict? I made that change. Let me know if you have a different change in mind. * I don't know the sb_imapfilter code at all. I'll assign this to Tony in case he has a moment to scan that part of the patch. Tony, just mark it closed if you agree with the changes or can easily change anything you take issue with. * You're using psycopg classifier? Brave man. ;-) Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 20:18 Message: Logged In: YES user_id=52572 Originator: YES Great! Please give the code a once-over before checking it in. It touches quite a few parts of SpamBayes and I don't want to step on any toes. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 19:26 Message: Logged In: YES user_id=44345 Originator: NO I applied it to my environment. tte.py and my strange fetchmail/sb_bnfilter.py setup seems to work fine. contrib/tte.py 1.18 spambayes/mboxutils.py 1.11 spambayes/storage.py 1.63 scripts/sb_imapfilter.py 1.67 ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 09:28 Message: Logged In: YES user_id=52572 Originator: YES File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 10:14 Message: Logged In: YES user_id=52572 Originator: YES I would like you to try it out a little, at least, before feeling confident about it. I've only used it on IMAP folders and I wouldn't want to break the other use cases. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Fri May 18 13:24:13 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Fri, 18 May 2007 04:24:13 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1716751 ] Vista compatibility patch Message-ID: Patches item #1716751, was opened at 2007-05-11 06:09 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1716751&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marko von Oppen (igs) Assigned to: Mark Hammond (mhammond) Summary: Vista compatibility patch Initial Comment: The source version of SpamBayes does not work properly under Vista so far. A simple 'import win32trace' fails under Vista because normal users have not enough rights to create the FileMapping used to communicate with the trace collector. If you start the trace collector with higher rights (start as administrator) before starting SpamBayes everyone goes well. With this patch SpamBayes tries to load win32traceutil. If that fails it goes back to the mechanism used by the binary release and simply writes a log file in temp directory. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2007-05-18 21:24 Message: Logged In: YES user_id=14198 Originator: NO FYI, I will end up rejecting this patch after we manage to cut a new release - pywin32's win32trace module should now work fine on Vista (but you will need to build your own from CVS to confirm that until a build 211 appears). Thanks though :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1716751&group_id=61702 From noreply at sourceforge.net Mon May 21 18:41:00 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Mon, 21 May 2007 09:41:00 -0700 Subject: [spambayes-bugs] [ spambayes-Bugs-1722848 ] sb_imapfilter.py failure Message-ID: Bugs item #1722848, was opened at 2007-05-21 11:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1722848&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Nobody/Anonymous (nobody) Summary: sb_imapfilter.py failure Initial Comment: There's a problem with the use of "recent." Please see enclosed log. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1722848&group_id=61702 From noreply at sourceforge.net Mon May 21 18:41:26 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Mon, 21 May 2007 09:41:26 -0700 Subject: [spambayes-bugs] [ spambayes-Bugs-1722848 ] sb_imapfilter.py failure Message-ID: Bugs item #1722848, was opened at 2007-05-21 11:41 Message generated for change (Settings changed) made by david_abrahams You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1722848&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) >Assigned to: Tony Meyer (anadelonbrin) Summary: sb_imapfilter.py failure Initial Comment: There's a problem with the use of "recent." Please see enclosed log. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1722848&group_id=61702 From noreply at sourceforge.net Thu May 24 22:34:58 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 24 May 2007 13:34:58 -0700 Subject: [spambayes-bugs] [ spambayes-Bugs-1725174 ] second load, addin fails to initialize Message-ID: Bugs item #1725174, was opened at 2007-05-25 06:34 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1725174&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Outlook Group: 1.1.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: aj (aand4247) Assigned to: Nobody/Anonymous (nobody) Summary: second load, addin fails to initialize Initial Comment: Vista Ultimate, Outlook 2007, Spambayes 1.1a3 Software installs, configures and runs first time OK If quit and restart outlook, addin fails to initialise on startup. (log file attached). If I delete the spambayes database files, it loads again OK first time but of course can't train messages and create database without problem coming back. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1725174&group_id=61702 From noreply at sourceforge.net Sat May 26 08:05:07 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Fri, 25 May 2007 23:05:07 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by david_abrahams You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Open Resolution: Accepted Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Tony Meyer (anadelonbrin) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: David Abrahams (david_abrahams) Date: 2007-05-26 01:05 Message: Logged In: YES user_id=52572 Originator: YES On --cullext vs --cull, I was thinking it could be '--cullext=' but if getopt doesn't like that, I'm fine with --cull. Since tony isn't very active, the thing got auto-closed. But shouldn't the patch be applied if he's not going to look at it? File Added: spambayes.patch ---------------------------------------------------------------------- Comment By: SourceForge Robot (sf-robot) Date: 2007-05-25 21:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 21:26 Message: Logged In: YES user_id=44345 Originator: NO I'm a little curious about the -C flag. The code reads: elif opt in ("-c", "--cullext"): cullext = arg elif opt in ("-C", "--cullext"): cullext = '' In general it seems you cleaned up my crappy code in tte.py quite a bit. Thanks for that... A couple comments: * The "--cullext" can't work for both -C and -c. Maybe you should have "--cull" (cull with no extension) to avoid conflict? I made that change. Let me know if you have a different change in mind. * I don't know the sb_imapfilter code at all. I'll assign this to Tony in case he has a moment to scan that part of the patch. Tony, just mark it closed if you agree with the changes or can easily change anything you take issue with. * You're using psycopg classifier? Brave man. ;-) Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 20:18 Message: Logged In: YES user_id=52572 Originator: YES Great! Please give the code a once-over before checking it in. It touches quite a few parts of SpamBayes and I don't want to step on any toes. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 19:26 Message: Logged In: YES user_id=44345 Originator: NO I applied it to my environment. tte.py and my strange fetchmail/sb_bnfilter.py setup seems to work fine. contrib/tte.py 1.18 spambayes/mboxutils.py 1.11 spambayes/storage.py 1.63 scripts/sb_imapfilter.py 1.67 ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 09:28 Message: Logged In: YES user_id=52572 Originator: YES File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 10:14 Message: Logged In: YES user_id=52572 Originator: YES I would like you to try it out a little, at least, before feeling confident about it. I've only used it on IMAP folders and I wouldn't want to break the other use cases. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Sat May 26 16:21:39 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Sat, 26 May 2007 07:21:39 -0700 Subject: [spambayes-bugs] [ spambayes-Patches-1707808 ] imap-tte Message-ID: Patches item #1707808, was opened at 2007-04-25 22:12 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: Accepted Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Tony Meyer (anadelonbrin) Summary: imap-tte Initial Comment: A patch that enables train-to-exhaustion support for IMAP. This patch has three parts: 1. an __init__.py in the scripts folder that makes some of the classes in sb_imapfilter available to tte.py. This change is not represented in the patch file; you'll have to add __init__.py yourself. 2. Some imap support in mboxutils.py 3. Some refactoring in sb_imapfilter.py to sink the port selection logic into IMAPSession.__init__ so that it can be used by tte.py. In the process we simplify the uses of IMAPSession considerably. This is probably not refactored in the best way; in particular, #1 above should probably never happen and whatever is used by both sb_imapfilter.py and tte.py should be moved into spambayes/ or at least out of scripts/. However, before taking on any major restructuring I wanted to get this into the hands of a spambayes devel who can make sure I'm on the right track. ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2007-05-26 09:21 Message: Logged In: YES user_id=44345 Originator: NO I've already applied the patch. I just assigned it to Tony to remind him to take a peak if he so desires. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-26 01:05 Message: Logged In: YES user_id=52572 Originator: YES On --cullext vs --cull, I was thinking it could be '--cullext=' but if getopt doesn't like that, I'm fine with --cull. Since tony isn't very active, the thing got auto-closed. But shouldn't the patch be applied if he's not going to look at it? File Added: spambayes.patch ---------------------------------------------------------------------- Comment By: SourceForge Robot (sf-robot) Date: 2007-05-25 21:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 21:26 Message: Logged In: YES user_id=44345 Originator: NO I'm a little curious about the -C flag. The code reads: elif opt in ("-c", "--cullext"): cullext = arg elif opt in ("-C", "--cullext"): cullext = '' In general it seems you cleaned up my crappy code in tte.py quite a bit. Thanks for that... A couple comments: * The "--cullext" can't work for both -C and -c. Maybe you should have "--cull" (cull with no extension) to avoid conflict? I made that change. Let me know if you have a different change in mind. * I don't know the sb_imapfilter code at all. I'll assign this to Tony in case he has a moment to scan that part of the patch. Tony, just mark it closed if you agree with the changes or can easily change anything you take issue with. * You're using psycopg classifier? Brave man. ;-) Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 20:18 Message: Logged In: YES user_id=52572 Originator: YES Great! Please give the code a once-over before checking it in. It touches quite a few parts of SpamBayes and I don't want to step on any toes. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-10 19:26 Message: Logged In: YES user_id=44345 Originator: NO I applied it to my environment. tte.py and my strange fetchmail/sb_bnfilter.py setup seems to work fine. contrib/tte.py 1.18 spambayes/mboxutils.py 1.11 spambayes/storage.py 1.63 scripts/sb_imapfilter.py 1.67 ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-10 09:28 Message: Logged In: YES user_id=52572 Originator: YES File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 10:14 Message: Logged In: YES user_id=52572 Originator: YES I would like you to try it out a little, at least, before feeling confident about it. I've only used it on IMAP folders and I wouldn't want to break the other use cases. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2007-05-09 10:04 Message: Logged In: YES user_id=44345 Originator: NO Dave, Do you think this has stabilized well enough to apply to the repository? If so, I'll just make a quick review and apply it. Skip ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-05-09 00:33 Message: Logged In: YES user_id=52572 Originator: YES That patch evolved yet again, massively. I implemented a version of culling for IMAP and refactored tte.py to greatly simplify it and remove redundancy. Hope you find that nice and not annoying ;-) File Added: sb.patch ---------------------------------------------------------------------- Comment By: David Abrahams (david_abrahams) Date: 2007-04-26 17:03 Message: Logged In: YES user_id=52572 Originator: YES It looks like I forgot one thing in sb_imapfilter.py: @@ -1200,6 +1209,7 @@ imap_filter = IMAPFilter(classifier, message_db) httpServer = UserInterfaceServer(options["html_ui", "port"]) + pwds = [ x[2] for x in servers_data ] httpServer.register(IMAPUserInterface(classifier, imaps, pwds, IMAPSession, stats=stats, close_db=close_db, I've attached a complete patch that contains that change and all of my other fixes/workarounds (I have several patches in this tracker that haven't been acted on). You can ignore it if you prefer and just make the additional change above. File Added: spambayes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1707808&group_id=61702 From noreply at sourceforge.net Thu May 31 19:50:09 2007 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 31 May 2007 10:50:09 -0700 Subject: [spambayes-bugs] [ spambayes-Bugs-1729084 ] sb_mboxtrain.py should remove wrong classification header Message-ID: Bugs item #1729084, was opened at 2007-05-31 19:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1729084&group_id=61702 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 1.0.4 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris Arndt (strogon14) Assigned to: Nobody/Anonymous (nobody) Summary: sb_mboxtrain.py should remove wrong classification header Initial Comment: When you train a message as ham or spam which has already been filtered and classified, sb_mboxsort.py should remove the "X-Spambayes-Classification" header, if it does not match to what you are training the message as. So, if ,for example, sp_filter.py has wrongly classified a message as spam and your mailfilter(e.g. procmail) put it in your spam mailbox, you can just move it to your inbox and then regularly train all messages in the inbox as ham. The attached patch checks the "X-Spambayes-Classification" every time the message is trained, even if it has already been trained before. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1729084&group_id=61702