Version: 1.8 (using KDE 3.4.0 Level "a" , unofficial build of SUSE ) Compiler: gcc version 3.3.3 (SuSE Linux) OS: Linux (i686) release 2.6.5-7.151-default Hello, I'm using KMail from KDE 3.4.0 (SuSE build) and IMAP (without cache, ie. online IMAP). My INBOX displays a curious phenomenon: When I check for new mail and the INBOX is *not* selected, it shows a number of new mails that is far too high (usually in the hundreds). As soon as I click on INBOX this number is updated to show the real number of new mails. For example (right now), in a mailbox where mutt (directly on the server) says "[Msgs:932 New:38 Old:311 Del:873 Flag:1 4.0M]", KMail says "Posteingang (349)". I have no idea whwere it gets this number, but it might be connected with the IMAP folder contents because it is only displayed *after* I check for new mail. Thank you, Jens
I can see where the number has come from (38 + 311 = 349), but I presume it should be showing the number of new msgs rather than new + old. I wonder if this bug is anything to do with #86281 (which I'm still investigating)?
Is it possible that the 311 messages are marked as deleted? Can you please switch off encryption for the account, start ethereal and then start a new-mail-check?
No, mutt shows the 311 messages as "Old", not deleted. I have over 800 "deleted" messages in the mailbox (as shown by Mutt). :-) And KMail definitely did not show 311 messages in the INBOX message list. I can't reproduce this problem right now. I'll get back to you as soon as I can, with an IMAP command log. I don't know if this is related to Bug 86281 (quoted here again to force Bugzilla to link it :-) ) Thanks!
Do you have "automatically compact (expunge) folders" option enabled in that account?
No, definitely not.
in kmail 1.9.1 KDE 3.5.1 Level a on a SuSE 10.0 the numbers of unread messages in SOME (!) imap folders are wrong (usually 1 to much) even a empty folder shows ONE unread message. thunderbird reports it correctly and previous versions of kmail too. IMHO introduced with KDE 3.5
workaround to correct the wrong number: copy a message into the folder and delete it afterwards. it might have to do something with the imap server (SLOX), because the problem was observed on 2 different computers accessing the same imap folder. one of the boxes was a fresh install.
*** Bug 121812 has been marked as a duplicate of this bug. ***
1) the workaround in comment 7 does not work 2) same problem in KDE 35 SVN of today on SUSE10.0/AMD64
interesting: the folders with wrong number of messages are not always the same
for each folder "Compact folder" seems to help. I'll obeserve, if the problem comes up again. BTW I do not know, what this function should do with IMAP folders. IMHO no "user" will usually neither find the folder nor know the size of the folder and if ever it is necessary to compact it. The problem (and possible solution) is found on SUSE 3.5.1 rpm and SVN of today.
Decreasing the severity as "major" is more for bugs that seriously affect the workflow. If you still think that it is a 'major' bug, you can change it back.
IMHO changing the IMAP account settings to "automatically compact folders=ON" solves the problem. I'll observe this. my server splits up the incoming mails into about 15 different subfolders which tend to show wrong numbers of new mails and I can tell you this seriously affects working with kmail.
After changing the settings to "automatically compact folders=ON" this error is gone. I sett the priority to VHI, because it's a very irritating error, but should be easy to fix.
Note that this was submitted against 3.2.2 downstream as Debian #253978.
Is this fixed now?
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.