Bug 227638 - Can't subscibe/unsubscribe folder when more then 999 items on the IMAP server
Summary: Can't subscibe/unsubscribe folder when more then 999 items on the IMAP server
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-19 09:46 UTC by Milos Novotny
Modified: 2015-04-12 10:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Novotny 2010-02-19 09:46:53 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Gentoo Packages

Hi all,

When I do Serverside subscription on IMAP server there is more then 999 folders, I see only 999 folders and the message "Loading... (999 matching) under Search field. Button "Reload list" and checkbox "Subscribed only" are grey and can't be used.

I can select some folders via checkbox and confirm OK. But these selections are not saved. When I reopen Serverside subscription previously selected items are stil unchecked.

Kind regards,
Milos Novotny
Comment 1 PJ Beers 2010-03-19 10:06:40 UTC
I have the same problem with KMail / Kontact. I have tried with Slackware 12.2 (KDE 3.5.10) and Slackware 13 (KDE 4.2.4). Both have the same problem.

Incidentally, this bug renders KMail quite useless in big corporate environments. Where I work, we have lots of public folders on an Exchange server. Each time I check my email, I get several notices that I don't have access to some public folder. So every time I would check my email, KMail needs active user interaction to proceed.

Furthermore, in my experience this bug is one of several bugs that make it very hard to configure KMail / Kontact for use with an Exchange server. I've written a little blog post about it at http://floorenpj.xs4all.nl/blog/?p=97 .

I'd be more than happy to try and test things, if necessary.
Comment 2 Paul Gideon Dann 2010-07-10 11:22:49 UTC
I'm seeing this too, connected to an Exchange Server (2003 I think).  Rather frustrating :(
Comment 3 Paul Gideon Dann 2010-07-10 13:44:07 UTC
I think there must be a way to manually add certain folders to the list of locally unsubscribed folders in ~/.kde4/share/config/kmailrc.  I haven't quite figured it out though.  Could anyone lend a hand?
Comment 4 Paul Gideon Dann 2010-07-10 14:23:14 UTC
OK, I think I've found a way to hack the KMail config + cache to get rid of the "Public Folders" when connecting to an Exchange Servers via IMAP:

* Close KMail
* Open ~/.kde4/share/config/kmailrc
* Find the "Account" section corresponding to your Exchange account.  This will probably have a line near the top saying: 2="Public Folders/" or similar.  Delete that line.  Check for other lines in the section that might refer to that folder too.
* Ensure locally-subscribed-folders=true
* Set locallyUnsubscribedFolders=/Public Folders/
* Go to ~/.kde4/apps/kmail/dimap and do "ls -la"
* Go into the directory that looks like .xxxxx.directory, that refers to your exchange account.
* do ls -la again
* Remove *all files & folders* referring to "Public Folders".  There should be "Public Folders", ".Public Folders.directory", and some other files.  Make sure they're all gone.
* Start KMail and cross your fingers :)

I hope this helps someone; get in touch if you need more help.
Comment 5 Laurent Montel 2015-04-12 10:22:47 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.