Mail App iOS 13



  • Hi there,

    only since upgrading to iOS 13 resp. iPad OS 13 on my iPhone resp. iPad I am experiencing annoying effects regarding the read/unread markings of emails synced with my Kopano server via Z-Push. For every email, I need to open it twice to have it marked as read.

    On the same device with another account which connects to an exchange server I do not experience this. So I am looking for the cause of this problem. Either it is a bug in the ActiveSync-Implementation that emerged on iOS 13 or something has changed that is in accordance with the ActiveSync specification but not handled correctly by Z-Push. No hints in the Z-Push logs.

    Does anybody here using iOS 13 with Z-Push experience the same or similar problems?


  • Kopano

    Hi @genesis74,

    just to clarify - where do you have to open email twice for it to be marked as read where?

    • You have to open it twice on the iphone or ipad for it to be marked read on the other ios device?
    • You have to open it twice on the iphone or ipad for it to be marked read on the other ios device and in webapp/deskapp?
    • You have to open it twice on the iphone or ipad for it to be marked read in webapp/deskapp?
    • You have to open it twice in webapp/deskapp for it to be read on the iphone or ipad?

    Manfred



  • @Manfred

    Experiencing the same.
    Also with deleting the message when you have it open.
    You need to delete it twice.
    It is reading on the iphone and nothing tondo with webapp.

    When you google it appeared to be IOS 13 bug.



  • Hi @Manfred,

    I have to open it twice on the iphone or ipad for it to be marked read on the other ios device and in webapp/deskapp.

    @madpatrick: Thanks for the feedback. I know it is a known problem but I also know that it seems to happen only under certain circumstances. Otherwise I would have expected Apple to have it solved by now (iOS 13.2 is out already without a fix). As noted, I assume it has something to do with ActiveSync since an Exchange connection does not have the issue. And there might be the possibility it could be solved by modifying the ActiveSync server (Z-Push).


  • Kopano

    @genesis74 @madpatrick,

    did you check if the device sends Sync request to Z-Push after opening email the first time? To do so either add the user to $specialLogUsers in the z-push.conf.php or set the log level to WBXML. There should be something like this in z-push.log (or the user log if you add username to $specialLogUsers):

    29/10/2019 17:24:35 [28658] [WBXML] I      <Modify>
    29/10/2019 17:24:35 [28658] [WBXML] I       <ServerEntryId>
    29/10/2019 17:24:35 [28658] [WBXML] I        U12345:97b7db77f54d4666ab9876258369741afbc000000
    29/10/2019 17:24:35 [28658] [WBXML] I       </ServerEntryId>
    29/10/2019 17:24:35 [28658] [WBXML] I       <Data>
    29/10/2019 17:24:35 [28658] [WBXML] I        <POOMMAIL:Read>
    29/10/2019 17:24:35 [28658] [WBXML] I         1
    29/10/2019 17:24:35 [28658] [WBXML] I        </POOMMAIL:Read>
    29/10/2019 17:24:35 [28658] [WBXML] I       </Data>
    

    Is it in the log if you open the email the 2nd time?

    Manfred



  • Hi @Manfred,

    I set the $specialLogUsers and looked at the log generated afterwards. When reading an email for the first time I can see the lines

    30/10/2019 09:20:15 [ 4430] [WBXML] O        <POOMMAIL:Read>
    30/10/2019 09:20:15 [ 4430] [WBXML] O        0
    30/10/2019 09:20:15 [ 4430] [WBXML] O        </POOMMAIL:Read>
    

    The second time I open that email I get the lines

    30/10/2019 09:21:33 [ 4438] [WBXML] I        <POOMMAIL:Read>
    30/10/2019 09:21:33 [ 4438] [WBXML] I         1
    30/10/2019 09:21:33 [ 4438] [WBXML] I        </POOMMAIL:Read>
    

    Looks to me as if the problem is indeed exclusively related to the iOS mail app.

    Thanks for your help!


  • Kopano

    Hi @genesis74,

    @genesis74 said in Mail App iOS 13:

    Hi @Manfred,

    I set the $specialLogUsers and looked at the log generated afterwards. When reading an email for the first time I can see the lines

    30/10/2019 09:20:15 [ 4430] [WBXML] O        <POOMMAIL:Read>
    30/10/2019 09:20:15 [ 4430] [WBXML] O        0
    30/10/2019 09:20:15 [ 4430] [WBXML] O        </POOMMAIL:Read>
    

    The log above is what Z-Push sends to the device (hence the “O” after [WBXML]). That’s probably when the email was delivered to the device.

    The second time I open that email I get the lines

    30/10/2019 09:21:33 [ 4438] [WBXML] I        <POOMMAIL:Read>
    30/10/2019 09:21:33 [ 4438] [WBXML] I         1
    30/10/2019 09:21:33 [ 4438] [WBXML] I        </POOMMAIL:Read>
    

    This one is what the device sends to Z-Push (the “I” after [WBXML]).

    So, it really looks like your device doesn’t send anything after opening the email the first time. However my colleague updated his iPhone to ios 13.2 and he wasn’t able to reproduce this behaviour.

    Did you restart the device after the update?

    Manfred



  • @Manfred

    The problem accurred already on earlier versions of IOS13.
    Even a complete new install of IOS13 did not resolve the problem.



  • Hi @Manfred,

    I think I tried at least most of the standard solutions like restart, new install (with restore of the backup) and so on.

    Reports on the net read like some people have problems with the mail app, some don’t. That is the reason why I was opening this thread - thought that maybe it is specific to certain ActiveSync implementations (Z-Push in this case). At least in my environment it is happening to all 7 i(Pad)OS devices of different generations having upgraded to iOS 13(.2) and connecting to my Kopano server via Z-Push.

    Another weird thing: The issue only happens to newly received emails. If - after reading a new email twice thus marking it as read - I mark the email as unread again (i.e. in WebApp), I can mark it as read again with a single opening of the email on my iOS device.

    What I am just stumbling upon ist that on receiving the email Z-Push sends <POOMMAIL:Read>1</POOMAIL:Read>, on first reading iPhone sends a 0, on second reading iPhone sends a 1. Shouldn’t the first sending include marking it as unread?

    I post the complete log overview (filtered to all lines with the [WBXML] tag) of receiving email, opening it for the first time and the second time - I hope this is not too lengthy for a post here, but just in case you might discover something unexpected.

    Receiving the email:

    30/10/2019 16:47:24 [23133] [WBXML] I  <Synchronize>
    30/10/2019 16:47:24 [23133] [WBXML] I   <Folders>
    30/10/2019 16:47:24 [23133] [WBXML] I    <Folder>
    30/10/2019 16:47:24 [23133] [WBXML] I     <SyncKey>
    30/10/2019 16:47:24 [23133] [WBXML] I      {124a7b72-a61d-479c-9df3-6b3e867932c2}413
    30/10/2019 16:47:24 [23133] [WBXML] I     </SyncKey>
    30/10/2019 16:47:24 [23133] [WBXML] I     <FolderId>
    30/10/2019 16:47:24 [23133] [WBXML] I      U3c3a9
    30/10/2019 16:47:24 [23133] [WBXML] I     </FolderId>
    30/10/2019 16:47:24 [23133] [WBXML] I     <GetChanges/>
    30/10/2019 16:47:24 [23133] [WBXML] I     <WindowSize>
    30/10/2019 16:47:24 [23133] [WBXML] I      25
    30/10/2019 16:47:24 [23133] [WBXML] I     </WindowSize>
    30/10/2019 16:47:24 [23133] [WBXML] I     <Options>
    30/10/2019 16:47:24 [23133] [WBXML] I      <MIMETruncation>
    30/10/2019 16:47:24 [23133] [WBXML] I       1
    30/10/2019 16:47:24 [23133] [WBXML] I      </MIMETruncation>
    30/10/2019 16:47:24 [23133] [WBXML] I      <Conflict>
    30/10/2019 16:47:24 [23133] [WBXML] I       0
    30/10/2019 16:47:24 [23133] [WBXML] I      </Conflict>
    30/10/2019 16:47:24 [23133] [WBXML] I      <MIMESupport>
    30/10/2019 16:47:24 [23133] [WBXML] I       0
    30/10/2019 16:47:24 [23133] [WBXML] I      </MIMESupport>
    30/10/2019 16:47:24 [23133] [WBXML] I      <AirSyncBase:BodyPreference>
    30/10/2019 16:47:24 [23133] [WBXML] I       <AirSyncBase:Type>
    30/10/2019 16:47:24 [23133] [WBXML] I        1
    30/10/2019 16:47:24 [23133] [WBXML] I       </AirSyncBase:Type>
    30/10/2019 16:47:24 [23133] [WBXML] I       <AirSyncBase:TruncationSize>
    30/10/2019 16:47:24 [23133] [WBXML] I        500
    30/10/2019 16:47:24 [23133] [WBXML] I       </AirSyncBase:TruncationSize>
    30/10/2019 16:47:24 [23133] [WBXML] I      </AirSyncBase:BodyPreference>
    30/10/2019 16:47:24 [23133] [WBXML] I     </Options>
    30/10/2019 16:47:24 [23133] [WBXML] I    </Folder>
    30/10/2019 16:47:24 [23133] [WBXML] I   </Folders>
    30/10/2019 16:47:24 [23133] [WBXML] I  </Synchronize>
    30/10/2019 16:47:24 [23133] [WBXML] O  <Synchronize>
    30/10/2019 16:47:24 [23133] [WBXML] O   <Folders>
    30/10/2019 16:47:24 [23133] [WBXML] O    <Folder>
    30/10/2019 16:47:24 [23133] [WBXML] O     <SyncKey>
    30/10/2019 16:47:24 [23133] [WBXML] O     {124a7b72-a61d-479c-9df3-6b3e867932c2}414
    30/10/2019 16:47:24 [23133] [WBXML] O     </SyncKey>
    30/10/2019 16:47:24 [23133] [WBXML] O     <FolderId>
    30/10/2019 16:47:24 [23133] [WBXML] O     U3c3a9
    30/10/2019 16:47:24 [23133] [WBXML] O     </FolderId>
    30/10/2019 16:47:24 [23133] [WBXML] O     <Status>
    30/10/2019 16:47:24 [23133] [WBXML] O     1
    30/10/2019 16:47:24 [23133] [WBXML] O     </Status>
    30/10/2019 16:47:24 [23133] [WBXML] O     <Perform>
    30/10/2019 16:47:24 [23133] [WBXML] O      <Add>
    30/10/2019 16:47:24 [23133] [WBXML] O       <ServerEntryId>
    30/10/2019 16:47:24 [23133] [WBXML] O       U3c3a9:145c245c65d64562a87b7c41c07897e1e03201000000
    30/10/2019 16:47:24 [23133] [WBXML] O       </ServerEntryId>
    30/10/2019 16:47:24 [23133] [WBXML] O       <Data>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:To>
    30/10/2019 16:47:24 [23133] [WBXML] O        mail@domain.com
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:To>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:From>
    30/10/2019 16:47:24 [23133] [WBXML] O        mail@domain.com
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:From>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:Subject>
    30/10/2019 16:47:24 [23133] [WBXML] O        Bcd
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:Subject>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:DateReceived>
    30/10/2019 16:47:24 [23133] [WBXML] O        2019-10-30T15:47:21.000Z
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:DateReceived>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:DisplayTo>
    30/10/2019 16:47:24 [23133] [WBXML] O        mail@domain.com
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:DisplayTo>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:Importance>
    30/10/2019 16:47:24 [23133] [WBXML] O        1
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:Importance>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:Read>
    30/10/2019 16:47:24 [23133] [WBXML] O        0
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:Read>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:MessageClass>
    30/10/2019 16:47:24 [23133] [WBXML] O        IPM.Note
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:MessageClass>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:InternetCPID>
    30/10/2019 16:47:24 [23133] [WBXML] O        1252
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:InternetCPID>
    30/10/2019 16:47:24 [23133] [WBXML] O        <AirSyncBase:Body>
    30/10/2019 16:47:24 [23133] [WBXML] O         <AirSyncBase:Type>
    30/10/2019 16:47:24 [23133] [WBXML] O         1
    30/10/2019 16:47:24 [23133] [WBXML] O         </AirSyncBase:Type>
    30/10/2019 16:47:24 [23133] [WBXML] O         <AirSyncBase:EstimatedDataSize>
    30/10/2019 16:47:24 [23133] [WBXML] O         36
    30/10/2019 16:47:24 [23133] [WBXML] O         </AirSyncBase:EstimatedDataSize>
    30/10/2019 16:47:24 [23133] [WBXML] O         <AirSyncBase:Data>
    30/10/2019 16:47:24 [23133] [WBXML] O         <<< written 36 of 36 bytes of plain data >>>
    30/10/2019 16:47:24 [23133] [WBXML] O         </AirSyncBase:Data>
    30/10/2019 16:47:24 [23133] [WBXML] O        </AirSyncBase:Body>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:ContentClass>
    30/10/2019 16:47:24 [23133] [WBXML] O        urn:content-classes:message
    30/10/2019 16:47:24 [23133] [WBXML] O        </POOMMAIL:ContentClass>
    30/10/2019 16:47:24 [23133] [WBXML] O        <POOMMAIL:Flag/>
    30/10/2019 16:47:24 [23133] [WBXML] O        <AirSyncBase:NativeBodyType>
    30/10/2019 16:47:24 [23133] [WBXML] O        1
    30/10/2019 16:47:24 [23133] [WBXML] O        </AirSyncBase:NativeBodyType>
    30/10/2019 16:47:24 [23133] [WBXML] O       </Data>
    30/10/2019 16:47:24 [23133] [WBXML] O      </Add>
    30/10/2019 16:47:24 [23133] [WBXML] O     </Perform>
    30/10/2019 16:47:24 [23133] [WBXML] O    </Folder>
    30/10/2019 16:47:24 [23133] [WBXML] O   </Folders>
    30/10/2019 16:47:24 [23133] [WBXML] O  </Synchronize>
    30/10/2019 16:47:24 [23133] [WBXML] WBXML-OUT: <string of several lines length>
    30/10/2019 16:47:24 [23133] [WBXML] WBXML-IN : <string of about one line length>
    30/10/2019 16:47:24 [12656] [WBXML] I  <Synchronize>
    30/10/2019 16:47:24 [12656] [WBXML] I   <Folders>
    30/10/2019 16:47:24 [12656] [WBXML] I    <Folder>
    30/10/2019 16:47:24 [12656] [WBXML] I     <SyncKey>
    30/10/2019 16:47:24 [12656] [WBXML] I      {0b7a56b6-93dc-4161-b90f-da983c45a511}114
    30/10/2019 16:47:24 [12656] [WBXML] I     </SyncKey>
    30/10/2019 16:47:24 [12656] [WBXML] I     <FolderId>
    30/10/2019 16:47:24 [12656] [WBXML] I      U6ff87
    30/10/2019 16:47:24 [12656] [WBXML] I     </FolderId>
    30/10/2019 16:47:24 [12656] [WBXML] I     <GetChanges/>
    30/10/2019 16:47:24 [12656] [WBXML] I     <WindowSize>
    30/10/2019 16:47:24 [12656] [WBXML] I      25
    30/10/2019 16:47:24 [12656] [WBXML] I     </WindowSize>
    30/10/2019 16:47:24 [12656] [WBXML] I     <Options>
    30/10/2019 16:47:24 [12656] [WBXML] I      <MIMETruncation>
    30/10/2019 16:47:24 [12656] [WBXML] I       1
    30/10/2019 16:47:24 [12656] [WBXML] I      </MIMETruncation>
    30/10/2019 16:47:24 [12656] [WBXML] I      <Conflict>
    30/10/2019 16:47:24 [12656] [WBXML] I       0
    30/10/2019 16:47:24 [12656] [WBXML] I      </Conflict>
    30/10/2019 16:47:24 [12656] [WBXML] I      <MIMESupport>
    30/10/2019 16:47:24 [12656] [WBXML] I       0
    30/10/2019 16:47:24 [12656] [WBXML] I      </MIMESupport>
    30/10/2019 16:47:24 [12656] [WBXML] I      <AirSyncBase:BodyPreference>
    30/10/2019 16:47:24 [12656] [WBXML] I       <AirSyncBase:Type>
    30/10/2019 16:47:24 [12656] [WBXML] I        1
    30/10/2019 16:47:24 [12656] [WBXML] I       </AirSyncBase:Type>
    30/10/2019 16:47:24 [12656] [WBXML] I       <AirSyncBase:TruncationSize>
    30/10/2019 16:47:24 [12656] [WBXML] I        500
    30/10/2019 16:47:24 [12656] [WBXML] I       </AirSyncBase:TruncationSize>
    30/10/2019 16:47:24 [12656] [WBXML] I      </AirSyncBase:BodyPreference>
    30/10/2019 16:47:24 [12656] [WBXML] I     </Options>
    30/10/2019 16:47:24 [12656] [WBXML] I    </Folder>
    30/10/2019 16:47:24 [12656] [WBXML] I   </Folders>
    30/10/2019 16:47:24 [12656] [WBXML] I  </Synchronize>
    30/10/2019 16:47:24 [12656] [WBXML] O  <Synchronize>
    30/10/2019 16:47:24 [12656] [WBXML] O   <Folders>
    30/10/2019 16:47:24 [12656] [WBXML] O    <Folder>
    30/10/2019 16:47:24 [12656] [WBXML] O     <SyncKey>
    30/10/2019 16:47:24 [12656] [WBXML] O     {0b7a56b6-93dc-4161-b90f-da983c45a511}115
    30/10/2019 16:47:24 [12656] [WBXML] O     </SyncKey>
    30/10/2019 16:47:24 [12656] [WBXML] O     <FolderId>
    30/10/2019 16:47:24 [12656] [WBXML] O     U6ff87
    30/10/2019 16:47:24 [12656] [WBXML] O     </FolderId>
    30/10/2019 16:47:24 [12656] [WBXML] O     <Status>
    30/10/2019 16:47:24 [12656] [WBXML] O     1
    30/10/2019 16:47:24 [12656] [WBXML] O     </Status>
    30/10/2019 16:47:24 [12656] [WBXML] O     <Perform>
    30/10/2019 16:47:24 [12656] [WBXML] O      <Add>
    30/10/2019 16:47:24 [12656] [WBXML] O       <ServerEntryId>
    30/10/2019 16:47:24 [12656] [WBXML] O       U6ff87:145c245c65d64562a87b7c41c07897e1df3201000000
    30/10/2019 16:47:24 [12656] [WBXML] O       </ServerEntryId>
    30/10/2019 16:47:24 [12656] [WBXML] O       <Data>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:To>
    30/10/2019 16:47:24 [12656] [WBXML] O        mail@domain.com
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:To>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:From>
    30/10/2019 16:47:24 [12656] [WBXML] O        mail@domain.com
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:From>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:Subject>
    30/10/2019 16:47:24 [12656] [WBXML] O        Bcd
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:Subject>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:DateReceived>
    30/10/2019 16:47:24 [12656] [WBXML] O        2019-10-30T15:47:21.000Z
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:DateReceived>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:DisplayTo>
    30/10/2019 16:47:24 [12656] [WBXML] O        mail@domain.com
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:DisplayTo>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:Importance>
    30/10/2019 16:47:24 [12656] [WBXML] O        1
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:Importance>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:Read>
    30/10/2019 16:47:24 [12656] [WBXML] O        1
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:Read>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:MessageClass>
    30/10/2019 16:47:24 [12656] [WBXML] O        IPM.Note
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:MessageClass>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:InternetCPID>
    30/10/2019 16:47:24 [12656] [WBXML] O        20127
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:InternetCPID>
    30/10/2019 16:47:24 [12656] [WBXML] O        <AirSyncBase:Body>
    30/10/2019 16:47:24 [12656] [WBXML] O         <AirSyncBase:Type>
    30/10/2019 16:47:24 [12656] [WBXML] O         1
    30/10/2019 16:47:24 [12656] [WBXML] O         </AirSyncBase:Type>
    30/10/2019 16:47:24 [12656] [WBXML] O         <AirSyncBase:EstimatedDataSize>
    30/10/2019 16:47:24 [12656] [WBXML] O         34
    30/10/2019 16:47:24 [12656] [WBXML] O         </AirSyncBase:EstimatedDataSize>
    30/10/2019 16:47:24 [12656] [WBXML] O         <AirSyncBase:Data>
    30/10/2019 16:47:24 [12656] [WBXML] O         <<< written 34 of 34 bytes of plain data >>>
    30/10/2019 16:47:24 [12656] [WBXML] O         </AirSyncBase:Data>
    30/10/2019 16:47:24 [12656] [WBXML] O        </AirSyncBase:Body>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:ContentClass>
    30/10/2019 16:47:24 [12656] [WBXML] O        urn:content-classes:message
    30/10/2019 16:47:24 [12656] [WBXML] O        </POOMMAIL:ContentClass>
    30/10/2019 16:47:24 [12656] [WBXML] O        <POOMMAIL:Flag/>
    30/10/2019 16:47:24 [12656] [WBXML] O        <AirSyncBase:NativeBodyType>
    30/10/2019 16:47:24 [12656] [WBXML] O        1
    30/10/2019 16:47:24 [12656] [WBXML] O        </AirSyncBase:NativeBodyType>
    30/10/2019 16:47:24 [12656] [WBXML] O       </Data>
    30/10/2019 16:47:24 [12656] [WBXML] O      </Add>
    30/10/2019 16:47:24 [12656] [WBXML] O     </Perform>
    30/10/2019 16:47:24 [12656] [WBXML] O    </Folder>
    30/10/2019 16:47:24 [12656] [WBXML] O   </Folders>
    30/10/2019 16:47:24 [12656] [WBXML] O  </Synchronize>
    30/10/2019 16:47:24 [12656] [WBXML] WBXML-OUT: <string of several lines length>
    30/10/2019 16:47:24 [12656] [WBXML] WBXML-IN : <string of about one line length>
    

    Reading the email the first time:

    30/10/2019 16:48:31 [ 5305] [WBXML] I  <Synchronize>
    30/10/2019 16:48:31 [ 5305] [WBXML] I   <Folders>
    30/10/2019 16:48:31 [ 5305] [WBXML] I    <Folder>
    30/10/2019 16:48:31 [ 5305] [WBXML] I     <SyncKey>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      {124a7b72-a61d-479c-9df3-6b3e867932c2}414
    30/10/2019 16:48:31 [ 5305] [WBXML] I     </SyncKey>
    30/10/2019 16:48:31 [ 5305] [WBXML] I     <FolderId>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      U3c3a9
    30/10/2019 16:48:31 [ 5305] [WBXML] I     </FolderId>
    30/10/2019 16:48:31 [ 5305] [WBXML] I     <GetChanges>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      0
    30/10/2019 16:48:31 [ 5305] [WBXML] I     </GetChanges>
    30/10/2019 16:48:31 [ 5305] [WBXML] I     <Options>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      <Conflict>
    30/10/2019 16:48:31 [ 5305] [WBXML] I       0
    30/10/2019 16:48:31 [ 5305] [WBXML] I      </Conflict>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      <MIMESupport>
    30/10/2019 16:48:31 [ 5305] [WBXML] I       2
    30/10/2019 16:48:31 [ 5305] [WBXML] I      </MIMESupport>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      <AirSyncBase:BodyPreference>
    30/10/2019 16:48:31 [ 5305] [WBXML] I       <AirSyncBase:Type>
    30/10/2019 16:48:31 [ 5305] [WBXML] I        4
    30/10/2019 16:48:31 [ 5305] [WBXML] I       </AirSyncBase:Type>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      </AirSyncBase:BodyPreference>
    30/10/2019 16:48:31 [ 5305] [WBXML] I     </Options>
    30/10/2019 16:48:31 [ 5305] [WBXML] I     <Perform>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      <Fetch>
    30/10/2019 16:48:31 [ 5305] [WBXML] I       <ServerEntryId>
    30/10/2019 16:48:31 [ 5305] [WBXML] I        U3c3a9:145c245c65d64562a87b7c41c07897e1e03201000000
    30/10/2019 16:48:31 [ 5305] [WBXML] I       </ServerEntryId>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      </Fetch>
    30/10/2019 16:48:31 [ 5305] [WBXML] I     </Perform>
    30/10/2019 16:48:31 [ 5305] [WBXML] I    </Folder>
    30/10/2019 16:48:31 [ 5305] [WBXML] I   </Folders>
    30/10/2019 16:48:31 [ 5305] [WBXML] I  </Synchronize>
    30/10/2019 16:48:31 [ 5305] [WBXML] O  <Synchronize>
    30/10/2019 16:48:31 [ 5305] [WBXML] O   <Folders>
    30/10/2019 16:48:31 [ 5305] [WBXML] O    <Folder>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     <SyncKey>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     {124a7b72-a61d-479c-9df3-6b3e867932c2}414
    30/10/2019 16:48:31 [ 5305] [WBXML] O     </SyncKey>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     <FolderId>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     U3c3a9
    30/10/2019 16:48:31 [ 5305] [WBXML] O     </FolderId>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     <Status>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     1
    30/10/2019 16:48:31 [ 5305] [WBXML] O     </Status>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     <Replies>
    30/10/2019 16:48:31 [ 5305] [WBXML] O      <Fetch>
    30/10/2019 16:48:31 [ 5305] [WBXML] O       <ServerEntryId>
    30/10/2019 16:48:31 [ 5305] [WBXML] O       U3c3a9:145c245c65d64562a87b7c41c07897e1e03201000000
    30/10/2019 16:48:31 [ 5305] [WBXML] O       </ServerEntryId>
    30/10/2019 16:48:31 [ 5305] [WBXML] O       <Status>
    30/10/2019 16:48:31 [ 5305] [WBXML] O       1
    30/10/2019 16:48:31 [ 5305] [WBXML] O       </Status>
    30/10/2019 16:48:31 [ 5305] [WBXML] O       <Data>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:To>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        mail@domain.com
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:To>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:From>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        mail@domain.com
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:From>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:Subject>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        Bcd
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:Subject>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:DateReceived>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        2019-10-30T15:47:21.000Z
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:DateReceived>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:DisplayTo>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        mail@domain.com
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:DisplayTo>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:Importance>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        1
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:Importance>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:Read>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        0
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:Read>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:MessageClass>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        IPM.Note
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:MessageClass>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:InternetCPID>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        1252
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:InternetCPID>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <AirSyncBase:Body>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         <AirSyncBase:Type>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         4
    30/10/2019 16:48:31 [ 5305] [WBXML] O         </AirSyncBase:Type>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         <AirSyncBase:EstimatedDataSize>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         742
    30/10/2019 16:48:31 [ 5305] [WBXML] O         </AirSyncBase:EstimatedDataSize>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         <AirSyncBase:Truncated>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         0
    30/10/2019 16:48:31 [ 5305] [WBXML] O         </AirSyncBase:Truncated>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         <AirSyncBase:Data>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         <<< written 742 of 742 bytes of plain data >>>
    30/10/2019 16:48:31 [ 5305] [WBXML] O         </AirSyncBase:Data>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </AirSyncBase:Body>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:ContentClass>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        urn:content-classes:message
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </POOMMAIL:ContentClass>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <POOMMAIL:Flag/>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        <AirSyncBase:NativeBodyType>
    30/10/2019 16:48:31 [ 5305] [WBXML] O        1
    30/10/2019 16:48:31 [ 5305] [WBXML] O        </AirSyncBase:NativeBodyType>
    30/10/2019 16:48:31 [ 5305] [WBXML] O       </Data>
    30/10/2019 16:48:31 [ 5305] [WBXML] O      </Fetch>
    30/10/2019 16:48:31 [ 5305] [WBXML] O     </Replies>
    30/10/2019 16:48:31 [ 5305] [WBXML] O    </Folder>
    30/10/2019 16:48:31 [ 5305] [WBXML] O   </Folders>
    30/10/2019 16:48:31 [ 5305] [WBXML] O  </Synchronize>
    30/10/2019 16:48:31 [ 5305] [WBXML] WBXML-OUT: <string of several lines length>
    30/10/2019 16:48:31 [ 5305] [WBXML] WBXML-IN : <string of about one line length>
    

    Reading the email the second time (with unread marking disappearing):

    30/10/2019 16:49:26 [ 5306] [WBXML] I  <Synchronize>
    30/10/2019 16:49:26 [ 5306] [WBXML] I   <Folders>
    30/10/2019 16:49:26 [ 5306] [WBXML] I    <Folder>
    30/10/2019 16:49:26 [ 5306] [WBXML] I     <SyncKey>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      {124a7b72-a61d-479c-9df3-6b3e867932c2}414
    30/10/2019 16:49:26 [ 5306] [WBXML] I     </SyncKey>
    30/10/2019 16:49:26 [ 5306] [WBXML] I     <FolderId>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      U3c3a9
    30/10/2019 16:49:26 [ 5306] [WBXML] I     </FolderId>
    30/10/2019 16:49:26 [ 5306] [WBXML] I     <GetChanges>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      0
    30/10/2019 16:49:26 [ 5306] [WBXML] I     </GetChanges>
    30/10/2019 16:49:26 [ 5306] [WBXML] I     <Options>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      <Conflict>
    30/10/2019 16:49:26 [ 5306] [WBXML] I       0
    30/10/2019 16:49:26 [ 5306] [WBXML] I      </Conflict>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      <AirSyncBase:BodyPreference>
    30/10/2019 16:49:26 [ 5306] [WBXML] I       <AirSyncBase:Type>
    30/10/2019 16:49:26 [ 5306] [WBXML] I        4
    30/10/2019 16:49:26 [ 5306] [WBXML] I       </AirSyncBase:Type>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      </AirSyncBase:BodyPreference>
    30/10/2019 16:49:26 [ 5306] [WBXML] I     </Options>
    30/10/2019 16:49:26 [ 5306] [WBXML] I     <Perform>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      <Modify>
    30/10/2019 16:49:26 [ 5306] [WBXML] I       <ServerEntryId>
    30/10/2019 16:49:26 [ 5306] [WBXML] I        U3c3a9:145c245c65d64562a87b7c41c07897e1e03201000000
    30/10/2019 16:49:26 [ 5306] [WBXML] I       </ServerEntryId>
    30/10/2019 16:49:26 [ 5306] [WBXML] I       <Data>
    30/10/2019 16:49:26 [ 5306] [WBXML] I        <POOMMAIL:Read>
    30/10/2019 16:49:26 [ 5306] [WBXML] I         1
    30/10/2019 16:49:26 [ 5306] [WBXML] I        </POOMMAIL:Read>
    30/10/2019 16:49:26 [ 5306] [WBXML] I       </Data>
    30/10/2019 16:49:26 [ 5306] [WBXML] I      </Modify>
    30/10/2019 16:49:26 [ 5306] [WBXML] I     </Perform>
    30/10/2019 16:49:26 [ 5306] [WBXML] I    </Folder>
    30/10/2019 16:49:26 [ 5306] [WBXML] I   </Folders>
    30/10/2019 16:49:26 [ 5306] [WBXML] I  </Synchronize>
    30/10/2019 16:49:26 [ 5306] [WBXML] O  <Synchronize>
    30/10/2019 16:49:26 [ 5306] [WBXML] O   <Folders>
    30/10/2019 16:49:26 [ 5306] [WBXML] O    <Folder>
    30/10/2019 16:49:26 [ 5306] [WBXML] O     <SyncKey>
    30/10/2019 16:49:26 [ 5306] [WBXML] O     {124a7b72-a61d-479c-9df3-6b3e867932c2}415
    30/10/2019 16:49:26 [ 5306] [WBXML] O     </SyncKey>
    30/10/2019 16:49:26 [ 5306] [WBXML] O     <FolderId>
    30/10/2019 16:49:26 [ 5306] [WBXML] O     U3c3a9
    30/10/2019 16:49:26 [ 5306] [WBXML] O     </FolderId>
    30/10/2019 16:49:26 [ 5306] [WBXML] O     <Status>
    30/10/2019 16:49:26 [ 5306] [WBXML] O     1
    30/10/2019 16:49:26 [ 5306] [WBXML] O     </Status>
    30/10/2019 16:49:26 [ 5306] [WBXML] O    </Folder>
    30/10/2019 16:49:26 [ 5306] [WBXML] O   </Folders>
    30/10/2019 16:49:26 [ 5306] [WBXML] O  </Synchronize>
    30/10/2019 16:49:26 [ 5306] [WBXML] WBXML-OUT: <string of about one line length>
    30/10/2019 16:49:26 [ 5306] [WBXML] WBXML-IN : <string of about one line length>
    30/10/2019 16:49:29 [ 6201] [WBXML] O  <Ping:Ping>
    30/10/2019 16:49:29 [ 6201] [WBXML] O   <Ping:Status>
    30/10/2019 16:49:29 [ 6201] [WBXML] O   2
    30/10/2019 16:49:29 [ 6201] [WBXML] O   </Ping:Status>
    30/10/2019 16:49:29 [ 6201] [WBXML] O   <Ping:Folders>
    30/10/2019 16:49:29 [ 6201] [WBXML] O    <Ping:Folder>
    30/10/2019 16:49:29 [ 6201] [WBXML] O    U3c3a9
    30/10/2019 16:49:29 [ 6201] [WBXML] O    </Ping:Folder>
    30/10/2019 16:49:29 [ 6201] [WBXML] O   </Ping:Folders>
    30/10/2019 16:49:29 [ 6201] [WBXML] O  </Ping:Ping>
    30/10/2019 16:49:29 [ 6201] [WBXML] WBXML-OUT: <short string>
    30/10/2019 16:49:29 [ 6201] [WBXML] WBXML-IN :  <empty string>
    30/10/2019 16:49:29 [19634] [WBXML] I  <Synchronize>
    30/10/2019 16:49:29 [19634] [WBXML] I   <Folders>
    30/10/2019 16:49:29 [19634] [WBXML] I    <Folder>
    30/10/2019 16:49:29 [19634] [WBXML] I     <SyncKey>
    30/10/2019 16:49:29 [19634] [WBXML] I      {124a7b72-a61d-479c-9df3-6b3e867932c2}415
    30/10/2019 16:49:29 [19634] [WBXML] I     </SyncKey>
    30/10/2019 16:49:29 [19634] [WBXML] I     <FolderId>
    30/10/2019 16:49:29 [19634] [WBXML] I      U3c3a9
    30/10/2019 16:49:29 [19634] [WBXML] I     </FolderId>
    30/10/2019 16:49:29 [19634] [WBXML] I     <GetChanges/>
    30/10/2019 16:49:29 [19634] [WBXML] I     <WindowSize>
    30/10/2019 16:49:29 [19634] [WBXML] I      25
    30/10/2019 16:49:29 [19634] [WBXML] I     </WindowSize>
    30/10/2019 16:49:29 [19634] [WBXML] I     <Options>
    30/10/2019 16:49:29 [19634] [WBXML] I      <MIMETruncation>
    30/10/2019 16:49:29 [19634] [WBXML] I       1
    30/10/2019 16:49:29 [19634] [WBXML] I      </MIMETruncation>
    30/10/2019 16:49:29 [19634] [WBXML] I      <Conflict>
    30/10/2019 16:49:29 [19634] [WBXML] I       0
    30/10/2019 16:49:29 [19634] [WBXML] I      </Conflict>
    30/10/2019 16:49:29 [19634] [WBXML] I      <MIMESupport>
    30/10/2019 16:49:29 [19634] [WBXML] I       0
    30/10/2019 16:49:29 [19634] [WBXML] I      </MIMESupport>
    30/10/2019 16:49:29 [19634] [WBXML] I      <AirSyncBase:BodyPreference>
    30/10/2019 16:49:29 [19634] [WBXML] I       <AirSyncBase:Type>
    30/10/2019 16:49:29 [19634] [WBXML] I        1
    30/10/2019 16:49:29 [19634] [WBXML] I       </AirSyncBase:Type>
    30/10/2019 16:49:29 [19634] [WBXML] I       <AirSyncBase:TruncationSize>
    30/10/2019 16:49:29 [19634] [WBXML] I        500
    30/10/2019 16:49:29 [19634] [WBXML] I       </AirSyncBase:TruncationSize>
    30/10/2019 16:49:29 [19634] [WBXML] I      </AirSyncBase:BodyPreference>
    30/10/2019 16:49:29 [19634] [WBXML] I     </Options>
    30/10/2019 16:49:29 [19634] [WBXML] I    </Folder>
    30/10/2019 16:49:29 [19634] [WBXML] I   </Folders>
    30/10/2019 16:49:29 [19634] [WBXML] I  </Synchronize>
    30/10/2019 16:49:29 [19634] [WBXML] O  <Synchronize>
    30/10/2019 16:49:29 [19634] [WBXML] O   <Folders>
    30/10/2019 16:49:29 [19634] [WBXML] O    <Folder>
    30/10/2019 16:49:29 [19634] [WBXML] O     <SyncKey>
    30/10/2019 16:49:29 [19634] [WBXML] O     {124a7b72-a61d-479c-9df3-6b3e867932c2}415
    30/10/2019 16:49:29 [19634] [WBXML] O     </SyncKey>
    30/10/2019 16:49:29 [19634] [WBXML] O     <FolderId>
    30/10/2019 16:49:29 [19634] [WBXML] O     U3c3a9
    30/10/2019 16:49:29 [19634] [WBXML] O     </FolderId>
    30/10/2019 16:49:29 [19634] [WBXML] O     <Status>
    30/10/2019 16:49:29 [19634] [WBXML] O     1
    30/10/2019 16:49:29 [19634] [WBXML] O     </Status>
    30/10/2019 16:49:29 [19634] [WBXML] O    </Folder>
    30/10/2019 16:49:29 [19634] [WBXML] O   </Folders>
    30/10/2019 16:49:29 [19634] [WBXML] O  </Synchronize>
    30/10/2019 16:49:29 [19634] [WBXML] WBXML-OUT: <string of about one line lenght>
    30/10/2019 16:49:29 [19634] [WBXML] WBXML-IN : <string of about one line length>
    

  • Kopano

    Hi @genesis74,

    @genesis74 said in Mail App iOS 13:

    Reports on the net read like some people have problems with the mail app, some don’t. That is the reason why I was opening this thread - thought that maybe it is specific to certain ActiveSync implementations (Z-Push in this case). At least in my environment it is happening to all 7 i(Pad)OS devices of different generations having upgraded to iOS 13(.2) and connecting to my Kopano server via Z-Push.

    I don’t think it’s related to ActiveSync implementation as sending the read flag is a task of the device.
    Are you using the default app on all the devices or also some 3rd party app? Do you have multiple ActiveSync accounts configured on them?

    What I am just stumbling upon ist that on receiving the email Z-Push sends <POOMMAIL:Read>1</POOMAIL:Read>, on first reading iPhone sends a 0, on second reading iPhone sends a 1. Shouldn’t the first sending include marking it as unread?

    That <POOMMAIL:Read>1</POOMAIL:Read> is for the email in another folder (id U6ff87, I guess it’s Sent Items).

    I post the complete log overview (filtered to all lines with the [WBXML] tag) of receiving email, opening it for the first time and the second time - I hope this is not too lengthy for a post here, but just in case you might discover something unexpected.

    Reading the email the first time:

    Actually the ios devices fetch email even before you read if I remember correctly. It should send the request you’ve posted under “Reading the email the second time” after you open the email.

    There’s nothing obviously wrong in the log except that there’s no Sync request from the device. Is it also the same for the emails which you don’t open immediately after receiving?

    Manfred



  • Hi @Manfred,

    thank you for taking a look at the logs.

    I am using the native iOS mail app on all devices. On some devices there are Exchange accounts (native Microsoft Exchange) configured, but all have the same issue with Z-Push synchronization.

    Right, the read flag was in another folder, I missed that.

    iOS mail fetches a few lines of the email to show it in the email list (number of lines can be configured between none and 5, but one cannot configure mail app to load the whole mail without opening it - so email is only loaded when it is opened). So maybe I shouldn’t have shortened the logs at WBXML IN and OUT - at least it is possible to see if whole emails are transferred or only part of it. But knowing the size of the email I am pretty sure that the loading-on-opening is also reflected by the logs.

    I assume your colleague who has upgraded to 13.2 with his iPhone is synchronizing with a Kopano server via Z-Push as well and using the iOS mail app?


  • Kopano

    Hi @genesis74

    @genesis74 said in Mail App iOS 13:

    iOS mail fetches a few lines of the email to show it in the email list (number of lines can be configured between none and 5, but one cannot configure mail app to load the whole mail without opening it - so email is only loaded when it is opened). So maybe I shouldn’t have shortened the logs at WBXML IN and OUT - at least it is possible to see if whole emails are transferred or only part of it. But knowing the size of the email I am pretty sure that the loading-on-opening is also reflected by the logs.

    On the initial sync of an incoming email iOS devices request 500 bytes of plain text:

    30/10/2019 16:47:24 [23133] [WBXML] I      <MIMESupport>
    30/10/2019 16:47:24 [23133] [WBXML] I       0
    30/10/2019 16:47:24 [23133] [WBXML] I      </MIMESupport>
    30/10/2019 16:47:24 [23133] [WBXML] I      <AirSyncBase:BodyPreference>
    30/10/2019 16:47:24 [23133] [WBXML] I       <AirSyncBase:Type>
    30/10/2019 16:47:24 [23133] [WBXML] I        1
    30/10/2019 16:47:24 [23133] [WBXML] I       </AirSyncBase:Type>
    30/10/2019 16:47:24 [23133] [WBXML] I       <AirSyncBase:TruncationSize>
    30/10/2019 16:47:24 [23133] [WBXML] I        500
    30/10/2019 16:47:24 [23133] [WBXML] I       </AirSyncBase:TruncationSize>
    

    Then they do Fetch and request the whole RFC822 message:

    30/10/2019 16:48:31 [ 5305] [WBXML] I      <MIMESupport>
    30/10/2019 16:48:31 [ 5305] [WBXML] I       2
    30/10/2019 16:48:31 [ 5305] [WBXML] I      </MIMESupport>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      <AirSyncBase:BodyPreference>
    30/10/2019 16:48:31 [ 5305] [WBXML] I       <AirSyncBase:Type>
    30/10/2019 16:48:31 [ 5305] [WBXML] I        4
    30/10/2019 16:48:31 [ 5305] [WBXML] I       </AirSyncBase:Type>
    30/10/2019 16:48:31 [ 5305] [WBXML] I      </AirSyncBase:BodyPreference>
    

    However the difference between the initial sync and sync with Fetch is more than a minute.
    I’ve checked our logs and there’s the difference is only a matter of seconds. The iOS device issues the sync with Fetch right after the initial sync is done, without the user opening an email. That’s what I also observed in the past - iOS does 2 requests to get an email and loads the whole email message, so that all the content is there when you open it.
    Maybe one of the configured ActiveSync accounts is not able to connect to the server and is blocking the Fetch? Could you disable the sync for all ActiveSync accounts but the Kopano/Z-Push one and check if the issue stills occurs?

    I assume your colleague who has upgraded to 13.2 with his iPhone is synchronizing with a Kopano server via Z-Push as well and using the iOS mail app?

    Yes. He also has multiple ActiveSync accounts configured but all of them are Kopano/Z-Push.

    Manfred



  • Hi @Manfred,

    I invested a few more hours into this. First I followed your suggestions and disabled all other accounts. I also deleted the Kopano/Z-Push account and set it up from scratch. Only activated email. Then - for a short time - mail behaved like expected, later the issue returned. Then I started a widespread trial and error phase touching several parameters on iPhone, Z-Push, apache2 and so on.

    In the end the only parameter that seemed to reproduceably influence this issue is the number of emails and folders being synchronized. I had 1800 emails in my inbox, 2500 total in about 10 folders. After all these were synchronized the issue was present. Removing them and resynchronizing leads to normal behaviour in the beginning but issue returning as synchronizing progresses. I then reduced the number of mails in inbox to around 1000 and excluded all folders except inbox from push. At this stage the issue did not return.

    Maybe this helps. The question that remains is if this happens with mail app on all ActiveSync accounts with >= 2500 emails synchronized.



  • Hi,

    my primary Inbox contains 1326 items (241,4MB) and 7 sub folders.
    I uses 2 Active Sync account, my phone uses iOS 13.2 and I see the same odd behavior.

    Walter


  • Kopano

    Hi @genesis74,

    The amount of the emails in the inbox might indeed be the issue.

    Did you set to sync all emails? Or do you have some limitation (3 days, 7 days)?

    Manfred



  • Manfred,

    I sync all items and it worked with iOS 12.

    Walter


  • Kopano

    Hi @WalterHof,

    @WalterHof said in Mail App iOS 13:

    Manfred,

    I sync all items and it worked with iOS 12.

    Walter

    did you have as many items with iOS 12? Did you try syncing less items (e.g. 1 month or 1 week).

    Manfred



  • Manfred,

    with iOS 12 I have approximately the same amount of items in my inbox.
    Unfortunately I am very short on time, so I can’t dig into this issue.
    Btw. other customers, using Novell Groupwise reporting the same odd behavior since updating to iOS 13.x.

    Walter


  • Kopano

    Hi @WalterHof,

    @WalterHof said in Mail App iOS 13:

    Btw. other customers, using Novell Groupwise reporting the same odd behavior since updating to iOS 13.x.

    So, it looks like something’s changed in iOS 13. If the device doesn’t send read flag after opening an email, then Z-Push isn’t aware there has been a change.

    Manfred



  • Manfred,

    I asked my Exchange customers, unfortunately all Exchange customers do not see this sad behavior.

    So I assume, for Groupwise and Z-Push, the Active Sync implementation is no fully compliant to the AS specifications.

    Walter


Log in to reply