[Dovecot] UW-IMAP to Dovecot conversion - How to migrate the folders?

Kyle Wheeler kyle-dovecot at memoryhole.net
Wed Aug 22 16:18:24 EEST 2007


On Tuesday, August 21 at 02:15 PM, quoth Patrick - South Valley Internet:
> What's even more odd is that when I created a new folder within 
> Outlook Express, I see it in /home/USERNAME/Maildir/subscriptions, 
> but I don't see the folder anywhere...how does Dovecot see these 
> IMAP folders?  Is there some sort of tag that is contained within 
> each Maildir email that tells what folder it goes in to?

The new folders are created with names prefixed by a period.

For example, imagine you have the following IMAP folders (subfolders 
separated by a slash (/)):

     INBOX
     Sent
     Trash
     Drafts
     INBOX/Business
     INBOX/Family

These would typically be stored like so:

     /home/USERNAME/Maildir/                   <-- "INBOX"
     /home/USERNAME/Maildir/.Sent/
     /home/USERNAME/Maildir/.Trash/
     /home/USERNAME/Maildir/.Drafts/
     /home/USERNAME/Maildir/.INBOX.Business/
     /home/USERNAME/Maildir/.INBOX.Family/

Doing a simple `ls` in the Maildir won't show the other folders, 
because they begin with a period (and are considered "hidden" by ls). 
Do an `ls -a` and they'll show up. That's standard Maildir++ layout, 
which is what you get when your config says:

     mail_location = maildir:%h/Maildir

~Kyle
-- 
It ain't the parts of the Bible that I can't understand that bother 
me, it is the parts that I do understand.
                                                          -- Mark Twain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070822/2eb060a5/attachment.bin 


More information about the dovecot mailing list