[Dovecot] .mailboxlist -> .subscriptions
Joseph Tam
jtam.home at gmail.com
Thu Mar 15 01:33:23 EET 2012
Steve Campbell <campbell at cnpapers.com> writes:
> Their imap folders, the ones that they create using an imap client or
> webmail, are either in ~ or ~/mail. Their original .mailboxlist is
> always in ~. Based on that, I should probably copy any imap folders not
> in ~/mail to that folder, duplicate ~/.mailboxlist to the file
> ~/mail/.subscriptions, and amend any .subscriptions file contents to
> just have the name of the folders (without any "mail/folder" reference
> in it).
>
> My example would then be as follows
>
> /home/steve = folder
> /home/steve/Drafts = original folder
> /home/steve/AnyFolder = original folder
> /home/steve/.mailboxlist = original file
> /home/steve/mail = folder (either original or created)
> /home/steve/mail/.subscriptions = copied contents of .mailboxlist
> file
> /home/steve/mail/Drafts = copied folder of original
> /home/steve/mail/AnyFolder = copied folder of original
>
> Contents of original .mailboxlist and new .subscriptions:
>
> Drafts
> AnyFolder
>
> If the imap folders were in ~/mail, then the original .mailboxlist would
> have been
>
> mail/Drafts
> mail/AnyFolder
>
> but after the corrections to the .subscriptions file, they would be as
> above (without reference to the mail folder).
>
> Is this correct?
That depends -- are you aliasing namespaces so that prefix={"",
"mail/", etc.} all map to a user's ~/mail folder? You may be creating a
confusing situation where a client with a null IMAP prefix has 2 copies
of a mailbox.
Joseph Tam <jtam.home at gmail.com>
More information about the dovecot
mailing list