<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>ActiveSync: Deleting one email in Outlook 2013 results in two mails in Outlook 2013 trash folder</title> 
  <pubDate>Fri, 10 Apr 2026 03:14:14 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/12945</link> 
  <atom:link rel="self" type="application/rss+xml" title="ActiveSync: Deleting one email in Outlook 2013 results in two mails in Outlook 2013 trash folder" href="https://bugs.horde.org/ticket/12945/rss" /> 
  <description>ActiveSync: Deleting one email in Outlook 2013 results in two mails in Outlook 2013 trash folder</description> 
 
   
   
  <item> 
   <title>Hello,

I experienced a litte bug when using Outlook 2013 </title> 
   <description>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&#039;t see it in the Horde webmail trash. 
If you compare the header of the two emails, it slightly differs in  the &quot;Content-Type&quot; field, everything else is exactly the same.

Deleted email:
Content-Type: multipart/alternative; boundary=&quot;=_7CrMzMy6GwiFZgAVh3gsUw9&quot;

Email which appeared some seconds later:
Content-Type: multipart/alternative; boundary=&quot;=_yt_nh4i36nWWv2czhvKVfQ1&quot;

It seems as when the deleted email is synced to Horde it&#039;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&#039;t hesitate to contact me!

Best regards,
Christian Hailer</description> 
   <pubDate>Thu, 30 Jan 2014 13:49:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82192</link> 
  </item> 
   
  <item> 
   <title>This is my Outlook 2013 version: 15.0.4551.1511 </title> 
   <description>This is my Outlook 2013 version: 15.0.4551.1511 </description> 
   <pubDate>Thu, 30 Jan 2014 13:57:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82193</link> 
  </item> 
   
  <item> 
   <title>&gt; Hello,
&gt;
&gt; I experienced a litte bug when using Outlook </title> 
   <description>&gt; Hello,
&gt;
&gt; I experienced a litte bug when using Outlook 2013 via ActiveSync to  
&gt; connect to Horde.
&gt; When I delete an email in Outlook 2013, it is moved to the trash 
&gt; folder correctly. After a few seconds exactly the same email appears  
&gt; in the trash folder, so you now see the deleted email twice.
&gt; This second email appears only in Outlook, you don&#039;t see it in the 
&gt; Horde webmail trash.

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).

&gt; If you compare the header of the two emails, it slightly differs in  
&gt; the &quot;Content-Type&quot; field, everything else is exactly the same.
&gt;
&gt; Deleted email:
&gt; Content-Type: multipart/alternative; boundary=&quot;=_7CrMzMy6GwiFZgAVh3gsUw9&quot;
&gt;
&gt; Email which appeared some seconds later:
&gt; Content-Type: multipart/alternative; boundary=&quot;=_yt_nh4i36nWWv2czhvKVfQ1&quot;
&gt;
&gt; It seems as when the deleted email is synced to Horde it&#039;s header 
&gt; gets changed, so Outlook 2013 sees it as a new item and downloads it 
&gt; again.

No. This is not how sync works. The client doesn&#039;t &quot;download&quot; an email based on any criteria. The server knows what messages were sent to the client based on the message&#039;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., &quot;move this message from the INBOX to the Trash folder please&quot;. The server performs the command and tells the client the results, i.e., &quot;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.&quot;

&gt; If you need any further information please don&#039;t hesitate to contact me!
&gt;
&gt; Best regards,
&gt; Christian Hailer</description> 
   <pubDate>Thu, 30 Jan 2014 15:03:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82194</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Hello,
&gt;&gt;
&gt;&gt; I experienced a litte bug when using Outlo</title> 
   <description>&gt;&gt; Hello,
&gt;&gt;
&gt;&gt; I experienced a litte bug when using Outlook 2013 via ActiveSync to
&gt;&gt; connect to Horde.
&gt;&gt; When I delete an email in Outlook 2013, it is moved to the trash
&gt;&gt; folder correctly. After a few seconds exactly the same email appears
&gt;&gt; in the trash folder, so you now see the deleted email twice.
&gt;&gt; This second email appears only in Outlook, you don&#039;t see it in the
&gt;&gt; Horde webmail trash.
&gt;
&gt; This is a known issue. OL is sending a MOVE command to move the email 
&gt; to the trash folder (which is correct), but it ALSO manually moves 
&gt; the email locally (this is incorrect). All the client is supposed to 
&gt; do is remove the email from the old mailbox. The server, in response 
&gt; to the MOVE command moves the email to the new folder (In this case 
&gt; the Trash folder) and the change is then picked up on the next SYNC 
&gt; or PING cycle. SInce OL is manually moving the email, the server has 
&gt; no idea it is already in the mailbox (the protocol provides no 
&gt; mechanism for this, all changes are done server side and sent to the 
&gt; client).
&gt;
&gt;&gt; If you compare the header of the two emails, it slightly differs in
&gt;&gt; the &quot;Content-Type&quot; field, everything else is exactly the same.
&gt;&gt;
&gt;&gt; Deleted email:
&gt;&gt; Content-Type: multipart/alternative; boundary=&quot;=_7CrMzMy6GwiFZgAVh3gsUw9&quot;
&gt;&gt;
&gt;&gt; Email which appeared some seconds later:
&gt;&gt; Content-Type: multipart/alternative; boundary=&quot;=_yt_nh4i36nWWv2czhvKVfQ1&quot;
&gt;&gt;
&gt;&gt; It seems as when the deleted email is synced to Horde it&#039;s header
&gt;&gt; gets changed, so Outlook 2013 sees it as a new item and downloads it
&gt;&gt; again.
&gt;
&gt; No. This is not how sync works. The client doesn&#039;t &quot;download&quot; an 
&gt; email based on any criteria. The server knows what messages were sent 
&gt; to the client based on the message&#039;s UID, not any other header values 
&gt; and detects any changes in the mailboxes on the IMAP server. These 
&gt; changes are sent to the client. Any client initiated changes are sent 
&gt; as commands to the server, i.e., &quot;move this message from the INBOX to 
&gt; the Trash folder please&quot;. The server performs the command and tells 
&gt; the client the results, i.e., &quot;I moved the email from the INBOX to 
&gt; the Trash folder and it has the following UID value: 432. You should 
&gt; remove the old copy of the email from the INBOX folder.&quot;
&gt;
&gt;&gt; If you need any further information please don&#039;t hesitate to contact me!
&gt;&gt;
&gt;&gt; Best regards,
&gt;&gt; Christian Hailer

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&#039;t happen, meaning when I delete an email there isn&#039;t a second one in the trash folder afterwards ... what could be different there?

Best regards,
Christian</description> 
   <pubDate>Thu, 30 Jan 2014 15:52:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82195</link> 
  </item> 
   
  <item> 
   <title>No idea without seeing the traffic between the two.

I&#039;ll </title> 
   <description>No idea without seeing the traffic between the two.

I&#039;ll have to double check the specifications to be sure we are implementing it correctly.</description> 
   <pubDate>Thu, 30 Jan 2014 16:30:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82196</link> 
  </item> 
   
  <item> 
   <title>Can you provide a synclog for this?</title> 
   <description>Can you provide a synclog for this?</description> 
   <pubDate>Fri, 31 Jan 2014 15:40:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82216</link> 
  </item> 
   
  <item> 
   <title>Hi Michael,

do you mean the Horde log? If yes, do I have </title> 
   <description>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</description> 
   <pubDate>Fri, 31 Jan 2014 15:45:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82217</link> 
  </item> 
   
  <item> 
   <title>&gt; Hi Michael,
&gt;
&gt; do you mean the Horde log? If yes, do I </title> 
   <description>&gt; Hi Michael,
&gt;
&gt; do you mean the Horde log? If yes, do I have to set the log level to 
&gt; something specific, debugging for example?
&gt;
&gt; 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&#039;s configuration. Also, see http://wiki.horde.org/ActiveSync for more details.</description> 
   <pubDate>Fri, 31 Jan 2014 15:51:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82218</link> 
  </item> 
   
  <item> 
   <title>Here it is, I deleted an item from the INBOX.Linux folder.
</title> 
   <description>Here it is, I deleted an item from the INBOX.Linux folder.

Regards, Christian</description> 
   <pubDate>Fri, 31 Jan 2014 16:01:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82220</link> 
  </item> 
   
  <item> 
   <title>&gt; Here it is, I deleted an item from the INBOX.Linux folder.</title> 
   <description>&gt; Here it is, I deleted an item from the INBOX.Linux folder.
&gt;
&gt; Regards, Christian
Sorry, I meant I deleted an item directly from the INBOX folder, it was the mail from the bug tracker, subject: &quot;[Tickets #12945] Re: ActiveSync: Deleting one email in Outlook 2013 results in two mails in Outlook 2013 trash folder&quot;

Christian</description> 
   <pubDate>Fri, 31 Jan 2014 16:03:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82221</link> 
  </item> 
   
  <item> 
   <title>Verified we are doing this correctly. Some google searches a</title> 
   <description>Verified we are doing this correctly. Some google searches also indicate this is indeed a bug in Outlook affecting both IMAP and EAS accounts.</description> 
   <pubDate>Fri, 31 Jan 2014 19:00:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82225</link> 
  </item> 
   
  <item> 
   <title>&gt; Verified we are doing this correctly. Some google searches</title> 
   <description>&gt; Verified we are doing this correctly. Some google searches also 
&gt; indicate this is indeed a bug in Outlook affecting both IMAP and EAS 
&gt; accounts.

OK, thank you for verifying. Remains only one question: why does it not happen when using Hotmail via ActiveSync? Shouldn&#039;t it be the same behavior?

Regards, Christian</description> 
   <pubDate>Fri, 31 Jan 2014 19:20:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82226</link> 
  </item> 
   
  <item> 
   <title>
I have no idea about what kind of implementation hotmail h</title> 
   <description>
I have no idea about what kind of implementation hotmail has. Perhaps Hotmail doesn&#039;t synchronize the deleted items folder. Regardless, we are issuing the correct commands and responses, so there is really nothing we can do.
</description> 
   <pubDate>Fri, 31 Jan 2014 20:00:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82227</link> 
  </item> 
   
  <item> 
   <title> have no idea about what kind of implementation hotmail has.</title> 
   <description> have no idea about what kind of implementation hotmail has. Perhaps 
&gt; Hotmail doesn&#039;t synchronize the deleted items folder. Regardless, we 
&gt; are issuing the correct commands and responses, so there is really 
&gt; nothing we can do.
&gt;
OK, thank you very much!!

Christian</description> 
   <pubDate>Fri, 31 Jan 2014 20:09:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12945#t82228</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
