Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-153

JCR Storage structure uses files as imap folders hiding the structure and exposing the underlying storage to users (potentially)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.1
    • None
    • JCR Mailbox
    • None

    Description

      Currently message and folder storage share the same single parent hierachy so that If I have 2 imap folders INBOX and INBOX/test the JCR node structure is

      .../INBOX/2010/05/31/message121231

      .../INBOX.test/2010/05/31/message345345

      Which results in the date structure being part of the folder and the imap folder not being represented as a folder. It also means that messages really are moved, when they are moved.

      The proposed layout is to move the folders into their own hierarchy and have the messages in a sepeate hierachy, still one per user

      so a message in JCR looks like this (my uid is ieb)

      ...ieb/store/2010/06/08/message121243

      • jamesMailboimapfolders = [
        a3de-34ed-2aef-2134-2e34,
        a3de-34ed-2aef-2134-2e35
        ]
        ....

      and the folders like this
      ...ieb/INBOX

      • rep:uuid = a3de-34ed-2aef-2134-2e34
        ...ieb/INBOX/test
      • rep:uuid = a3de-34ed-2aef-2134-2e35

      where jamesMailbox:imapfolders is a REFERENCE type in cnd
      to list a folder, is a query
      message121243 appears in both INBOX and INBOX/test

      There would need to be some changes to the webdav classes/plugins to make this work in webdav.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ianeboston Ian Boston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: