[Dovecot] Folder layout after Cyrus to Dovecot migration
dovecot --version
1.2.15
We're trying to migrate a server from Cyrus to Dovecot, and we're mostly there.
On Cyrus, the folder layout in the MUA is:
INBOX subfolder subfolder ... Sent Drafts Queue Trash
Users cannot create sibling folders to the Inbox, only subfolders (and sub-subfolders, etc). We've replicated that with:
mail_location = maildir:/shared/imapmail/users/%u:INBOX=/shared/imapmail/users/%u:LAYOUT=fs
namespace private { separator = / prefix = "INBOX/" inbox = yes }
...however, the Sent/Drafts/Queue/Trash folders are now subfolders of Inbox. Cyrus seems to default to the above layout (at least, I can't find anywhere that defines it). There are no special settings in the MUA to achieve the abovev. Is there a way of replicating the above within Dovecot? We can probably go to V2 if we have to, but 1.2.15 would be preferable.
Thanks, Keith
Am 16.11.2012 10:33, schrieb Keith Edmunds:
read
http://wiki2.dovecot.org/Migration http://wiki2.dovecot.org/Namespaces
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich
Am 16.11.2012 11:36, schrieb Keith Edmunds:
i you like your users have the same namespace as before configure dovecot like it
if not use ,a new namespace layout, its your choice
hidden namespaces may help making migration transparent for old clients
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich
Problem: We have some folders (eg, Trash) appearing both as sibling folders to INBOX and as subfolders to INBOX. We want them only to appear at the sibling level.
In order to put some folders (Sent, Trash, some others) at a peer level to INBOX, and all other folders under INBOX, we've defined namespaces as follows:
mail_location = maildir:/shared/imapmail/users/%u:INBOX=/shared/imapmail/users/%u:LAYOUT=fs
namespace private { separator = / prefix = "INBOX/" inbox = yes } namespace private { separator = / prefix = "Trash/" location = maildir:/shared/imapmail/users/%u/Trash:LAYOUT=fs inbox = no }
In the file system, the mail_location for each user has all the top-level mail folders plus the cur, tmp and new directories for INBOX, so, for example, there is a directory in mail_location called "Trash".
Is there a way to configure Dovecot to show Trash at the top level (as the last namespace definition above does), yet not also show it as a subfolder of INBOX?
Thanks, Keith
We're looking for smart Linux people: http://www.tiger-computing.co.uk/jobs
participants (3)
-
Keith Edmunds
-
Robert Schetterer
-
Timo Sirainen