[Dovecot] Thunderbird and shared mailboxes

Keith Edmunds kae at midnighthax.com
Mon Jun 28 21:48:15 EEST 2010


I'd be grateful for any advice regarding one user sharing a single folder
with another user.

Thanks,
Keith

> To recap: user 'kae' has set an acl sharing his folder 'stuff' with user
> 'def'.
> 
> As kae:
> 
> > 3 getacl stuff
> > * ACL "stuff" "def" lr "kae" lrwstipekxacd
> > 3 OK Getacl completed.
> 
> As user def:
> 
> > 2 list "" *
> > * LIST (\HasNoChildren) "/" "Trash"
> > * LIST (\HasNoChildren) "/" "INBOX"
> > * LIST (\HasNoChildren) "/" "info"
> > * LIST (\HasNoChildren) "/" "customers"
> > 2 OK List completed.
> 
> Timo said:
> 
> > Looks ok. dovecot -n output would help.
> 
> --------------------------------------------------------------------------------
> # dovecot -n
> # 1.2.11: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.26-2-486 i686 Debian 5.0.4 ext3
> log_path: /var/log/dovecot.err
> log_timestamp: %Y-%m-%d %H:%M:%S
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot/login
> login_executable: /usr/lib/dovecot/imap-login
> mail_location: maildir:/home/imapmail/%u
> mbox_write_locks: fcntl dotlock
> mail_plugins: acl imap_acl
> namespace:
>   type: private
>   separator: /
>   inbox: yes
>   list: yes
>   subscriptions: yes
> namespace:
>   type: public
>   separator: /
>   prefix: info/
>   location:
> maildir:/home/imapmail/public/info:CONTROL=/home/imapmail/public/info/.%u.control:INDEX=/home/imapmail/public/info/.%u.index
> list: yes subscriptions: yes
> namespace:
>   type: public
>   separator: /
>   prefix: customers/
>   location:
> maildir:/home/imapmail/public/customers:CONTROL=/home/imapmail/public/customers/.%u.control:INDEX=/home/imapmail/public/customers/.%u.index
> list: yes subscriptions: yes
> namespace:
>   type: shared
>   separator: /
>   prefix: shared/%%u/
>   location: maildir:/home/imapmail/%%u/Maildir:INDEX=~/Maildir/shared/%%u
>   list: children
> auth default:
>   passdb:
>     driver: pam
>   userdb:
>     driver: static
>     args: uid=imapmail gid=imapmail
> plugin:
>   acl: vfile
>   acl_shared_dict: file:/var/tmp/shared-mailboxes
>   mail_log_events: delete undelete expunge copy mailbox_delete
> mailbox_rename mail_log_fields: uid box msgid size from subject
> #
> --------------------------------------------------------------------------------
> 
> > What about if you try to SELECT the mailbox directly?
> 
> I'm not sure that I have the syntax exactly correct; however, as user
> 'def':
> 
> 2 select shared/kae/stuff
> 2 NO Invalid mailbox name: shared/kae/stuff
> 3 select kae/stuff
> 3 NO Mailbox doesn't exist: kae.stuff
> 
> Note: the full path to the mailbox in question
> is /home/imapmail/kae/.stuff
> 
> If I'm using the incorrect syntax, what should it be?
> 
> If the syntax is correct, any ideas why I can't select the mailbox?
> 
> Thanks,
> Keith


-- 
Keith Edmunds

+-------------------------------------------------------------------------+
|    Tiger Computing Ltd    |  Helping businesses make the most of Linux  |
|  "The Linux Specialists"  |       http://www.tiger-computing.co.uk      |
+-------------------------------------------------------------------------+


More information about the dovecot mailing list