Re: [Dovecot] Dovecot 2.1 mbox + maildir
From: Timo Sirainentss@iki.fi
On Mon, 2012-05-28 at 14:50 +0100, Alan Brown wrote:
What syntax is needed to make this work?
The 2.0 wiki recomendations don't work - I can see the inboxes or the folders but not both at once and there are lots of error messages about prefix clashes if I simply use the existing 2.0.20 conf file on 2.1.6 Are you saying that it works in v2.0 but not in v2.1?
yes.
Then something's wrong. Show your doveconf -n output and what error messages you see.
Attached to this email (dovecot 2.0 and 2.1 -n outputs)
In both cases, we use the same local config file, included from dovecot.conf (I've included both of these too)
The error message is:
May 30 17:00:31 msslat dovecot: imap(foobar): Error: user foobar: Initialization failed: namespace configuration error: Duplicate namespace prefix: "" May 30 17:00:31 msslat dovecot: imap(foobar): Error: Invalid user settings. Refer to server log for more information. May 30 17:00:31 msslat dovecot: master: Warning: Killed with signal 15 (by pid=18489 uid=0 code=kill)
Attempting to tweak MAIL.conf to fix this error simply resulted in various states of "broken", so any help untangling this will be greatly appreciated.
On 30.5.2012, at 19.15, Alan Brown wrote:
May 30 17:00:31 msslat dovecot: imap(foobar): Error: user foobar: Initialization failed: namespace configuration error: Duplicate namespace prefix: ""
This is because in v2.1 you have two namespaces with prefix="". Most likely because upgrading your RPM installed a new conf.d/15-mailboxes.conf file with namespace inbox {}. You can either remove it or give "inbox" name for the other prefix="" namespace.
participants (2)
-
Alan Brown
-
Timo Sirainen