[Dovecot] Shared mailbox not showing in list

Tom Clark tom at elysium.ltd.uk
Fri Jul 8 12:05:21 EEST 2011


I've managed to sort this myself. For some reason %%u doesn't work. When I
replaced it with %%n it works fine.

I also hardcorded the location to /var/vpopmail/domains/%%d/%%n/Maildir.

Not sure if this is a bug or an incorrect config on my part.

-----Original Message-----
From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] On
Behalf Of Tom Clark
Sent: 08 July 2011 9:33 AM
To: dovecot at dovecot.org
Subject: [Dovecot] Shared mailbox not showing in list

I've setup a shared folder on my server which isn't showing in the list
command for the user it's shared with.

Can someone help? I have done everything correctly I believe.

The user sharing their mailbox is support@, while I'm the user being shared
with, tom@

namespace {
  type = shared
  separator = .
  prefix = Shared.%%u.
  location = maildir:%%h/Maildir:INDEX=~/Maildir/Shared/%%u
  subscriptions = no
  list = children
}

mail_plugins = acl
protocol imap {
  mail_plugins = $mail_plugins imap_acl
}

plugin {
  acl = vfile
}

# Support for multiple domains
plugin {
  acl_shared_dict = file:/var/vpopmail/domains/%d/shared-mailboxes
}

This what is in the dict file says:

shared/shared-boxes/user/tom at mailbox.com/support at mailbox.com

When running a GETACL as support at mailbox.com I get:

3 getacl Support
* ACL "Support" "tom at mailbox.com" lr "support at mailbox.com" lrwstipekxacd
3 OK Getacl completed.

However when I do a LIST "" * as tom at mailbox.com It doesn't have any mention
of the Shared maildir.

* LIST (\HasChildren) "." "Sent"
* LIST (\HasNoChildren) "." "Sent.Drafts"
* LIST (\HasNoChildren) "." "Sent Messages"
* LIST (\HasNoChildren) "." "Trash"
* LIST (\HasChildren) "." "INBOX"




More information about the dovecot mailing list