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: [email protected] <[email protected]> Im Auftrag von Ludovic Marcotte Gesendet: Mittwoch, 27. Juni 2018 16:04 An: [email protected] 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 ([email protected] <mailto:[email protected]> ) 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" <[email protected] <mailto:lt%[email protected]> ></To> <From xmlns="Email:">"Riccardo Bicelli" <[email protected] <mailto:lt%[email protected]> ></From> <DisplayTo xmlns="Email:">[email protected] <mailto:[email protected]> </DisplayTo> <To xmlns="Email:">"[email protected] <mailto:quot%[email protected]> " <[email protected] <mailto:lt%[email protected]> ></To> <From xmlns="Email:">"Riccardo Bicelli" <[email protected] <mailto:lt%[email protected]> ></From> <DisplayTo xmlns="Email:">[email protected] <mailto:[email protected]> </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" <[email protected] <mailto:lt%[email protected]> ></To> <From xmlns="Email:">"Riccardo Bicelli" <[email protected] <mailto:lt%[email protected]> ></From> <DisplayTo xmlns="Email:">[email protected] <mailto:[email protected]> </DisplayTo> (I replaced some sensitive data) Sent mail from thunderbird: To: [email protected] <mailto:[email protected]> From: Riccardo Bicelli <[email protected] <mailto:[email protected]> > Subject: Hello World Message-ID: <[email protected] <mailto:[email protected]> > 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" <[email protected] <mailto:[email protected]> > In-Reply-To: <[email protected] <mailto:[email protected]> > From: "Riccardo Bicelli" <[email protected] <mailto:[email protected]> > Message-ID: <[email protected] <mailto:[email protected]> > 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: <[email protected] <mailto:[email protected]> > Content-Type: multipart/mixed; boundary="----=_=-_OpenGroupware_org_NGMime-23088-1530091925.599720-0------" Importance: Normal References: <[email protected] <mailto:[email protected]> > ------=_=-_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 <[email protected] <mailto:[email protected]> > 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" -- [email protected] <mailto:[email protected]> https://inverse.ca/sogo/lists -- [email protected] <mailto:[email protected]> https://inverse.ca/sogo/lists -- [email protected] <mailto:[email protected]> https://inverse.ca/sogo/lists -- Ludovic Marcotte [email protected] <mailto:[email protected]> :: +1.514.755.3630 :: https://inverse.ca Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence (https://packetfence.org) and Fingerbank (https://fingerbank.org) -- [email protected] <mailto:[email protected]> https://inverse.ca/sogo/lists -- [email protected] https://inverse.ca/sogo/lists
