[ http://issues.apache.org/jira/browse/JAMES-607?page=comments#action_12437636 ] Joachim Draeger commented on JAMES-607: ---------------------------------------
I had no luck using mstor 0.9.9 - it's not checksum save because it returns additional (mbox related) \r\n when fetching a message that it not the last one - it messes internal cache up, when reopening folder 1. add 2 Messages 2. delete and expunge 1. message, close folder 3. open and close with expunge: the retaining message gets deleted because an unclean DELETED flag is assumed - metadata file doesn't get closed after save, so you can't delete it So IMHO it is unusable by now. But I have something positive to say, too: :-) It's code looks quite decent, structured and clean And I was wrong saying that would be complex to add flag and uid support! It uses a xml metadata file along with the mbox file which already is able to store Flags and could be easily extended to support UIDs. BTW there don't seem to be any changes in trunk till 0.9.9 I'l try to write unit tests and patches for what I've found and submit them to mstor but I wasn't able to fix everything by now. Anyway: very promising. > Rewrite MBoxMailRepository to use mstor > --------------------------------------- > > Key: JAMES-607 > URL: http://issues.apache.org/jira/browse/JAMES-607 > Project: James > Issue Type: Improvement > Components: MailStore & MailRepository > Reporter: Norman Maurer > Assigned To: Norman Maurer > Fix For: Trunk > > Attachments: mbox.diff > > > MBoxMailRepository should be rewritten to use mstor. Mstor provide a clean > way to access mbox files etc -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]