Hi, obviously the gmail app has a problem when replying to a "text/plain" mail but it works when replying to a "text/html" mail.
Regards, Thomas Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von Ludovic Marcotte Gesendet: Mittwoch, 27. Juni 2018 16:04 An: users@sogo.nu Betreff: Re: [SOGo] Gmail App and Activesync issues: truncated replies Hi, I've ran some tests this morning and data truncation is done at the Android app level. When the devices issues a SmartReply to SOGo, the MIME content in the EAS payload is already truncated. That's what wireshark shows, not SOGo. Thanks, On 2018-06-27 5:43 AM, Riccardo Bicelli (r.bice...@gmail.com <mailto:r.bice...@gmail.com> ) wrote: I set SOGoEASDebugEnabled = YES and the log says: Jun 27 11:32:04 sogod [23088]: 192.XXX.XXX.XXX "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Search&User=r.bicelli%40hiddendomain.com <http://40hiddendomain.com> &DeviceId=androidc2284692625&DeviceType=Android HTTP/1.1" 200 115/56 0.106 - - 0 Jun 27 11:32:05 sogod [23088]: 192.XXX.XXX.XXX "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=SmartReply&User=r.bicelli%40hiddendomain.com <http://40hiddendomain.com> &DeviceId=androidc2284692625&DeviceType=Android HTTP/1.1" 200 0/587 1.029 - - 152K Jun 27 11:32:07 sogod [23088]: 192.XXX.XXX.XXX "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=r.bicelli%40hiddendomain.com <http://40hiddendomain.com> &DeviceId=androidc2284692625&DeviceType=Android HTTP/1.1" 200 101/225 0.746 - - 0 Jun 27 11:32:07 sogod [23085]: 192.XXX.XXX.XXX "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=r.bicelli%40hiddendomain.com <http://40hiddendomain.com> &DeviceId=androidc2284692625&DeviceType=Android HTTP/1.1" 200 101/225 0.737 - - 0 <To xmlns="Email:">"Riccardo Bicelli" <r.bice...@hiddendomain.com <mailto:lt%3br.bice...@hiddendomain.com> ></To> <From xmlns="Email:">"Riccardo Bicelli" <r.bice...@hiddendomain.com <mailto:lt%3br.bice...@hiddendomain.com> ></From> <DisplayTo xmlns="Email:">r.bicelli@domainaccount.local <mailto:r.bicelli@domainaccount.local> </DisplayTo> <To xmlns="Email:">"r.bice...@hiddendomain.com <mailto:quot%3br.bice...@hiddendomain.com> " <r.bice...@hiddendomain.com <mailto:lt%3br.bice...@hiddendomain.com> ></To> <From xmlns="Email:">"Riccardo Bicelli" <r.bice...@hiddendomain.com <mailto:lt%3br.bice...@hiddendomain.com> ></From> <DisplayTo xmlns="Email:">r.bicelli@domainaccount.local <mailto:r.bicelli@domainaccount.local> </DisplayTo> Jun 27 11:32:08 sogod [23085]: 192.XXX.XXX.XXX "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=r.bicelli%40hiddendomain.com <http://40hiddendomain.com> &DeviceId=androidc2284692625&DeviceType=Android HTTP/1.1" 200 1068/105 1.073 - - 108K <To xmlns="Email:">"Riccardo Bicelli" <r.bice...@hiddendomain.com <mailto:lt%3br.bice...@hiddendomain.com> ></To> <From xmlns="Email:">"Riccardo Bicelli" <r.bice...@hiddendomain.com <mailto:lt%3br.bice...@hiddendomain.com> ></From> <DisplayTo xmlns="Email:">r.bicelli@domainaccount.local <mailto:r.bicelli@domainaccount.local> </DisplayTo> (I replaced some sensitive data) Sent mail from thunderbird: To: r.bice...@hiddendomain.com <mailto:r.bice...@hiddendomain.com> From: Riccardo Bicelli <r.bice...@hiddendomain.com <mailto:r.bice...@hiddendomain.com> > Subject: Hello World Message-ID: <d07cbd92-d33f-bd75-2205-d0d26fb38...@hiddendomain.com <mailto:d07cbd92-d33f-bd75-2205-d0d26fb38...@hiddendomain.com> > Date: Wed, 27 Jun 2018 11:30:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Hello World! (Mail From Thunderbird) -- Riccardo Bicelli My reply in gmail app is saved in sent items as: To: "Riccardo Bicelli" <r.bice...@hiddendomain.com <mailto:r.bice...@hiddendomain.com> > In-Reply-To: <d07cbd92-d33f-bd75-2205-d0d26fb38...@hiddendomain.com <mailto:d07cbd92-d33f-bd75-2205-d0d26fb38...@hiddendomain.com> > From: "Riccardo Bicelli" <r.bice...@hiddendomain.com <mailto:r.bice...@hiddendomain.com> > Message-ID: <2639ff4d-2696-45cb-a1e7-834d4a181...@email.android.com <mailto:2639ff4d-2696-45cb-a1e7-834d4a181...@email.android.com> > Subject: Re: Hello World Date: Wed, 27 Jun 2018 09:32:03 +0000 MIME-Version: 1.0 X-Priority: 3 X-Msmail-Priority: Normal X-Android-Message-Id: <2639ff4d-2696-45cb-a1e7-834d4a181...@email.android.com <mailto:2639ff4d-2696-45cb-a1e7-834d4a181...@email.android.com> > Content-Type: multipart/mixed; boundary="----=_=-_OpenGroupware_org_NGMime-23088-1530091925.599720-0------" Importance: Normal References: <d07cbd92-d33f-bd75-2205-d0d26fb38...@hiddendomain.com <mailto:d07cbd92-d33f-bd75-2205-d0d26fb38...@hiddendomain.com> > ------=_=-_OpenGroupware_org_NGMime-23088-1530091925.599720-0------ Content-Type: text/html; charset=utf-8 Content-Length: 143 Content-Transfer-Encoding: quoted-printable <div dir=3D'auto'>Hello,<Hello World!<br />(Mail From Thunderbird)<br /= ><br />-- <br />Riccardo Bicelli<br />Dega e Grazioli Srl<br /><br /> ------=_=-_OpenGroupware_org_NGMime-23088-1530091925.599720-0-------- I replied with other two lines of text, Saying: Hello, this is my reply Gmail App behave like this on every phone in my company (Huawei P10 Lite, Huawei P20 and Mate 10). Outlook App seems to work fine. Il giorno mar 26 giu 2018 alle ore 20:44 Thomas Führer <users@sogo.nu <mailto:users@sogo.nu> > ha scritto: Hi Riccardo, can you test with SOGoEASDebugEnabled = YES to see what the Gmail app is sending to sogo while replying. Regards, Thomas ---- Riccardo Bicelli schrieb ---- Hello, I'm struggling with activesync: in gmail app if I reply to a mail the reply is truncated or blank. Content-Type header varies according to app used. If I send with gmail app relevant headers are: Content-Type: multipart/mixed; boundary="----=_=-_OpenGroupware_org_NGMime-25525-1529999290.004214-0------" If I send using Outlook app Content-Type: multipart/alternative; boundary="----=_Part_8518_1954500760.1529999107480" -- users@sogo.nu <mailto:users@sogo.nu> https://inverse.ca/sogo/lists -- users@sogo.nu <mailto:users@sogo.nu> https://inverse.ca/sogo/lists -- users@sogo.nu <mailto:users@sogo.nu> https://inverse.ca/sogo/lists -- Ludovic Marcotte lmarco...@inverse.ca <mailto:lmarco...@inverse.ca> :: +1.514.755.3630 :: https://inverse.ca Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence (https://packetfence.org) and Fingerbank (https://fingerbank.org) -- users@sogo.nu <mailto:users@sogo.nu> https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists