is really a royal pain in the butt. most of the conversion tools only do a partial job. mb2md seems to be the best but it does not convert the from line correctly unless you are using exim for an MTA. It also does not get the file status right so everything is written to the new maildir directory. something else that makes the process painful is when you have folders containing mailboxes. And the process is *slow* when you have 2 GB of mail (yes, I will be deleting some soon). looks like I will be debugging and rewrapping this package real soon now.. to relate this to dovecot: this is probably not the job of the imap server but it would be real nice to be able to fit in some sort of a plug-in that could automatically do the conversion on a mailbox as it is opened. it would make migrations trivial easy. give me the ability to use python for plug-ins and I will write such a tool. ---eric
On 26 August 2003 at 13:16, "Eric S. Johansson" <esj at harvee.org> wrote:> to relate this to dovecot: this is probably not the job of the imap server but > it would be real nice to be able to fit in some sort of a plug-in that could > automatically do the conversion on a mailbox as it is opened. > > it would make migrations trivial easy. give me the ability to use python for > plug-ins and I will write such a tool.I wouldn't mind seeing such a tool also :)
On Tue, 2003-08-26 at 20:16, Eric S. Johansson wrote:> is really a royal pain in the butt. most of the conversion tools only do a > partial job. mb2md seems to be the best but it does not convert the from line > correctly unless you are using exim for an MTA. It also does not get the file > status right so everything is written to the new maildir directory. something > else that makes the process painful is when you have folders containing > mailboxes. And the process is *slow* when you have 2 GB of mail (yes, I will be > deleting some soon).Next Dovecot version will support both mboxes and maildir. That could do it at least one mailbox at a time.> to relate this to dovecot: this is probably not the job of the imap server but > it would be real nice to be able to fit in some sort of a plug-in that could > automatically do the conversion on a mailbox as it is opened.Yes, that should be possible.> it would make migrations trivial easy. give me the ability to use python for > plug-ins and I will write such a tool.We'd need a Python plugin :) I don't think it was difficult to export C stuff from .h files to Python using some tool .. which I can't remember anymore.
On Tue, 26 Aug 2003, Eric S. Johansson wrote:> to relate this to dovecot: this is probably not the job of the imap serverI disagree. An imap server can be expected to copy messages from one folder to another perfectly. Here's one tool - http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html - I expect there are others. -- Charlie