[Dovecot] INBOX as Maildir and folders as mbox

Denis Sbragion d.sbragion at infotecna.it
Fri Feb 24 12:49:06 EET 2006


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



More information about the dovecot mailing list