Bug 122828 - Inbox emails occasionally duplicate when communicationg with Imap protocol on Exchange server.
Summary: Inbox emails occasionally duplicate when communicationg with Imap protocol on...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-28 11:25 UTC by yuval aviel
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
IMAP packets (5.82 KB, text/plain)
2006-03-05 08:19 UTC, yuval aviel
Details
IMAP packets (5.82 KB, application/octet-stream)
2006-03-05 08:19 UTC, yuval aviel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yuval aviel 2006-02-28 11:25:16 UTC
Version:           1.9.1 (using KDE 3.5.1-2.3.fc4.kde, Fedora Core release 4 (Stentz))
Compiler:          Target: i386-redhat-linux
OS:                Linux (i686) release 2.6.15-1.1830_FC4smp

I use KMail to contact our company's Exchange (2003?) server to read mail. To that end, I asked the sysadmin to open the IMAP protocol.

First, communication is VERY slow,but this has been already discussed before.

Second, when KMail check for new messages, either automatically or manually, the latest message may duplicate. 

I found that if the latest message is "unread" then it is surely duplicated. 

As a consequence, leaving KMail with automatic mail checking over night, ends up with handred of replicas of the same messages in the morning!

I also suspect that messages with attachments may duplicate even if they are read. But I could not find concistancy here.
Comment 1 Carsten Burghardt 2006-03-05 00:16:14 UTC
This may happen when the server sends wrong uids. Any chance to get an 
ethereal trace of the communication when you get duplicates (given that the 
connection is not encrypted)?
Comment 2 yuval aviel 2006-03-05 08:16:57 UTC
I installed ethereal, and used the graphical UI. 
I'll be glad to provide any information, but I need an instruction of how to use ethereal. If you can give a one line command that I can ran in shell - it will help.

I attach what seems to me relevant packets.
Comment 3 yuval aviel 2006-03-05 08:19:13 UTC
Created attachment 14969 [details]
IMAP packets
Comment 4 yuval aviel 2006-03-05 08:19:37 UTC
Created attachment 14970 [details]
IMAP packets
Comment 5 Carsten Burghardt 2006-04-05 22:01:24 UTC
The trace is truncated and does not show the interesting part.
Please start kmail, start the capture and click on the folder when you get 
duplicates. Thanks for your help.
Comment 6 yuval aviel 2006-05-21 08:31:01 UTC
The bug seems to disappear for unclear reason.
You may close this bug.

thanks.
Comment 7 yuval aviel 2006-05-21 08:34:53 UTC
Bug is not showing anymore. Maybe due to changes in the Exchange server.
Comment 8 Bjorge Dijkstra 2006-11-07 09:22:01 UTC
This still happens here with KDE3.5.5 (kubuntu edgy) with a dovecot IMAP server (1.0b3). This IMAP server sits on the same switch as the client, so network issues are probably not the cause.
Symptoms are exactly the same as in original report.
I'll see if i can get an ethereal trace later...