SOGo Folder Share

Issue #40 resolved
Anonymous created an issue

When attempting to share folders in SOGo as postmaster after adding the permissions for user1 to access the inbox and logging in as user1 no shared folders are displayed.

Setup iRedMail-0.9.0-rc3 CentOS 6.6 X86_64 selinux disable, SOGo, nGinx, mysql, No Roundcube.

Sogo Log [17/Dec/2014:09:48:02 GMT] "POST /SOGo/so/postmaster@domain.com/Mail/0/folderINBOX/uids HTTP/1.0" 200 240/92 0.332 - - 0 [17/Dec/2014:09:48:04 GMT] "GET /SOGo/so/postmaster@domain.com/Mail/0/folderINBOX/acls HTTP/1.0" 200 2885/0 0.289 10357 72% 64K [17/Dec/2014:09:48:07 GMT] "GET /SOGo/so/postmaster@domain.com/Contacts/userFolders HTTP/1.0" 200 3514/0 0.022 11855 70% 20K [17/Dec/2014:09:48:12 GMT] "POST /SOGo/so/postmaster@domain.com/usersSearch?search=user1 HTTP/1.0" 200 58/0 0.005 - - 8K [17/Dec/2014:09:48:17 GMT] "POST /SOGo/so/postmaster@domain.com/Mail/0/folderINBOX/addUserInAcls?uid=user1%40domain.com HTTP/1.0" 204 0/0 1.230 - - 144K [17/Dec/2014:09:48:20 GMT] "GET /SOGo/so/postmaster@domain.com/Mail/0/folderINBOX/userRights?uid=user1%40domain.com HTTP/1.0" 200 4594/0 0.432 16227 71% 24K [17/Dec/2014:09:48:32 GMT] "POST /SOGo/so/postmaster@domain.com/Mail/0/folderINBOX/saveUserRights HTTP/1.0" 200 531/45 0.726 - - 0 [17/Dec/2014:09:48:48 GMT] "GET /SOGo/so/postmaster@domain.com/Mail/0/folderINBOX/expunge HTTP/1.0" 200 54/0 0.506 - - 0 Dec 17 09:48:48 sogod [1089]: SOGoUserHomePage user 'postmaster@domain.com' logged off

Comments (4)

  1. Zhang Huangbin repo owner

    You can fix it with below steps:

    1: ACL is not enabled in Dovecot by default, so to share folder in SOGo/Roundcube, you must enable ACL plugin in Dovecot first.

    # Part of file /etc/dovecot/dovecot.conf
    
    mail_plugins = ... acl
    protocol imap {
        mail_plugins = ... imap_acl
        ...
    }
    

    2: Restart Dovecot service, and share folder in SOGo again.

  2. Zhang Huangbin repo owner

    You can verify whether or not the folder is shared with telnet command:

    # telnet localhost 143
    . login user1@domain.com [password]
    . LIST "" "*"
    

    If someone shared an IMAP folder to user1@, shared folder will be listed in "LIST" command as shown above.

    Sample output:

    . list "" "*"
    * LIST (\HasNoChildren) "/" "Sent"
    * LIST (\HasNoChildren) "/" "Drafts"
    * LIST (\HasNoChildren) "/" "Junk"
    * LIST (\HasNoChildren) "/" "Trash"
    * LIST (\HasNoChildren) "/" "INBOX"
    * LIST (\Noselect \HasChildren) "/" "Shared"
    * LIST (\Noselect \HasChildren) "/" "Shared/postmaster@a.cn"
    * LIST (\HasNoChildren) "/" "Shared/postmaster@a.cn/Junk"
    . OK List completed.
    
  3. Log in to comment