Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-2011, 02:05 PM
Junior Member
 
Posts: 8
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
Reply With Quote
  #2 (permalink)  
Old 06-22-2011, 07:53 AM
Junior Member
 
Posts: 8
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.