Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Aug 2010
    Location
    Switzerland
    Posts
    18

    Default Unable to share a folder with another user (in the same context)

    Hi

    I'm unable to share a mail and/or groupware folder with another user from the same context.

    Groupware folder (for example calendar):
    Here I can't add permissions for another user, only groups are displayed (Properties->Permissions->Add->Select Users)

    Mail folder:
    No users are visible and the groups are inactive/grayed out
    (Properties->Permissions->Add->Select Users)

    Setup:
    OX: 6.18.0 Rev2 ( 2010-07-30 09:51:43 ), open-xchange-folder-json not installed

    IMAP-Server: Dovecot with enabled ACL-Support:
    Code:
    INFO: 
            IMAP server [imap.example.com/xxx.xxx.xxx.xxx:143] CAPABILITY response indicates support of ACL extension
            and specifies "RIGHTS=texk" capability.
            ACL extension according to RFC 4314 is going to be used.
    Do I have to configure anything to get folder sharing for users to work?


    Many thanks for your help
    Christian
    Last edited by chrigu; 08-11-2010 at 04:56 PM.

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    do you have the global address book enabled? This is required to share groupware folders. Mail folders can only be shared to users, not to groups since groups don't exist on the IMAP server.

    Greetings

  3. #3
    Join Date
    Aug 2010
    Location
    Switzerland
    Posts
    18

    Default

    Quote Originally Posted by Martin Braun View Post
    do you have the global address book enabled? This is required to share groupware folders. Mail folders can only be shared to users, not to groups since groups don't exist on the IMAP server.
    Indeed that was the problem. Thank you!

    Now I'm able to share groupware folders between users.
    However sharing mail folders still doesn't work correctly. After setting permissions on a mail folder for another user via Folder Properties -> Permissions -> User Add -> Save, the permissions/ACLs will be set correctly (I could also verify this on the Dovecot side). After switching to another folder and going back to the folder on which I had set the permissions before, no permission settings are visible anymore...

    When I login with the second user (for whom I had shared the mail folder before) subscribing the previously shared mail folder via Subscribe Folder seems to work. But when I go back to the subscription list, the subscription check-box is unchecked, and the folder doesn't appear in the e-mail tree.

    Dovecot debug output in:
    Code:
    A3 NOOP
    A4 NOOP
    A5 LIST "" shared/user1@example.com/share-test1
    A6 LIST "" shared/user1@example.com/share-test1
    A7 LSUB "" "shared/user1@example.com/share-test1/%"
    A8 MYRIGHTS shared/user1@example.com/share-test1
    A9 STATUS shared/user1@example.com/share-test1 (MESSAGES RECENT UNSEEN UIDNEXT UIDVALIDITY)
    A10 LSUB "" shared/user1@example.com/share-test1
    A11 SELECT shared/user1@example.com/share-test1
    A12 NOOP
    A13 LIST "" shared/user1@example.com/share-test1
    A14 NOOP
    A15 SUBSCRIBE shared/user1@example.com/share-test1
    A16 SUBSCRIBE shared/user1@example.com/share-test1
    A17 NOOP
    A18 NOOP
    A19 LIST "" ""
    A20 LIST "" ""
    A21 LIST "" "%"
    A22 LSUB "" "%"
    A23 CREATE 1281598025449
    A24 DELETE 1281598025449
    A25 NOOP
    A26 NOOP
    A27 LIST "" ""
    A28 LIST "" ""
    A29 LIST "" "%"
    A30 LSUB "" "%"
    A31 NOOP
    A32 NOOP
    A33 LIST "" "%"
    A34 NAMESPACE
    A35 LIST "" ""
    A36 LIST "" Spam
    A37 LSUB "" "Spam/%"
    A38 MYRIGHTS Spam
    A39 STATUS Spam (MESSAGES RECENT UNSEEN UIDNEXT UIDVALIDITY)
    A40 LSUB "" Spam
    A41 GETACL Spam
    A42 SELECT Spam
    A43 LIST "" Trash
    A44 LSUB "" "Trash/%"
    A45 MYRIGHTS Trash
    A46 STATUS Trash (MESSAGES RECENT UNSEEN UIDNEXT UIDVALIDITY)
    A47 LSUB "" Trash
    A48 GETACL Trash
    A49 SELECT Trash
    A50 LIST "" "Sent Items"
    A51 LSUB "" "Sent Items/%"
    A52 MYRIGHTS "Sent Items"
    A53 STATUS "Sent Items" (MESSAGES RECENT UNSEEN UIDNEXT UIDVALIDITY)
    A54 LSUB "" "Sent Items"
    A55 GETACL "Sent Items"
    A56 SELECT "Sent Items"
    A57 LIST "" Drafts
    A58 LSUB "" "Drafts/%"
    A59 MYRIGHTS Drafts
    A60 STATUS Drafts (MESSAGES RECENT UNSEEN UIDNEXT UIDVALIDITY)
    A61 LSUB "" Drafts
    A62 GETACL Drafts
    A63 SELECT Drafts
    A64 LIST "" INBOX
    A65 LSUB "" "INBOX/%"
    A66 MYRIGHTS INBOX
    A67 STATUS INBOX (MESSAGES RECENT UNSEEN UIDNEXT UIDVALIDITY)
    A68 GETACL INBOX
    A69 SELECT INBOX
    A70 LIST "" shared
    A71 LSUB "" "shared/%"
    A72 LSUB "" shared
    A73 LOGOUT
    Dovecot debug output out:
    Code:
    A2 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHR
    ES WITHIN CONTEXT=SEARCH LIST-STATUS ACL RIGHTS=texk QUOTA ACL RIGHTS=texk] Logged in
    A3 OK NOOP completed.
    A4 OK NOOP completed.
    * LIST (\HasNoChildren) "/" "shared/user1@example.com/share-test1"
    A5 OK List completed.
    * LIST (\HasNoChildren) "/" "shared/user1@example.com/share-test1"
    A6 OK List completed.
    A7 OK Lsub completed.
    * MYRIGHTS "shared/user1@example.com/share-test1" lrwstped
    A8 OK Myrights completed.
    * STATUS "shared/user1@example.com/share-test1" (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1281596929 UNSEEN 0)
    A9 OK Status completed.
    * LSUB () "/" "shared/user1@example.com/share-test1"
    A10 OK Lsub completed.
    * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
    * 0 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 1281596929] UIDs valid
    * OK [UIDNEXT 1] Predicted next UID
    * OK [HIGHESTMODSEQ 1] Highest
    A11 OK [READ-WRITE] Select completed.
    A12 OK NOOP completed.
    * LIST (\HasNoChildren) "/" "shared/user1@example.com/share-test1"
    A13 OK List completed.
    A14 OK NOOP completed.
    A15 OK Subscribe completed.
    A16 OK Subscribe completed.
    A17 OK NOOP completed.
    A18 OK NOOP completed.
    * LIST (\Noselect) "/" ""
    A19 OK List completed.
    * LIST (\Noselect) "/" ""
    A20 OK List completed.
    * LIST (\HasNoChildren) "/" "Spam"
    * LIST (\HasNoChildren) "/" "Trash"
    * LIST (\HasNoChildren) "/" "Sent Items"
    * LIST (\HasNoChildren) "/" "Drafts"
    * LIST (\HasNoChildren) "/" "INBOX"
    * LIST (\Noselect \HasChildren) "/" "shared"
    A21 OK List completed.
    * LSUB () "/" "Spam"
    * LSUB () "/" "Trash"
    * LSUB () "/" "Sent Items"
    * LSUB () "/" "Drafts"
    * LSUB (\Noselect) "/" "shared"
    A22 OK Lsub completed.
    A23 OK Create completed.
    A24 OK Delete completed.
    A25 OK NOOP completed.
    A26 OK NOOP completed.
    * LIST (\Noselect) "/" ""
    A27 OK List completed.
    * LIST (\Noselect) "/" ""
    A28 OK List completed.
    * LIST (\HasNoChildren) "/" "Spam"
    * LIST (\HasNoChildren) "/" "Trash"
    * LIST (\HasNoChildren) "/" "Sent Items"
    * LIST (\HasNoChildren) "/" "Drafts"
    * LIST (\HasNoChildren) "/" "INBOX"
    * LIST (\Noselect \HasChildren) "/" "shared"
    A29 OK List completed.
    * LSUB () "/" "Spam"
    * LSUB () "/" "Trash"
    * LSUB () "/" "Sent Items"
    * LSUB () "/" "Drafts"
    * LSUB (\Noselect) "/" "shared"
    A30 OK Lsub completed.
    A31 OK NOOP completed.
    A32 OK NOOP completed.
    A33 OK List completed.
    * NAMESPACE (("" "/")) (("shared/" "/")) NIL
    A34 OK Namespace completed.
    * LIST (\Noselect) "/" ""
    A35 OK List completed.
    * LIST (\HasNoChildren) "/" "Spam"
    A36 OK List completed.
    A37 OK Lsub completed.
    * MYRIGHTS "Spam" lrwstipekxacd
    A38 OK Myrights completed.
    * STATUS "Spam" (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1281597852 UNSEEN 0)
    A39 OK Status completed.
    * LSUB () "/" "Spam"
    A40 OK Lsub completed.
    * ACL "Spam" "user2@example.com" lrwstipekxacd
    A41 OK Getacl completed.
    * OK [CLOSED] Previous mailbox closed.
    * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
    * 0 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 1281597852] UIDs valid
    * OK [UIDNEXT 1] Predicted next UID
    * OK [HIGHESTMODSEQ 1] Highest
    A42 OK [READ-WRITE] Select completed.
    * LIST (\HasNoChildren) "/" "Trash"
    A43 OK List completed.
    A44 OK Lsub completed.
    * MYRIGHTS "Trash" lrwstipekxacd
    A45 OK Myrights completed.
    * STATUS "Trash" (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1281597853 UNSEEN 0)
    A46 OK Status completed.
    * LSUB () "/" "Trash"
    A47 OK Lsub completed.
    * ACL "Trash" "user2@example.com" lrwstipekxacd
    A48 OK Getacl completed.
    * OK [CLOSED] Previous mailbox closed.
    * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
    * 0 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 1281597853] UIDs valid
    * OK [UIDNEXT 1] Predicted next UID
    * OK [HIGHESTMODSEQ 1] Highest
    A49 OK [READ-WRITE] Select completed.
    * LIST (\HasNoChildren) "/" "Sent Items"
    A50 OK List completed.
    A51 OK Lsub completed.
    * MYRIGHTS "Sent Items" lrwstipekxacd
    A52 OK Myrights completed.
    * STATUS "Sent Items" (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1281597854 UNSEEN 0)
    A53 OK Status completed.
    * LSUB () "/" "Sent Items"
    A54 OK Lsub completed.
    * ACL "Sent Items" "user2@example.com" lrwstipekxacd
    A55 OK Getacl completed.
    * OK [CLOSED] Previous mailbox closed.
    * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
    * 0 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 1281597854] UIDs valid
    * OK [UIDNEXT 1] Predicted next UID
    * OK [HIGHESTMODSEQ 1] Highest
    A56 OK [READ-WRITE] Select completed.
    A57 OK List completed.
    A58 OK Lsub completed.
    * MYRIGHTS "Drafts" lrwstipekxacd
    A59 OK Myrights completed.
    * STATUS "Drafts" (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1281597855 UNSEEN 0)
    A60 OK Status completed.
    * LSUB () "/" "Drafts"
    A61 OK Lsub completed.
    * ACL "Drafts" "user2@example.com" lrwstipekxacd
    A62 OK Getacl completed.
    * OK [CLOSED] Previous mailbox closed.
    * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
    * 0 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 1281597855] UIDs valid
    * OK [UIDNEXT 1] Predicted next UID
    * OK [HIGHESTMODSEQ 1] Highest
    A63 OK [READ-WRITE] Select completed.
    * LIST (\HasNoChildren) "/" "INBOX"
    A64 OK List completed.
    A65 OK Lsub completed.
    * MYRIGHTS "INBOX" lrwstipekxacd
    A66 OK Myrights completed.
    * STATUS "INBOX" (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1281597856 UNSEEN 0)
    A67 OK Status completed.
    * ACL "INBOX" "user2@example.com" lrwstipekxacd
    A68 OK Getacl completed.
    * OK [CLOSED] Previous mailbox closed.
    * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
    * 0 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 1281597856] UIDs valid
    * OK [UIDNEXT 1] Predicted next UID
    * OK [HIGHESTMODSEQ 1] Highest
    A69 OK [READ-WRITE] Select completed.
    * LIST (\Noselect \HasChildren) "/" "shared"
    A70 OK List completed.
    * LSUB (\Noselect) "/" "shared/user1@example.com"
    * LSUB () "/" "shared/"
    A71 OK Lsub completed.
    A72 OK Lsub completed.
    * BYE Logging out
    A73 OK Logout completed.
    Thanks and regards
    Christian

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi Christian,

    we've multiple known issues with folder subscriptions in 6.18-rev2. Please check the next RC which will be available in a few days. It will be announced through the forums etc.

    Greetings

  5. #5
    Join Date
    Aug 2010
    Location
    Switzerland
    Posts
    18

    Default

    Ok, thanks for your prompt answer. I'm going to test it as soon as the new RC is available.

  6. #6
    Join Date
    Feb 2008
    Location
    Southern Bavaria - where others spend their vacations :)
    Posts
    129

    Default

    Quote Originally Posted by Martin Braun View Post
    Hi,
    Mail folders can only be shared to users, not to groups since groups don't exist on the IMAP server.
    Yes, we can! ;-)
    It depends on the imap-Server and how (and who <g>) it is implemented.
    We use cyrus including the group-ACLs and it works fine for us and all our customers. Only for OX-SE/-HE and Reseller-HE. Not for -AE yeat.
    Can be administrated by http://oxadm.de

    Greets, Dirk Kutsche
    pro-ite GmbH
    http://pro-ite.de
    Last edited by pro-ite; 08-12-2010 at 05:49 PM.

  7. #7
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Yeah well, i took conventional installation as example, of course the sky becomes the limit if pro-ite is implementing the mail system

  8. #8
    Join Date
    Aug 2010
    Location
    Switzerland
    Posts
    18

    Default

    Quote Originally Posted by Martin Braun View Post
    we've multiple known issues with folder subscriptions in 6.18-rev2. Please check the next RC which will be available in a few days.
    IMAP folder sharing still doesn't work with 6.18.0-Rev4. Can you provide any ETA or bug ID for this issue?

    Thanks and regards
    Christian

  9. #9
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    what Dovecot Version are you using? There are some issues left with Dovecot 2.0. If you're using Dovecot 1.x, please open a new bug report for that matter.

    Greetings

  10. #10
    Join Date
    Aug 2010
    Location
    Switzerland
    Posts
    18

    Default

    It's Dovecote 2.0.1, so I guess I have to wait

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •