So we have a mail system built on postfix-courier-saslauthd with unix users and maildirs and TONS of shared folders. Both T'bird (2.0.0.21) and Roundcube exhibits weird symptoms with subscriptions.
In Roundcube, if I go into Personal Settings -> Folders, 9 out of 10 times, it automatically subscribes me to ALL folders. Not cool.
In Thunderbird, when I open Subscribe..., then start going thru the folder structure (it loads them dynamically), it starts subscribing me to random folders, sometime an entire subfolder tree.
I'm starting to suspect that something weird is going on server-side. Anyone got any ideas? It's very, very annoying.
EDIT: ran T'bird in debug mode. I get tons of these messages: 1628149872[1e71f20]: considering playing queued url:imap://[email protected]:143/unsubscribe>.shared/a/sub/folder
-1628149872[1e71f20]: creating protocol instance to play queued url:imap://[email protected]:143/unsubscribe>.shared/a/sub/folder
-1628149872[1e71f20]: failed creating protocol instance to play queued url:imap://[email protected]:143/unsubscribe>.shared/a/sub/folder
I recommend to consider using dovecot instead of courier-imap.
Needs a bit more detail.
Subscribes to only shared, only private, or both?
Most likely sounds like a bug in courier, but check the courierimapsubscribed file and see if there's anything strage there.
Update: Based on the courier docs: http://www.courier-mta.org/imap/README.sharedfolders.html
It seems like user subscriptions to shared folders depend on how they're implemented.
RoundCube should not automatically subscribe you to all folders. Can you tell me which version you are using? I'd help you get this sorted. Hopefully you are running one of the latest releases.
Btw, I am using courier-imap as well (with Postfix). And I personally am folder-crazy. And it all works for me.
[Disclaimer: I'm one of the developers of RoundCube.]
--Till
Maybe you're looking for some other solution as well: I have had best experience with Cyrus imap. More capabilities than courier and much much faster (and this is with a dozen users already).
I love RoundCube and use it with Gmail Apps, but it does seem to do some odd things with folders. I've had it created and copy folders too.
Waiting for a production release might be better.
In the IMAP protocol, the subscription bit is saved on the server side. I wonder if your IMAP server is saving that bit on the folder itself. If that is the case, then all of your users will be "subscribed" to the same folder.
How do you have your shared folders set up? If you just create symlinks from the shared folders into the user's maildir, you'll likely experience this problem.