Results 1 to 2 of 2

Thread: [SOLVED] How to subscribe to folders (IMAP) with zmprov ??

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    10
    Rep Power
    4

    Default [SOLVED] How to subscribe to folders (IMAP) with zmprov ??

    I currently use dovecot as my imap server. I use Thunderbird as my email client.
    Thunderbird and dovecot use the ~/.subscriptions file to maintain which folders are subscribed.

    As I import my folders into zimbra (NE 7.1), I can see them fine with the Zimbra web client. I can not see them with Thunderbird as an IMAP client.

    If I subscribe to them from within Thunderbird, I can see them fine.

    My question is where does zimbra maintain this list of what is subscribed for a given user ?

    I know this is stored somewhere within zimbra, because after I subscribe to the folders
    via Thunderbird once, I can move to any other desktop machine and startup Thunderbird
    and see the folders.

    Any insights ?

    Thanks,
    Paul

  2. #2
    Join Date
    Feb 2011
    Posts
    10
    Rep Power
    4

    Default IMAP subscriptions solved

    You can get the folder properties using zmmailbox:

    $ zmmailbox -z -m account@domain.com -v gf /Inbox

    It should show something like this:

    {
    "color": "defaultColor",
    "contentSequence": 1,
    "defaultView": "message",
    "flags": "*",
    "grants": [],
    "id": "2",
    "imapItemCount": 4,
    "imapMODSEQ": 7453,
    "imapUIDNEXT": 489,
    "imapUnreadCount": 0,
    "isCheckedInUI": false,
    "isExcludedFromFreeBusy": false,
    "isSyncEnabled": false,
    "isSyncFolder": false,
    "isSystemFolder": true,
    "itemCount": 4,
    "name": "Inbox",
    "parentId": "1",
    "path": "/Inbox",
    "pathURLEncoded": "/Inbox",
    "size": 77377,
    "subFolders": [],
    "unreadCount": 0
    }


    Notice the "flags": "*" field. Generally, when a folder is subscribed, it will show you a "*". If it is not, the flags field will be empty or it will have other non-related settings. You can change this by running zmmailbox mff (modify folder flag):

    $ zmmailbox -z -m account@domain.com mff /Folder "*"

    And refresh your IMAP client. I have tested this with Thunderbird and it works. Exactly what I was looking for.

Similar Threads

  1. search folders and imap
    By richardw in forum Users
    Replies: 4
    Last Post: 04-27-2011, 04:34 AM
  2. [SOLVED] Enabling IMAP for users created with 'zmprov'?
    By deckard in forum Administrators
    Replies: 1
    Last Post: 10-26-2007, 11:42 AM
  3. Calendar Folders appear in IMAP
    By scottp in forum Users
    Replies: 4
    Last Post: 10-16-2006, 03:15 AM
  4. I can't see all imap folders in Thunderbird
    By Achim.Theobald in forum Users
    Replies: 3
    Last Post: 05-06-2006, 06:53 AM
  5. filters, folders, imap, searches
    By sakoch in forum Users
    Replies: 3
    Last Post: 02-22-2006, 12:29 AM

Posting Permissions

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