[Dovecot] shared namespace problem

Patrick Kaiser patrick at argonius.de
Fri Jan 8 13:47:27 EET 2010


Hi List,

I've got a problem, setting up shared namespaces.
I am trying to setup a Mailbox (Maildir) which is accessible
for some users. (For example mailbox "sales" and only
sales representive have access to it)

Mailboxes can be found under /var/vmail/<username>,
whereas <username> looks like foo.bar or peter.griffin ;)

Now, if I connect via telnet, loggin in as foo.bar and run
a03 SETACL foobar peter.griffin lwrxk

everything seems fine. 
Under /var/vmail/foo.bar is a acl-file dovecot-acl-list
Under /var/vmail/foo.bar/.foobar is a acl-file dovecot-acl
The contents looks ok.
Also there is a generated file /var/vmail/shared-mailboxes.db.

But if i now loggin in as peter.griffin and setup command
a03 LIST "" "*"
or
a03 LIST "" "#shared"

I can not find any shared mailbox. 


Above you can find my actual configuration. I've tried several 
versions of location: under shared namespace, but without success.

Hope someone has a clue and point me into the right direction.


Thanks for your help.


Friendly Regards, 
Patrick




dovecot -n :

# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-686 i686 Debian squeeze/sid ext3
log_timestamp: %Y-%m-%d %H:%M:%S 
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_privileged_group: mail
mail_uid: 1001
mail_gid: 1001
mail_location: maildir:/var/vmail/%n
mail_debug: yes
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugins(default): acl imap_acl
mail_plugins(imap): acl imap_acl
mail_plugins(pop3): 
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_log_max_lines_per_sec: 0
imap_client_workarounds(default): outlook-idle
imap_client_workarounds(imap): outlook-idle
imap_client_workarounds(pop3): 
namespace:
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: shared
  separator: /
  prefix: shared/%%u
  location: maildir:/var/vmail/%%u/shared:INDEX=/var/vmail/%%u/shared
  list: children
lda:
  postmaster_address: postmaster at example.com
  hostname: mail.cronon-ag.de
  mail_plugins: acl
  mail_plugin_dir: /usr/lib/dovecot/modules/lda
  sendmail_path: /usr/lib/sendmail
  auth_socket_path: /var/run/dovecot/auth-master
auth default:
  mechanisms: plain login digest-md5
  passdb:
    driver: ldap
    args: /etc/dovecot/dovecot-ldap.conf
  userdb:
    driver: ldap
    args: /etc/dovecot/dovecot-ldap.conf
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: vmail
plugin:
  acl: vfile
  acl_shared_dict: file:/var/vmail/shared-mailboxes.db


-- 
Name      : Patrick Kaiser
Email     : patrick.kaiser at argonius.de
Website   : http://www.argonius.de
GPG Key   : http://www.argonius.de/key.pub


More information about the dovecot mailing list