<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Exchange sync fails]]></title>
		<link>https://forum.iredmail.org/topic21046-exchange-sync-fails.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic21046.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Exchange sync fails.]]></description>
		<lastBuildDate>Wed, 17 Dec 2025 20:53:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91557.html#p91557</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Thanks for sharing. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>It seems the issue has been solved withe the update of December 11st</p>]]></description>
			<author><![CDATA[null@example.com (muko82)]]></author>
			<pubDate>Wed, 17 Dec 2025 20:53:06 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91557.html#p91557</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91504.html#p91504</link>
			<description><![CDATA[<p>Thanks for sharing. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 02 Dec 2025 10:10:37 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91504.html#p91504</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91503.html#p91503</link>
			<description><![CDATA[<p>I confirm: the issue is related to the latest update of the GMAIL app.<br />I downgraded it by removing all updates and the sync magically started to work again.</p><p>Lets wait for a new update of the app...</p>]]></description>
			<author><![CDATA[null@example.com (muko82)]]></author>
			<pubDate>Tue, 02 Dec 2025 09:20:06 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91503.html#p91503</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91502.html#p91502</link>
			<description><![CDATA[<p>Most probably I found the issue: https:// support.google.com /mail/thread/389037416/exchange-activesync-does-not-work-anymore-after-the-latest-gmail-app-update?hl=en</p><div class="quotebox"><cite>Cthulhu wrote:</cite><blockquote><p>Well, then the app has hit it&#039;s limitations and can&#039;t handle the sheer amount of messages, considering that sogo itself works fine</p><p>Exchange ActiveSync loops with large Gmail inboxes, and that seems to happen</p><p>I guess you need to thin out your mailbox, i don&#039;t think that those 13k mails are all legit, most comes from spam anyway</p><br /><br /><p>you can try this:</p><div class="codebox"><pre><code>doveadm fetch -u user@example.com &#039;body[]&#039; mailbox &#039;*&#039; 2&gt;&amp;1 | grep -i &quot;Error&quot;</code></pre></div><p>this will take long, as it fetches EVERY mail, but if it finds a mail with an empty body, you will get an error</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (muko82)]]></author>
			<pubDate>Tue, 02 Dec 2025 07:59:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91502.html#p91502</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91501.html#p91501</link>
			<description><![CDATA[<div class="quotebox"><cite>Cthulhu wrote:</cite><blockquote><p>Well, then the app has hit it&#039;s limitations and can&#039;t handle the sheer amount of messages, considering that sogo itself works fine</p><p>Exchange ActiveSync loops with large Gmail inboxes, and that seems to happen</p><p>I guess you need to thin out your mailbox, i don&#039;t think that those 13k mails are all legit, most comes from spam anyway</p><br /><br /><p>you can try this:</p><div class="codebox"><pre><code>doveadm fetch -u user@example.com &#039;body[]&#039; mailbox &#039;*&#039; 2&gt;&amp;1 | grep -i &quot;Error&quot;</code></pre></div><p>this will take long, as it fetches EVERY mail, but if it finds a mail with an empty body, you will get an error</p></blockquote></div><br /><p>I have also a gmail account with almost the same number of emails but works fine with the same app.<br />I deleted tons of old emails on the other account but the same happens.</p><p>Any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (muko82)]]></author>
			<pubDate>Tue, 02 Dec 2025 07:41:52 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91501.html#p91501</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91495.html#p91495</link>
			<description><![CDATA[<p>Well, then the app has hit it&#039;s limitations and can&#039;t handle the sheer amount of messages, considering that sogo itself works fine</p><p>Exchange ActiveSync loops with large Gmail inboxes, and that seems to happen</p><p>I guess you need to thin out your mailbox, i don&#039;t think that those 13k mails are all legit, most comes from spam anyway</p><br /><br /><p>you can try this:</p><div class="codebox"><pre><code>doveadm fetch -u user@example.com &#039;body[]&#039; mailbox &#039;*&#039; 2&gt;&amp;1 | grep -i &quot;Error&quot;</code></pre></div><p>this will take long, as it fetches EVERY mail, but if it finds a mail with an empty body, you will get an error</p>]]></description>
			<author><![CDATA[null@example.com (Cthulhu)]]></author>
			<pubDate>Mon, 01 Dec 2025 17:22:28 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91495.html#p91495</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91493.html#p91493</link>
			<description><![CDATA[<div class="quotebox"><cite>Cthulhu wrote:</cite><blockquote><div class="codebox"><pre><code>ERROR: got no body content for key: &#039;body[1.1.1]&#039;
Dec 01 04:32:02 sogod [1504]: [ERROR] &lt;0x55f417f9b840[SOGoMailObject]:20457&gt; got no data for key: body[1.1.1]
Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseData]): got content size &#039;0&#039;!
Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.</code></pre></div><p>My best guess: broken index</p><p>try:</p><div class="codebox"><pre><code>doveadm index -u user@example.com &#039;*&#039;
doveadm force-resync -u user@example.com &#039;*&#039;

systemctl restart dovecot</code></pre></div></blockquote></div><p>I did it but the situation is exactly the same.<br />Contacts gets synced for a while, emails are not updated and the Gmail app starts an infinite loop...</p>]]></description>
			<author><![CDATA[null@example.com (muko82)]]></author>
			<pubDate>Mon, 01 Dec 2025 16:29:09 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91493.html#p91493</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91492.html#p91492</link>
			<description><![CDATA[<div class="codebox"><pre><code>ERROR: got no body content for key: &#039;body[1.1.1]&#039;
Dec 01 04:32:02 sogod [1504]: [ERROR] &lt;0x55f417f9b840[SOGoMailObject]:20457&gt; got no data for key: body[1.1.1]
Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseData]): got content size &#039;0&#039;!
Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.</code></pre></div><p>My best guess: broken index</p><p>try:</p><div class="codebox"><pre><code>doveadm index -u user@example.com &#039;*&#039;
doveadm force-resync -u user@example.com &#039;*&#039;

systemctl restart dovecot</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Cthulhu)]]></author>
			<pubDate>Mon, 01 Dec 2025 16:10:48 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91492.html#p91492</guid>
		</item>
		<item>
			<title><![CDATA[Exchange sync fails]]></title>
			<link>https://forum.iredmail.org/post91491.html#p91491</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.7.4<br />- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer<br />- Linux/BSD distribution name and version: AlmaLinux 9.7<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL):&nbsp; MySQL<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? NO<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>I&#039;m experiencing an issue while syncing mailbox with Sogo Exchange ActiveSync with 13k messages starting from last week.<br />No changes were made on the server but from now on, on my Android devices al contacts and appointment disappeared. Mail sync seems to be in a loop and deletion or sending is no longer working.<br />From the webmail (SOGO) everything is working properly.<br />I also tried to increase vmem, timeouts, ecc without success.</p><p>I got this from sogo logs:<br />Dec 01 04:29:43 sogod [1504]: [ERROR] &lt;0x0x55f418345480[WOHttpTransaction]&gt; client disconnected during delivery of response for &lt;WORequest[0x0x55f4186135f0]: method=POST uri=/SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&amp;User=XXXXX%40XXXXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)&gt; (len=101): the socket was shutdown<br />Dec 01 04:29:43 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 101/125 0.084 - - 0 - 14<br />Dec 01 04:29:43 sogod [1504]: &lt;0x0x55f4180c3820[SOGoActiveSyncDispatcher]&gt; Change detected using Ping, we let the EAS client know to send a Sync.<br />Dec 01 04:29:43 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 101/125 0.103 - - 0 - 14<br />Dec 01 04:31:59 sogod [1504]: localhost &quot;OPTIONS /SOGo/Microsoft-Server-ActiveSync HTTP/1.0&quot; 200 0/0 0.014 - - 0 - 14<br />Dec 01 04:31:59 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSync&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 5263/13 0.153 - - 0 - 14<br />Dec 01 04:32:01 sogod [1504]: &lt;0x0x55f41839f690[SOGoActiveSyncDispatcher]&gt; Change detected during Sync, we push the content.<br />Dec 01 04:32:01 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 73/58 0.058 - - 0 - 14<br />Dec 01 04:32:01 sogod [1504]: &lt;0x0x55f417fa2120[NGImap4Client]&gt; Note: no key found for sorting, using &#039;DATE&#039;: (null)<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseData]): got content size &#039;0&#039;!<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR: got no body content for key: &#039;body[1.1.1]&#039;<br />Dec 01 04:32:02 sogod [1504]: [ERROR] &lt;0x55f417f9b840[SOGoMailObject]:20457&gt; got no data for key: body[1.1.1]<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseData]): got content size &#039;0&#039;!<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR: got no body content for key: &#039;body[1.1.1]&#039;<br />Dec 01 04:32:02 sogod [1504]: [ERROR] &lt;0x55f417f9b840[SOGoMailObject]:20457&gt; got no data for key: body[1.1.1]<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseData]): got content size &#039;0&#039;!<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR: got no body content for key: &#039;body[1.1.1]&#039;<br />Dec 01 04:32:02 sogod [1504]: [ERROR] &lt;0x55f41882b000[SOGoMailObject]:20458&gt; got no data for key: body[1.1.1]<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseData]): got content size &#039;0&#039;!<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR(-[NGImap4ResponseParser _parseBodyContent]): got no data.<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f4183a1d80[NGImap4ResponseParser]&gt; ERROR: got no body content for key: &#039;body[1.1.1]&#039;<br />Dec 01 04:32:02 sogod [1504]: [ERROR] &lt;0x55f41882b000[SOGoMailObject]:20458&gt; got no data for key: body[1.1.1]<br />Dec 01 04:32:02 sogod [1504]: &lt;0x0x55f417d9cd90[SOGoActiveSyncDispatcher]&gt; Change detected during Sync, we push the content.<br />Dec 01 04:32:02 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 997799/97 1.114 - - 7M - 14<br />Dec 01 04:32:04 sogod [1504]: &lt;0x0x55f417fa2120[NGImap4Client]&gt; Note: no key found for sorting, using &#039;DATE&#039;: (null)<br />Dec 01 04:32:04 sogod [1504]: &lt;0x0x55f418387590[SOGoActiveSyncDispatcher]&gt; Change detected during Sync, we push the content.<br />Dec 01 04:32:04 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 213389/106 0.231 - - 1M - 14<br />Dec 01 04:32:04 sogod [1504]: &lt;0x0x55f4181d2f00[SOGoActiveSyncDispatcher]&gt; Change detected during Sync, we push the content.<br />Dec 01 04:32:04 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 73/58 0.044 - - 0 - 14<br />Dec 01 04:32:05 sogod [1504]: &lt;0x0x55f417fa2120[NGImap4Client]&gt; Note: no key found for sorting, using &#039;DATE&#039;: (null)<br />Dec 01 04:32:05 sogod [1504]: &lt;0x0x55f417f0f360[SOGoActiveSyncDispatcher]&gt; Change detected during Sync, we push the content.<br />Dec 01 04:32:05 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 634/97 0.104 - - 0 - 14<br />Dec 01 04:32:05 sogod [1504]: &lt;0x0x55f41834e670[SOGoActiveSyncDispatcher]&gt; Change detected using Ping, we let the EAS client know to send a Sync.<br />Dec 01 04:32:05 sogod [1504]: [ERROR] &lt;0x0x55f418314ef0[WOHttpTransaction]&gt; client disconnected during delivery of response for &lt;WORequest[0x0x55f41841e1b0]: method=POST uri=/SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)&gt; (len=101): the socket was shutdown<br />Dec 01 04:32:05 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 101/125 0.081 - - 0 - 14<br />Dec 01 04:32:05 sogod [1504]: &lt;0x0x55f418430310[SOGoActiveSyncDispatcher]&gt; Change detected using Ping, we let the EAS client know to send a Sync.<br />Dec 01 04:32:05 sogod [1504]: localhost &quot;POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&amp;User=XXXXX%40XXXXX.it&amp;DeviceId=YYYYYY&amp;DeviceType=Android HTTP/1.0&quot; 200 101/125 0.071 - - 0 - 14<br />Dec 01 04:32:07 sogod [1504]: localhost &quot;OPTIONS /SOGo/Microsoft-Server-ActiveSync HTTP/1.0&quot; 200 0/0 0.005 - - 0 - 14</p>]]></description>
			<author><![CDATA[null@example.com (muko82)]]></author>
			<pubDate>Mon, 01 Dec 2025 09:46:17 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91491.html#p91491</guid>
		</item>
	</channel>
</rss>
