But the problem is that I can't see shared folders to subscribe (shared by other users) while connecting via IMAP.
There is also an error: Error: userdb lookup: connect(/var/dovecot/auth-userdb) failed: No such file or directory
Probably becouse of chroot (/var/mail).
On Wed, Jul 2, 2014 at 1:29 PM, Giedrius Liubavičius giedrius@su.lt wrote:
Hi, doveadm mailbox subscribe -u test@mydomain.pl Shared/test2@mydomain.pl doveadm mailbox subscribe -u test@mydomain.pl Shared/test2@mydomain.pl/Sent
2014.07.02 14:04, Bambero rašė:
Hello
I just upgraded my system and there is a problem with shared mailboxes.
When I use the doveadm command I can see shared folders:
doveadm mailbox list -u 'test@mydomain.pl' Drafts Sent Spam Trash Shared Virtuals Virtuals/all Shared/test2@mydomain.pl Shared/test2@mydomain.pl/Sent INBOX
But I can't see them over IMAP protocol.
Some config opts:
valid_chroot_dirs = /var/mail mail_chroot = /var/mail
namespace { type = shared separator = / prefix = Shared/%%u/ location = maildir:/%%u/Maildir:INDEX=~/Maildir/Shared/%%u subscriptions = yes list = yes }
plugin { acl = vfile:cache_secs=5 }
plugin { acl_shared_dict = file:/var/mail/%i.db }
protocol imap { mail_plugins = $mail_plugins imap_quota imap_acl imap_zlib }
My version of dovecot is 2.2.10.
Regards Bambero