[Dovecot] Maildir format migration

Timo Sirainen tss at iki.fi
Thu May 17 19:22:46 EEST 2007


On Thu, 2007-05-17 at 23:04 +0800, Tony Tsang wrote:
> Hi all,
> 
> Thanks for the suggestions. I have used patch to UW IMAP to support
> maildir, the problem is dovecot uses dot for delimiter, while the
> patch for UW IMAP uses slash. So UW IMAP and dovecot have different
> directory structure. If this is configurable in dovecot, it would be
> nice.

Oh, so it works differently than I thought. I'll make the separator
configurable in some future Dovecot version, but for now it would be
easiest if you just renamed the maildirs. Or you can also change the
sources:

src/lib-storage/index/maildir/maildir-storage.h:
#define MAILDIR_FS_SEP '.'
#define MAILDIR_FS_SEP_S "."

But do the maildirs still begin with "-" character? If not, then just
changing the above defines won't be enough.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070517/c19c7db2/attachment.pgp 


More information about the dovecot mailing list