Sorry,
found the smart reply.
Looks like a base64 string nesting.
Il giorno gio 27 mag 2021 alle ore 16:46 Thomas Führer <[email protected]>
ha scritto:
>
> What you have included in your mail is the response when something is synced
> to the client.
> You have to search for something like this:
>
> <SmartReply xmlns="ComposeMail:">
> <ClientId>SendMail-1637869276951271</ClientId>
> <SaveInSentItems/>
> <Source>
> <ItemId>6762</ItemId>
> <FolderId>mail%2F7bec86342c90f55948480000d8c82be3</FolderId>
> </Source>
> <MIME>BASE64BASE64</MIME>
> </SmartReply>
>
> SmartReply->MIME contains the base64 encoded stuff what is sent by the gmail
> app.
>
>
>
> Am Donnerstag, Mai 27, 2021 15:47 CEST, schrieb "Riccardo Bicelli"
> ([email protected]) <[email protected]>:
>
> > I put SOGo in debug mode, the issue is easily reproducible.
> >
> > Below there's the entire payload logged. But the relevant part is:
> >
> > <Data><div dir='auto'>Ciao Max .<div
> > dir="auto">Ignora la mCIAO REDACTED, MI HA CHIAMATO
> > REDACTED PER SAPERE SE CI SONO SCONTI...<br /><br />NELLO
> > STORICO REDACTED NON NE VEDO...<br /><br />DAMMI TUE
> > INDICAZIONI, OPPURE CONTATTALO DIRETTAMENTE.<br /><br
> > />MASSI<br /><br /><br /><br /><br
> > /><br /><br /><br /></Data>
> >
> >
> > Original message starts on "CIAO", reply is the part before. The reply
> > wa truncated. ("Ignora la m")
> >
> >
> > <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN"
> > "http://www.microsoft.com/">
> > <Sync xmlns="AirSync:">
> > <Collections>
> > <Collection>
> > <Class>Email</Class>
> > <SyncKey>4120-20704</SyncKey>
> > <CollectionId>mail%2F81a33f177a9bf859bb6300004ca6fcd2</CollectionId>
> > <Status>1</Status>
> > <Commands>
> > <SoftDelete>
> > <ServerId>3966</ServerId>
> > </SoftDelete>
> > <Add>
> > <ServerId>4120</ServerId>
> > <ApplicationData>
> > <To xmlns="Email:">"[email protected]"
> > <[email protected]></To>
> > <DisplayTo xmlns="Email:">[email protected]</DisplayTo>
> > <From xmlns="Email:">"REDACTED.2"
> > <[email protected]></From>
> > <Subject xmlns="Email:">Fwd: offerta x fustini</Subject>
> > <ThreadTopic xmlns="Email:">offerta x fustini</ThreadTopic>
> > <DateReceived xmlns="Email:">2021-05-27T10:44:20.000Z</DateReceived>
> > <Importance xmlns="Email:">1</Importance>
> > <Read xmlns="Email:">1</Read>
> > <MessageClass xmlns="Email:">IPM.Note</MessageClass>
> > <ContentClass
> > xmlns="Email:">urn:content-classes:message</ContentClass>
> > <InternetCPID xmlns="Email:">65001</InternetCPID>
> > <Body xmlns="AirSyncBase:">
> > <Type>2</Type>
> > <Truncated>0</Truncated>
> > <Preview/>
> > <Data><div dir='auto'><div>Ciao Mauro
> > .</div><div dir="auto">Ecco l offerta
> > aggiornata.&nbsp;</div><div
> > dir="auto"><br><div
> > class="gmail_quote" dir="auto">----------
> > Messaggio inoltrato ----------<br>Da: "REDACTED"
> > &lt;[email protected]&gt;<br>Data: 27 Mag 2021
> > 11:46<br>Oggetto: offerta x Caffaro<br>A:
> > [email protected]<br>Cc: <br><br
> > type="attribution"><blockquote class="quote"
> > style="$
> > <br>
> >
> > <br>
> > in allegato offerta da inviare al cliente attenzione nuova quotazione
> > <br>
> >
> > <br>
> > Consegna meta' Giugno.
> > <br>
> >
> > <br>
> > Grazie
> > <br>
> >
> > <br>
> >
> > <br>
> >
> > <br>
> >
> > <br>
> >
> > <br>
> > </p>
> > </blockquote></div><br></div></div></Data>
> > <EstimatedDataSize>1168</EstimatedDataSize>
> > </Body>
> > <Attachments xmlns="AirSyncBase:">
> > <Attachment>
> > <DisplayName>15736_OFF_CLI_2021-OFCBX-0006221.pdf</DisplayName>
> > <FileReference>mail/Sent/4120/2</FileReference>
> > <Method>1</Method>
> > <EstimatedDataSize>357764</EstimatedDataSize>
> > </Attachment>
> > </Attachments>
> > <Flag xmlns="Email:">
> > <FlagStatus>0</FlagStatus>
> > </Flag>
> > <Categories xmlns="Email:"/>
> > <ConversationId
> > xmlns="Email2:">PDk3N2E3MzFmLWI3ODQtNGQwMi05ZjNhLTllZWJjMGJjMjE4ZUBlbWFpbC5hbmRyb2lkLmNvbT4=</ConversationId>
> > <LastVerbExecuted xmlns="Email2:">0</LastVerbExecuted>
> > <NativeBodyType xmlns="AirSyncBase:">2</NativeBodyType>
> > </ApplicationData>
> > </Add>
> > <Add>
> > <ServerId>4121</ServerId>
> > <ApplicationData>
> > <To xmlns="Email:">"REDACTED"
> > <[email protected]></To>
> > <DisplayTo xmlns="Email:">REDACTED</DisplayTo>
> > <From xmlns="Email:">"REDACTED.2"
> > <[email protected]></From>
> > <Subject xmlns="Email:">Re: REDACTED SUBJECT</Subject>
> > <ThreadTopic xmlns="Email:">REDACTED SUBJECT</ThreadTopic>
> > <DateReceived xmlns="Email:">2021-05-27T12:59:35.000Z</DateReceived>
> > <Importance xmlns="Email:">1</Importance>
> > <Read xmlns="Email:">1</Read>
> > <MessageClass xmlns="Email:">IPM.Note</MessageClass>
> > <ContentClass
> > xmlns="Email:">urn:content-classes:message</ContentClass>
> > <InternetCPID xmlns="Email:">65001</InternetCPID>
> > <Body xmlns="AirSyncBase:">
> > <Type>2</Type>
> > <Truncated>0</Truncated>
> > <Preview/>
> > <Data><div dir='auto'>Ciao Max .<div
> > dir="auto">Ignora la mCIAO REDACTED, MI HA CHIAMATO
> > REDACTED PER SAPERE SE CI SONO SCONTI...<br /><br />NELLO
> > STORICO REDACTED NON NE VEDO...<br /><br />DAMMI TUE
> > INDICAZIONI, OPPURE CONTATTALO DIRETTAMENTE.<br /><br
> > />MASSI<br /><br /><br /><br /><br
> > /><br /><br /><br /></Data>
> > <EstimatedDataSize>406</EstimatedDataSize>
> > </Body>
> > <Flag xmlns="Email:">
> > <FlagStatus>0</FlagStatus>
> > </Flag>
> > <Categories xmlns="Email:"/>
> > <ConversationId
> > xmlns="Email2:">PDIxMDUxMzEwMTkxMDAwMDcxNzU2OThAWERTMDMuc2Vydml6aTAxLmFkZHM+</ConversationId>
> > <LastVerbExecuted xmlns="Email2:">0</LastVerbExecuted>
> > <NativeBodyType xmlns="AirSyncBase:">2</NativeBodyType>
> > </ApplicationData>
> > </Add>
> > </Commands>
> > </Collection>
> > </Collections>
> > </Sync>
> >
> > Il giorno mar 25 mag 2021 alle ore 23:01 Thomas Führer <[email protected]>
> > ha scritto:
> > >
> > > Hi Riccardo,as it works for me I suggest to reproduce the problem with
> > > SOGoEASDebugEnabled=YES.Then search in sogo.log for SendMail or
> > > SmartReply. The debug info for SendMail contains the base64 encoded mail
> > > sent by the gmail app.Regards,Thomas<!-- originalMessage --><div>--------
> > > Original message --------</div><div>From: Riccardo Bicelli
> > > <[email protected]> </div><div>Date: 24/05/2021 11:01 (GMT+01:00)
> > > </div><div>To: [email protected] </div><div>Subject: [SOGo] Gmail App
> > > Activesync reply Problem </div><div>
> > > </div>Hi,
> > > some of our users (heavy mobile ones) are complaining that when
> > > replying from gmail App with Activesync configured account the
> > > received message arrives to recipient with truncated body.
> > >
> > > I'm pretty sure it's a bug of gmail app and its smart reply.
> > >
> > > Is there any workaround to prevent this?
> > >
> > > Thanks
> > > --
> > > [email protected]
> > > https://inverse.ca/sogo/lists
> > >
> > > --
> > > [email protected]
> > > https://inverse.ca/sogo/lists
> > --
> > [email protected]
> > https://inverse.ca/sogo/lists
>
> --
> [email protected]
> https://inverse.ca/sogo/lists
--
[email protected]
https://inverse.ca/sogo/lists<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN"
"http://www.microsoft.com/">
<SmartReply xmlns="ComposeMail:">
<ClientId>SendMail-105848786755999</ClientId>
<SaveInSentItems/>
<Source>
<ItemId>15051</ItemId>
<FolderId>mail%2F41c96c0cd6446f60c85f0000c343691f</FolderId>
</Source>
<MIME>RGF0ZTogVGh1LCAyNyBNYXkgMjAyMSAxNDo1OTozNSArMDIwMA0KU3ViamVjdDogUmU6IEludmlvIHByZXZlbnRpdm8gbnIuIDIwMjEtT0ZDQlgtMDAwNTQ2OQ0KTWVzc2FnZS1JRDogPDk1N2FiYTc5LTE1MjMtNGJlNi1hZGYyLWFiZDNhZjlmMmEyZkBlbWFpbC5hbmRyb2lkLmNvbT4NClgtQW5kcm9pZC1NZXNzYWdlLUlEOiA8OTU3YWJhNzktMTUyMy00YmU2LWFkZjItYWJkM2FmOWYyYTJmQGVtYWlsLmFuZHJvaWQuY29tPg0KRnJvbTogci5jb2xsaXZhQGRlZ2FlZ3JhemlvbGkuaXQNClRvOiAiTWFzc2ltaWxpYW5vIEN1Z2xpYW5kb2xvIC0gREVHQSBlIEdSQVpJT0xJIFMuci5sLiINCiA8bS5jdWdsaWFuZG9sb0BkZWdhZWdyYXppb2xpLml0Pg0KSW1wb3J0YW5jZTogTm9ybWFsDQpYLVByaW9yaXR5OiAzDQpYLU1TTWFpbC1Qcmlvcml0eTogTm9ybWFsDQpNSU1FLVZlcnNpb246IDEuMA0KQ29udGVudC1UeXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IGJhc2U2NA0KDQpQR1JwZGlCa2FYSTlKMkYxZEc4blBrTnBZVzhnVFdGNElDNDhaR2wySUdScGNqMGlZWFYwYnlJK1NXZHViM0poSUd4aElHMD0NCg==</MIME>
</SmartReply>