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

Patrick - South Valley Internet patrickm at garlic.com
Thu Aug 23 01:57:18 EEST 2007


Kyle Wheeler wrote:
> 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

Yes I finally figured that out yesterday.  Once I figured that out, 
everything else fell into place.

Thanks again for all the help.

Patrick




More information about the dovecot mailing list