Am 25.09.2013 03:42, schrieb Timo Sirainen:
On 24.9.2013, at 19.16, René Neumann <lists@necoro.eu> wrote:
after migrating to 2.2 (currently using 2.2.5), I see strange error messages when using imapc + public namespace + acl
My setup: I create a public shared mailbox with imapc as location. Then I restrict this mailbox to one user only using ACLs.
This works for this one special user, but for all others an error gets logged and they can't access their mailbox anymore:
Sep 24 18:09:46 [dovecot] imap(other@my.domain): Error: user other@my.domain: Initialization failed: Namespace 'Gemeinsam.': Ambiguous mail location setting, don't know what to do with it: yes (try prefixing it with mbox: or maildir:)
I can't reproduce this. Set mail_debug=yes and show what's in the logs?
Log for a non-working user is attached.
Also here is the userdb-query:
user_query =
SELECT 1002 AS uid, 1005 AS gid, '/var/vmail/%d/%n' AS home,
IF(imapc,'imapc:','') AS 'namespace/gemeinsam/location'
FROM virtual_users
WHERE user='%u'
From the logs it seems that '' is converted to 'yes'.
(So probably, ACL has nothing to do with the error.)
- René