Hi Timo, i tried a littel bit playing with shared mailboxes namespace shared { separator = / # %%u gets expanded to the remote user. Instead of %%u you can # also use %%n and %%d. prefix = "shared/" location maildir:/usr/local/virtual/%d:CONTROL=/usr/local/virtual/%d:INDEX=/usr/local/virtual/%d inbox = no list = yes subscriptions = yes hidden = no } should at last show all other users mailboxes when .DEFAULT acl is authenticated lr and dovecot-acl in /usr/local/virtual/%d is authenticated lr too but instead only shared is shown in thunderbird playing with %%u etc in combinations does not lead to working results too (sometimes shared^^ was shown, might be user at domain.de isnt working for shared maildirs, @ could be a problem to maildir....?) your example was namespace shared { separator = / # %%u gets expanded to the remote user. Instead of %%u you can # also use %%n and %%d. prefix = shared/%%u/ location = Maildir:/home/%%u/Maildir:INDEX=~/Maildir/shared/%%u } so something with acl might not working in 1.2 and i think i need more explanation ( examples ...) in using %%u %%d ... to test shared mailboxes there were no usefull log entries which would give some more advice during testing...so it might be my fault and it only config stuff i didnt understand -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
On Oct 6, 2008, at 3:32 AM, Robert Schetterer wrote:> namespace shared { > separator = / > # %%u gets expanded to the remote user. Instead of %%u you can > # also use %%n and %%d. > prefix = "shared/" > location > maildir:/usr/local/virtual/%d:CONTROL=/usr/local/virtual/%d:INDEX=/ > usr/local/virtual/%d%d gets expanded immediately when user logs in. So if your user is user at domain, this gets expanded to: maildir:/usr/local/virtual/domain:CONTROL=..etc.. With %%d it would expand to the destination user's domain, but I don't think you want that either. If your users' mailboxes are in /usr/local/ virtual/%d/%n and you want them to be accessed, you'll need to use / usr/local/virtual/%%d/%%n as the path.> but instead only shared is shown in thunderbirdUnless you manually subscribe to the shared mailboxes, they're not visible to clients. Mailbox listing isn't supported currently. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081006/0c68dd3a/attachment-0002.bin>
Timo Sirainen schrieb:> On Oct 6, 2008, at 3:32 AM, Robert Schetterer wrote: > >> namespace shared { >> separator = / >> # %%u gets expanded to the remote user. Instead of %%u you can >> # also use %%n and %%d. >> prefix = "shared/" >> location >> maildir:/usr/local/virtual/%d:CONTROL=/usr/local/virtual/%d:INDEX=/usr/local/virtual/%d >> > > %d gets expanded immediately when user logs in. So if your user is > user at domain, this gets expanded to: > > maildir:/usr/local/virtual/domain:CONTROL=..etc.. > > With %%d it would expand to the destination user's domain, but I don't > think you want that either. If your users' mailboxes are in > /usr/local/virtual/%d/%n and you want them to be accessed, you'll need > to use /usr/local/virtual/%%d/%%n as the path. > >> but instead only shared is shown in thunderbird > > Unless you manually subscribe to the shared mailboxes, they're not > visible to clients. Mailbox listing isn't supported currently. >Hi Timo, understand manually subscribe is a "must have" currently i will test this will you change this up to stable 1.2 ? -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria