[spambayes-bugs] [ spambayes-Patches-825021 ] fix mboxtrain side-effects

SourceForge.net noreply at sourceforge.net
Thu Oct 16 14:45:58 EDT 2003


Patches item #825021, was opened at 2003-10-16 11:45
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=825021&group_id=61702

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Abbas (abbas)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix mboxtrain side-effects

Initial Comment:
I ran into some problems using sb_mboxtrain.py with 
procmail/Maildir/Courier-IMAP/Outlook, and this patch 
addresses the difficulties I found.

1) It seems to work a lot better if you make 
sb_mboxtrain.py preserve the files' modification dates 
and "unix from" lines. Otherwise Outlook gets confused 
about what date the message was actually received 
(because sb_mboxtrain.py is effectively blowing that 
information away).
2) I had to try to fix the file modification dates using the 
contents of the messages, after I ran into #1 the hard 
way. I added a "-F" option to do that.
3) I want to train mail on my inbox as ham, but only if 
I've had a chance to review it yet. So I added a "-u" 
switch to make sb_mboxtrain.py ignore unread mail.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=825021&group_id=61702



More information about the Spambayes-bugs mailing list