Hi, I was wondering whether anybody has managed to get Dovecot 1.0 to store INBOX as Maildir and folders as mbox. I've tried something like default_mail_env mbox:/folders/user/mail:INBOX=maildir:/inboxes/maildir/user:INDEX=/indexes/user but it doesn't seem to work (treats INBOX as mbox). I'm hoping to move some INBOXes from mbox on local disk to Maildir on nicely-mirrored NetApp NFS (or possibly iSCSI) servers for redundancy and better incremental backups. I'm probably doing something silly, or have misunderstood something! Chris -- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
Hello Chris, On Fri, February 24, 2006 11:29, Chris Wakelin wrote:> I was wondering whether anybody has managed to get Dovecot 1.0 to store > INBOX as Maildir and folders as mbox.... I managed to do the reverse, i.e. INBOX as mbox and folders as maildirs, apart from an hidden folder used for backward compatibility and migration. Probably the same approach, reversed of course, applies to your situation. I had to use a couple of namespaces, along with the default, to get the result: default_mail_env = mbox:%h/Profile/Maildir/MBox:INBOX=/var/mail/%u namespace private { separator = / prefix location = maildir:%h/Profile/Maildir } namespace private { separator = / inbox = yes prefix = "#mbox/" location = mbox:%h/Profile/Maildir/MBox:INBOX=/var/mail/%u hidden = yes } Namespaces are supporte only on recent versions of Dovecot and only on IMAP, not POP3. Bye, -- Denis Sbragion InfoTecna Tel: +39 0362 805396, Fax: +39 0362 805404 URL: http://www.infotecna.it
Possibly Parallel Threads
- Fwd: Weird problem opening mbox in beta1/2
- rsync-ing IMAP mbox-format mailboxes to NetApp
- unofficial Survey about your Dovecot server :) to compare with my own server setup...
- Dovecot 1.0-stable mbox performance and disconnections
- dovecot.index.cache 1/3rd of INBOX size