From noreply at sourceforge.net Sat May 14 20:43:52 2011 From: noreply at sourceforge.net (SourceForge.net) Date: Sat, 14 May 2011 18:43:52 +0000 Subject: [spambayes-bugs] [ spambayes-Patches-3294764 ] Bad regexp in sb_imapfilter.py causing DB corruption Message-ID: <3QWxlx2Q50z7Ljl@mail.python.org> Patches item #3294764, was opened at 2011-04-29 07:06 Message generated for change (Comment added) made by ajostergaard You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=3294764&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: 7 Private: No Submitted By: AJ Ostergaard (ajostergaard) Assigned to: Tony Meyer (anadelonbrin) >Summary: Bad regexp in sb_imapfilter.py causing DB corruption Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: AJ Ostergaard (ajostergaard) Date: 2011-05-14 18:43 Message: My previous patched worked for a few days before my DB corrupted again so I switched the msgid generation to uuid.uuid4() with much improved results. :) ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-04-29 07:47 Message: I believe this patch will also fix bugs 852137 & 811759. ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-04-29 07:42 Message: This patch fixes my problems and I believe will fix bug ID 2004131 therefore assigning to anadelonbrin. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=3294764&group_id=61702 From noreply at sourceforge.net Sat May 14 21:05:45 2011 From: noreply at sourceforge.net (SourceForge.net) Date: Sat, 14 May 2011 19:05:45 +0000 Subject: [spambayes-bugs] [ spambayes-Patches-3294764 ] Bad regexp in sb_imapfilter.py causing DB corruption Message-ID: <3QWyF95qGDz7LjV@mail.python.org> Patches item #3294764, was opened at 2011-04-29 07:06 Message generated for change (Comment added) made by ajostergaard You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=3294764&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: 7 Private: No Submitted By: AJ Ostergaard (ajostergaard) Assigned to: Tony Meyer (anadelonbrin) Summary: Bad regexp in sb_imapfilter.py causing DB corruption Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: AJ Ostergaard (ajostergaard) Date: 2011-05-14 19:05 Message: Oh and I added logging of a couple of 'could not retrieve' errors which were going unreported. ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-05-14 18:43 Message: My previous patched worked for a few days before my DB corrupted again so I switched the msgid generation to uuid.uuid4() with much improved results. :) ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-04-29 07:47 Message: I believe this patch will also fix bugs 852137 & 811759. ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-04-29 07:42 Message: This patch fixes my problems and I believe will fix bug ID 2004131 therefore assigning to anadelonbrin. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=3294764&group_id=61702 From noreply at sourceforge.net Sun May 15 15:52:01 2011 From: noreply at sourceforge.net (SourceForge.net) Date: Sun, 15 May 2011 08:52:01 -0500 Subject: [spambayes-bugs] [ spambayes-Patches-3294764 ] Bad regexp in sb_imapfilter.py causing DB corruption Message-ID: <3QXRDk31vJz7LjT@mail.python.org> Patches item #3294764, was opened at 2011-04-29 02:06 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=3294764&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: 7 Private: No Submitted By: AJ Ostergaard (ajostergaard) Assigned to: Tony Meyer (anadelonbrin) Summary: Bad regexp in sb_imapfilter.py causing DB corruption Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2011-05-15 08:52 Message: I understand that the message-id generator was crappy and that uuid.uuid4() will give much better results. Your patch removes the use of the mailid_header_name option though. That option is used in a number of places in SpamBayes. Why remove it here? ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-05-14 14:05 Message: Oh and I added logging of a couple of 'could not retrieve' errors which were going unreported. ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-05-14 13:43 Message: My previous patched worked for a few days before my DB corrupted again so I switched the msgid generation to uuid.uuid4() with much improved results. :) ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-04-29 02:47 Message: I believe this patch will also fix bugs 852137 & 811759. ---------------------------------------------------------------------- Comment By: AJ Ostergaard (ajostergaard) Date: 2011-04-29 02:42 Message: This patch fixes my problems and I believe will fix bug ID 2004131 therefore assigning to anadelonbrin. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=3294764&group_id=61702