Hi,
In behalf of my colleague Daniel I will give additional information.

On 10.08.2010 16:09, Timo Sirainen wrote:
On Tue, 2010-08-10 at 09:35 +0200, Daniel Stoye wrote:

1 list "" "*"
..
* LIST (\HasNoChildren) "/" "FremdeOrdner/user2/Drafts"
* LIST (\HasNoChildren) "/" "FremdeOrdner/user2/INBOX"
* LIST (\HasNoChildren) "/" "FremdeOrdner/user3/INBOX"

INBOXes get listed..

2 list "" "FremdeOrdner/%"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/user2"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/user3"
2 OK List completed.

Users get listed ok..

3 list "" "FremdeOrdner/%/%"
* LIST (\HasNoChildren) "/" "FremdeOrdner/user2/Drafts"
3 OK List completed.

The INBOXes should have been listed here. I tried and it works fine with
me:

Sorry, we have this problem here.

~user2/maildir/dovecot-acl-list:
1281351959 Drafts
1281352773 INBOX

~user2/maildir/Drafts/dovecot-acl: user=user1 ilrws
and
~user2/maildir/dovecot-acl:     user=user1 ilrws

Did I understand you right "~user2/maildir" is the INBOX and so ~user2/maildir/dovecot-acl holds the rights of other users to the INBOX?

user1:
1 list "" "*"
* LIST (\HasNoChildren) "/" "Drafts"
* LIST (\HasNoChildren) "/" "Trash"
* LIST (\HasNoChildren) "/" "Junk"
* LIST (\HasNoChildren) "/" "Sent"
* LIST (\HasNoChildren) "/" "AutoCleanSpam"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/user2"
* LIST (\HasNoChildren) "/" "FremdeOrdner/user2/Drafts"
* LIST (\HasNoChildren) "/" "FremdeOrdner/user2/INBOX"
1 OK List completed.

and
2 list "" "FremdeOrdner/%"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/user2"
2 OK List completed.
3 list "" "FremdeOrdner/%/%"
* LIST (\HasNoChildren) "/" "FremdeOrdner/user2/Drafts"
3 OK List completed.

At this point we are missing "FremdeOrdner/user2/INBOX".
Your list command are looking good. Where is the difference?


1 list "" "*"
..
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/t.s"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/tss2"
* LIST (\HasNoChildren) "/" "FremdeOrdner/t.s/INBOX"
* LIST (\HasNoChildren) "/" "FremdeOrdner/tss2/Drafts"
* LIST (\HasNoChildren) "/" "FremdeOrdner/tss2/INBOX"
1 OK List completed.
2 list "" "FremdeOrdner/%"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/t.s"
* LIST (\Noselect \HasChildren) "/" "FremdeOrdner/tss2"
2 OK List completed.
3 list "" "FremdeOrdner/%/%"
* LIST (\HasNoChildren) "/" "FremdeOrdner/t.s/INBOX"
* LIST (\HasNoChildren) "/" "FremdeOrdner/tss2/Drafts"
* LIST (\HasNoChildren) "/" "FremdeOrdner/tss2/INBOX"
3 OK List completed.

Also from your previous mail:

The dovecot config:
mail_access_groups: sysdov
mail_privileged_group: sysdov

These two above are unnecessary, because you already have
mail_gid=sysdov.

mail_uid: sysdov
mail_gid: sysdov

But this whole output is from Dovecot v1.x's dovecot -n output
Yes. We started testing shared mailboxes with v1.x and it's from a former email.

. Are you
really using v2.0 or v1.2?

Currently we have
/usr/dovecot-2/sbin/dovecot -n
# 2.0.rc4: /usr/dovecot-2/etc/dovecot/dovecot.conf
# OS: SunOS 5.10 sun4v

first_valid_gid = 20
first_valid_uid = 20
listen = a.b.c.d
log_path = /var/log/dovecot
mail_location = maildir:~/maildir:INDEX=/addons/index/%u:CONTROL=~/control:LAYOUT=fs
mail_plugins = autocreate expire
mail_uid = sysdov
namespace {
  inbox = yes
  list = yes
  location =
  prefix =
  separator = /
  subscriptions = yes
  type = private
}
namespace {
  list = yes
location = maildir:%%h/maildir:CONTROL=~/control/FremdeOrdner/%%u:LAYOUT=fs
  prefix = FremdeOrdner/%%u/
  separator = /
  subscriptions = no
  type = shared
}

...

Thanks for your hints concerning separated control directories.


--
Regards --- Burckhard Schmidt

Reply via email to