[Dovecot] Shared folder prefix listed multiple times with dovecot 2.1.1

Markus Petri markus at mpetri.org
Thu Mar 8 21:18:12 EET 2012


Hi,

after upgrading from 2.0.18 to 2.1.1 I noticed that I could not use
shared folders with mutt anymore. 2.1 lists the shared namespace prefix
once per user sharing an folder in LIST "" "%".

I also noticed, that with 2.1 the user folder (Shared/<username>) is no
longer tagged as \NoSelect.

Is this the intended behaviour and mutt simply cannot cope with it or
is it a dovecot problem?

Here an example with three users sharing a folder to the logged in user
with Dovecot 2.1.1:

2 LIST "" "*"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\HasChildren) "/" "Shared/test"
* LIST (\HasNoChildren) "/" "Shared/test/Share"
* LIST (\HasChildren) "/" "Shared/test2"
* LIST (\HasNoChildren) "/" "Shared/test2/Share2"
* LIST (\HasChildren) "/" "Shared/test3"
* LIST (\HasNoChildren) "/" "Shared/test3/Share3"
2 OK List completed.


2 LIST "" "%"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "Shared"
* LIST (\Noselect \HasChildren) "/" "Shared"
* LIST (\Noselect \HasChildren) "/" "Shared"
2 OK List completed.


The same three users and config with Dovecot 2.0.18:

2 LIST "" "*"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "Shared/test"
* LIST (\Noselect \HasChildren) "/" "Shared/test2"
* LIST (\Noselect \HasChildren) "/" "Shared/test3"
* LIST (\HasNoChildren) "/" "Shared/test/Share"
* LIST (\HasNoChildren) "/" "Shared/test2/Share2"
* LIST (\HasNoChildren) "/" "Shared/test3/Share3"
2 OK List completed.


2 LIST "" "%"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "Shared"
2 OK List completed.


Markus



# 2.1.1: /opt/dovecot-2.1/etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-1-amd64 x86_64 Debian wheezy/sid 
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = 192.168.56.11
mail_location = maildir:~/Maildir
mail_plugins = acl
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave namespace { inbox = yes location =
  prefix =
  separator = /
  subscriptions = yes
  type = private
}
namespace {
  inbox = no
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/index/shared/%%u
  prefix = Shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
passdb {
  args = /opt/dovecot-2.1/etc/dovecot/passwd
  driver = passwd-file
}
plugin {
  acl = vfile
  acl_anyone = allow
  acl_shared_dict = file:/var/lib/vdovecot/shared-mailboxes.db
}
protocols = imap
service auth {
  unix_listener auth-userdb {
    mode = 0600
    user = vdovecot
  }
}
ssl = no
userdb {
  args = /opt/dovecot-2.1/etc/dovecot/passwd
  driver = passwd-file
}
verbose_proctitle = yes
protocol imap {
  mail_plugins = acl imap_acl
}


More information about the dovecot mailing list