Hello everyone, I'm trying to configure dovecot to allow users to share their imap folders. I've followed the wiki and i'm near to accomplish my tasks, when i set ACL properly on folders using imap commands the other user can see the folder as shared, but i can't subscribe to it or even access its content using any email client (like thunderbird) couse it looks like the path to the shared folder is not complete. i mean when i go to "manage subscriptions" i can see the shared folder from the other users as "shared/user at domain/sharedfoldername" but since only "sharedfoldername" is present i cant subscribe to it. am i missing somethimg? like do i need to setup a particular directory tree on the filesystem? thnx in advice for your help. Best regards. Francesco.
On Tue, 2010-02-09 at 16:44 +0100, Rampage wrote:> i mean when i go to "manage subscriptions" i can see the shared folder > from the other users as "shared/user at domain/sharedfoldername" but since > only "sharedfoldername" is present i cant subscribe to it.I don't really understand. 1) Show your dovecot -n output 2) Talk IMAP protocol directly. What does LIST command show? http://wiki.dovecot.org/TestInstallation -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100209/0dca83c2/attachment-0002.bin>
Timo Sirainen ha scritto:> On Tue, 2010-02-09 at 16:44 +0100, Rampage wrote: > >> i mean when i go to "manage subscriptions" i can see the shared folder >> from the other users as "shared/user at domain/sharedfoldername" but since >> only "sharedfoldername" is present i cant subscribe to it. >> > > I don't really understand. > > 1) Show your dovecot -n output > > 2) Talk IMAP protocol directly. What does LIST command show? > http://wiki.dovecot.org/TestInstallation > >Hi, thnx for your reply. here is my dovecot -n output ------------------- # 1.2.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-6-686 i686 Debian 4.0 ext3 log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap pop3 imaps pop3s ssl: no ssl_cert_file: /etc/ssl/easymail.crt ssl_key_file: /etc/ssl/easymail.key 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 login_greeting: EasyM at IL ready. mail_location: maildir:/var/utenti/%d/%n/Maildir mmap_disable: yes lock_method: dotlock 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 imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): oe-ns-eoh namespace: type: private separator: / prefix: INBOX/ inbox: yes list: yes subscriptions: yes namespace: type: shared separator: / prefix: shared/%%u/ location: maildir:/var/utenti/%d/%%n/Maildir:INDEX=/var/utenti/%d/%n/Maildir/shared/%%u list: children lda: auth_socket_path: /var/run/dovecot/auth-master mail_plugins: cmusieve acl auth default: mechanisms: login plain verbose: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf passdb: driver: pam userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: static args: uid=65000 gid=65000 mail=maildir:/var/utenti/ADS/%Lu/Maildir socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix plugin: acl: vfile acl_shared_dict: file:/var/utenti/%d/shared-mailboxes.db ------------------- and here is what happens when i list the imap folders via telnet ------------- b list "" * * LIST (\HasChildren) "/" "INBOX" * LIST (\HasNoChildren) "/" "INBOX/Trash" * LIST (\Noselect \HasChildren) "/" "shared/cattivo at ciccio.it" * LIST (\HasNoChildren) "/" "shared/cattivo at ciccio.it/bumbum" b OK List completed. c logout * BYE Logging out c OK Logout completed. Connection closed by foreign host. ------------- as you can see the shared folder is listed but something seems to be wrong in the path. thnx in advice for your help. Best regards Francesco.