6.0.0-beta1
7/12/25

[#13985] Outlook 2013 clients showing duplicate emails
Summary Outlook 2013 clients showing duplicate emails
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester tim.odriscoll (at) lambrookschool (dot) co (dot) uk
Created 05/15/2015 (3711 days ago)
Due
Updated 05/24/2015 (3702 days ago)
Assigned 05/18/2015 (3708 days ago)
Resolved 05/24/2015 (3702 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/24/2015 06:47:38 PM Michael Rubinsky State ⇒ Resolved
 
05/20/2015 10:49:15 AM tim (dot) odriscoll (at) lambrookschool (dot) co (dot) uk Comment #10 Reply to this comment
Seems good so far. All items synchronised. No apparent duplicate 
emails, but I'll know for sure in the morning as that's when they were 
happening before the update.

After the update calendar reminders are no longer able to be dismissed 
though.. I'll create a new ticket.

Many thanks for your help, Mike.

Tim
05/19/2015 08:42:37 PM tim (dot) odriscoll (at) lambrookschool (dot) co (dot) uk Comment #9 Reply to this comment
Please have the user completely remove and recreate the account. The 
log you provided me shows that OL is still synching from an existing 
synckey.
Thanks Mike. I did that and it looked hopeful (started to sync emails 
properly). I'll check again in the morning if her huge calendar has 
come through and that other users are OK.

Tim
05/19/2015 03:25:46 PM Michael Rubinsky Comment #8 Reply to this comment
I'll PM you a full sync log from one of my users from when I reset 
her device's state to when Outlook has finished sync'ing.
Please have the user completely remove and recreate the account. The 
log you provided me shows that OL is still synching from an existing 
synckey.
05/19/2015 02:26:18 PM tim (dot) odriscoll (at) lambrookschool (dot) co (dot) uk Comment #7 Reply to this comment
Hi Mike,

I've reset all the ActiveSync devices state and my Nine Android client 
has come back to life, but my Outlook 2013 users are still not 
receiving emails since the updates.

I'll PM you a full sync log from one of my users from when I reset her 
device's state to when Outlook has finished sync'ing.

Many thanks,

Tim
05/19/2015 01:22:31 PM Michael Rubinsky Comment #6 Reply to this comment
Yeah, fixed and new package is being released as we speak.
05/19/2015 12:35:23 PM tim (dot) odriscoll (at) lambrookschool (dot) co (dot) uk Comment #5 Reply to this comment
Hi Mike,

The update has a huge downside... Now all ActiveSync clients (Outlook, 
Nine, iOS) are not syncing emails at all. If I reset a device state 
the device will resync a fresh copy of the message list, but any new 
emails after that are not picked up.

I'll PM you a full sync log, from initial provisioning to a refresh..

Tim
05/19/2015 10:20:58 AM tim (dot) odriscoll (at) lambrookschool (dot) co (dot) uk Comment #4 Reply to this comment
Thanks Mike. The problem arises in the morning after the flood of 
emails overnight. I've upgraded to the latest versions on the pear 
server now, so I'll post back in the morning.

Thanks again,

Tim
05/18/2015 05:08:52 PM Michael Rubinsky Comment #3
Priority ⇒ 1. Low
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Can you see if the latest ActiveSync and Core packages fix this for you?
05/18/2015 03:37:26 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit b6e2e9c0c223d4ae3d7583b958f58ac46a307a75
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon May 18 11:34:46 2015 -0400

     Decouple SOFTDELETE from a change in FILTERTYPE.

     SOFTDELETE was causing an extra query of the IMAP server that could
     possibly return new messages that have already been returned in the
     "normal" changes query. Possible fix for Bug: 13985.

  .../lib/Horde/ActiveSync/Imap/Adapter.php          |   22 
++++++++++----------
  .../Core/lib/Horde/Core/ActiveSync/Driver.php      |   21 +++++++++++++-----
  2 files changed, 26 insertions(+), 17 deletions(-)

http://github.com/horde/horde/commit/b6e2e9c0c223d4ae3d7583b958f58ac46a307a75
05/15/2015 08:29:17 PM tim (dot) odriscoll (at) lambrookschool (dot) co (dot) uk Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Outlook 2013 clients showing duplicate emails
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hello,
When Outlook 2013 is first started and starts syncing, some new emails 
are duplicated in the mailbox view. Mike's diagnosis:
It's related to the MOREAVAILABLE functionality. If you look at the 
group of messages the first time the message is sent, you'll see that 
it's the last 4 messages that are sent again in the following request 
that says it is sending messages remaining from the previous sync. For 
some reason, the state isn't being updated to reflect that it was 
already sent, or for some reason the message UID is returned twice 
from the IMAP server and we don't detect that.

Saved Queries