Timo, Running v1.0.0 The convert plugin works pretty damn good! No need to mess with external utilities. One comment, though: Running here on OS X, I configured it with this convert_mail line: convert_mail = mbox:~/Library/Mail/IMAP/:INBOX=/var/mail/%u and mail_location = maildir:~/Maildir The IMAP directory was renamed to IMAP-converted after the process but the inbox (in /var/mail) does not get renamed. The WIKI sounds like it should be renamed to something, too. B. Bodger New York, NY
On Wed, 2007-05-16 at 19:16 -0400, Bruce Bodger wrote:> convert_mail = mbox:~/Library/Mail/IMAP/:INBOX=/var/mail/%u and > mail_location = maildir:~/Maildir > > The IMAP directory was renamed to IMAP-converted after the process > but the inbox (in /var/mail) does not get renamed.It's not supposed to be renamed. The most important reason why the renaming is done at all is so that convert plugin doesn't try to convert the same mailboxes twice. It's enough to rename the mbox root directory for that. I think renaming INBOX could just cause problems.> The WIKI sounds like it should be renamed to something, too.Any suggestions how to change it so it doesn't sound like that? I thought it was pretty clear. :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070517/1ad32e84/attachment.bin>
On May 16, 2007, at 7:21 PM, Timo Sirainen wrote:> It's not supposed to be renamed. The most important reason why the > renaming is done at all is so that convert plugin doesn't try to > convert > the same mailboxes twice. It's enough to rename the mbox root > directory > for that. I think renaming INBOX could just cause problems. > >> The WIKI sounds like it should be renamed to something, too. > > Any suggestions how to change it so it doesn't sound like that? I > thought it was pretty clear. :)Perhaps change this: Once everything is finished, ~/mail is renamed to ~/mail-converted and at next login the conversion isn't done, because the ~/mail directory no longer exists. to this: Once everything is finished effected directories are renamed: ~/mail is renamed to ~/mail-converted, etc. and at next login the conversion isn't performed because the ~/mail directory no longer exists. Mail files, such as the INBOX (~/var/mail/$USERNAME) are not renamed. ??