On 6.3.2005, at 13:48, Tom Alsberg wrote:
On Sat, Mar 05, 2005 at 10:31:59PM +0200, Timo Sirainen wrote:
I just wrote this: http://wiki.dovecot.org/MailLocation
From what I read there, it seems pretty complicated, but I couldn't understand a straightforward way to do this - only with namespaces I could create another namespace for mbox, but then clients had to know...
Yes, it'd have to be under mbox/ or something like that.
Is there no way to just have Dovecot detect whether the mailbox is in maildir or mbox format on opening?
There's no way for now.
And what about the problem - that without prefixing mbox: it complains:
dovecot: IMAP(user): Failed to create storage with data: +~/mail:INBOX=/var/mail/user
It means Dovecot couldn't detect if ~/mail was mbox or maildir. If it had inbox file or .imap/ directory, it would have been detected as mbox, if it had new/ directory it would have been detected as maildir.