Bug 93812 - duplicate imap inboxes (prefix bug?)
Summary: duplicate imap inboxes (prefix bug?)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.7.1
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
: 123563 212052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-23 21:22 UTC by Idcmp
Modified: 2015-04-12 09:54 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Shows two inboxes in kmail for the same account. (146.19 KB, image/png)
2009-04-08 17:48 UTC, Sergejs Melderis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Idcmp 2004-11-23 21:22:16 UTC
Version:           1.7.1 (Using KDE 3.3.1-2.2 Red Hat) (using KDE KDE 3.3.1)
Installed from:    RedHat RPMs
OS:                Linux

There are a handful of other bugs listed like this one.  I'm using Courier-IMAP.  I have a prefix set to "mail".  On the server, my inbox is called "inbox".  It is a symlink to "/var/spool/mail/mymailbox".  Kmail shows this mailbox twice.  When I get new mail, they both report it and notify me (together in the same popup, with the same name).  Only one of them is listed in the Subscriptions list.  They're both listed in my kmailrc.

Other MUAs, including Evolution and Thunderbird do not have this problem (against the same server).

till on IRC asked me to log this, he said it might have something to do with the prefix..
Comment 1 Idcmp 2004-11-23 21:24:57 UTC
Other interesting bugs like this one: #28498, #51053, #55639.
Comment 2 Carsten Burghardt 2004-11-24 10:26:27 UTC
Are you using IMAP or Disconnected IMAP?
Can I send you a patch to get some debug output?

Comment 3 Idcmp 2004-11-24 19:52:04 UTC
Regular IMAP.  I could test it with disconnected if you want.  

It may take a week or so to get a development environment and a rebuilt kmail going (this is my work desktop), if that's okay with you, upload the patch.  If it could apply cleanly to the 3.3.1 kdepim release of kmail, that'd be even more awesome.
Comment 4 Carsten Burghardt 2004-12-02 23:18:09 UTC
Just uncomment the kdDebug in kmfolderimap.cpp in method slotListResult and 
recompile kmail with debugging enabled. Then get the debug output on the 
console. Thanks!

kdDebug(5006) << name() << ": " << subfolderNames.join(",") << "; inboxOnly:" 
<< it_inboxOnly
<< ", createinbox:" << createInbox << ", hasinbox:" << mAccount->hasInbox() << 
endl;

Comment 5 Matt Douhan 2005-05-28 17:11:13 UTC
with all the namespace changes and related work is still reproducable in more recent versions?
Comment 6 Thomas McGuire 2007-12-15 18:09:46 UTC
*** Bug 123563 has been marked as a duplicate of this bug. ***
Comment 7 Michael Leupold 2008-09-14 16:05:42 UTC
According to Thomas McGuire this has been fixed quite a while ago. Could you please recheck if the bug still happens for you on a recent version of KMail?
Comment 8 Idcmp 2008-09-15 01:04:18 UTC
Hi Michael,

I can't verify this; I no longer have this configuration.

Sorry.

Comment 9 Tom Clift 2008-09-23 15:33:16 UTC
(In reply to comment #7)
> According to Thomas McGuire this has been fixed quite a while ago. Could you
> please recheck if the bug still happens for you on a recent version of KMail?

I still see this kmail 1.9.10.

I can see one folder titled 'inbox' with the special inbox logo, and another folder called 'inbox' further down (sorted alphabetically).  The new message count gets out of sync after using kmail, but it is updated to match the real inbox if I click on the second inbox folder.

Happy to provide further info about my settings/setup if need be.
Comment 10 Michael Leupold 2008-09-23 16:58:55 UTC
(In reply to comment #9)
> Happy to provide further info about my settings/setup if need be.

Information about your setup would be appreciated a lot. Also, do you have any good way of reproducing this (possibly from scratch) or does this only happen for a specific (older) mailbox?
Comment 11 Sergejs Melderis 2009-04-08 17:48:57 UTC
Created attachment 32699 [details]
Shows two inboxes in kmail for the same account.
Comment 12 Christophe Marin 2009-11-20 00:37:39 UTC
*** Bug 212052 has been marked as a duplicate of this bug. ***
Comment 13 Branislav Klocok 2010-12-15 15:38:10 UTC
This bug still exists for kmail 1.13.5 and lotus notes server using dimap on OpenSuse 11.3. When using imap there is no problem.
Comment 14 Malte Eggers 2011-03-28 07:31:28 UTC
I can confirm this, 2 inboxes with disconnected imap on lavabit, only one with normal imap.
Comment 15 Laurent Montel 2015-04-12 09:54:53 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.