6.0.0-alpha12
6/12/25

[#12945] ActiveSync: Deleting one email in Outlook 2013 results in two mails in Outlook 2013 trash folder
Summary ActiveSync: Deleting one email in Outlook 2013 results in two mails in Outlook 2013 trash folder
Queue Synchronization
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester chrissi (at) amusing (dot) de
Created 01/30/2014 (4151 days ago)
Due
Updated 01/31/2014 (4150 days ago)
Assigned 01/31/2014 (4150 days ago)
Resolved 01/31/2014 (4150 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/31/2014 08:09:45 PM chrissi (at) amusing (dot) de Comment #14 Reply to this comment
  have no idea about what kind of implementation hotmail has. Perhaps
Hotmail doesn't synchronize the deleted items folder. Regardless, we 
are issuing the correct commands and responses, so there is really 
nothing we can do.
OK, thank you very much!!

Christian
01/31/2014 08:00:15 PM Michael Rubinsky Comment #13 Reply to this comment

I have no idea about what kind of implementation hotmail has. Perhaps 
Hotmail doesn't synchronize the deleted items folder. Regardless, we 
are issuing the correct commands and responses, so there is really 
nothing we can do.

01/31/2014 07:20:20 PM chrissi (at) amusing (dot) de Comment #12 Reply to this comment
Verified we are doing this correctly. Some google searches also 
indicate this is indeed a bug in Outlook affecting both IMAP and EAS 
accounts.
OK, thank you for verifying. Remains only one question: why does it 
not happen when using Hotmail via ActiveSync? Shouldn't it be the same 
behavior?

Regards, Christian
01/31/2014 07:00:00 PM Michael Rubinsky Comment #11
State ⇒ Not A Bug
Reply to this comment
Verified we are doing this correctly. Some google searches also 
indicate this is indeed a bug in Outlook affecting both IMAP and EAS 
accounts.
01/31/2014 04:03:32 PM chrissi (at) amusing (dot) de Comment #10 Reply to this comment
Here it is, I deleted an item from the INBOX.Linux folder.

Regards, Christian
Sorry, I meant I deleted an item directly from the INBOX folder, it 
was the mail from the bug tracker, subject: "[Tickets #12945] Re: 
ActiveSync: Deleting one email in Outlook 2013 results in two mails in 
Outlook 2013 trash folder"

Christian
01/31/2014 04:01:27 PM chrissi (at) amusing (dot) de Comment #9
New Attachment: 09DCC42B753E458193D8E22501A60F74.zip Download
Reply to this comment
Here it is, I deleted an item from the INBOX.Linux folder.

Regards, Christian
01/31/2014 03:51:42 PM Michael Rubinsky Comment #8 Reply to this comment
Hi Michael,

do you mean the Horde log? If yes, do I have to set the log level to 
something specific, debugging for example?

Regards, Christian
No. I mean the synclog. Enable per-device synclog via the ActiveSync config.

To enable debugging, see instructions contained in the ActiveSync 
section of Horde's configuration. Also, see 
http://wiki.horde.org/ActiveSync for more details.
01/31/2014 03:45:43 PM chrissi (at) amusing (dot) de Comment #7 Reply to this comment
Hi Michael,

do you mean the Horde log? If yes, do I have to set the log level to 
something specific, debugging for example?

Regards, Christian
01/31/2014 03:40:17 PM Michael Rubinsky Comment #6
State ⇒ Feedback
Reply to this comment
Can you provide a synclog for this?
01/30/2014 04:30:00 PM Michael Rubinsky Comment #5
State ⇒ Assigned
Reply to this comment
No idea without seeing the traffic between the two.

I'll have to double check the specifications to be sure we are 
implementing it correctly.
01/30/2014 03:52:06 PM chrissi (at) amusing (dot) de Comment #4 Reply to this comment

[Show Quoted Text - 50 lines]
OK, thank you very much for the explanation!
In the meantime I tried to reproduce the same scenario with my Hotmail 
account, it can be used via ActiveSync as well.
With Hotmail it doesn't happen, meaning when I delete an email there 
isn't a second one in the trash folder afterwards ... what could be 
different there?

Best regards,
Christian
01/30/2014 03:03:44 PM Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Not A Bug
Reply to this comment

[Show Quoted Text - 9 lines]
This is a known issue. OL is sending a MOVE command to move the email 
to the trash folder (which is correct), but it ALSO manually moves the 
email locally (this is incorrect). All the client is supposed to do is 
remove the email from the old mailbox. The server, in response to the 
MOVE command moves the email to the new folder (In this case the Trash 
folder) and the change is then picked up on the next SYNC or PING 
cycle. SInce OL is manually moving the email, the server has no idea 
it is already in the mailbox (the protocol provides no mechanism for 
this, all changes are done server side and sent to the client).

[Show Quoted Text - 12 lines]
No. This is not how sync works. The client doesn't "download" an email 
based on any criteria. The server knows what messages were sent to the 
client based on the message's UID, not any other header values and 
detects any changes in the mailboxes on the IMAP server. These changes 
are sent to the client. Any client initiated changes are sent as 
commands to the server, i.e., "move this message from the INBOX to the 
Trash folder please". The server performs the command and tells the 
client the results, i.e., "I moved the email from the INBOX to the 
Trash folder and it has the following UID value: 432. You should 
remove the old copy of the email from the INBOX folder."
If you need any further information please don't hesitate to contact me!

Best regards,
Christian Hailer
01/30/2014 01:57:03 PM chrissi (at) amusing (dot) de Comment #2 Reply to this comment
This is my Outlook 2013 version: 15.0.4551.1511
01/30/2014 01:49:53 PM chrissi (at) amusing (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ActiveSync: Deleting one email in Outlook 2013 results in two mails in Outlook 2013 trash folder
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hello,

I experienced a litte bug when using Outlook 2013 via ActiveSync to   
connect to Horde.
When I delete an email in Outlook 2013, it is moved to the trash 
folder correctly. After a few seconds exactly the same email appears   
in the trash folder, so you now see the deleted email twice.
This second email appears only in Outlook, you don't see it in the 
Horde webmail trash.
If you compare the header of the two emails, it slightly differs in   
the "Content-Type" field, everything else is exactly the same.

Deleted email:
Content-Type: multipart/alternative; boundary="=_7CrMzMy6GwiFZgAVh3gsUw9"

Email which appeared some seconds later:
Content-Type: multipart/alternative; boundary="=_yt_nh4i36nWWv2czhvKVfQ1"

It seems as when the deleted email is synced to Horde it's header gets 
changed, so Outlook 2013 sees it as a new item and downloads it again.

If you need any further information please don't hesitate to contact me!

Best regards,
Christian Hailer

Saved Queries