iphone 6.1.4/davmail 4.3.3 sporadic winmail.dat problems.

Help
2013-08-27
2013-09-12
  • Adrian Chung
    Adrian Chung
    2013-08-27

    I have davmail 4.3.3 running with an android, blackberry 10 and iphone 6.1.4 client. The blackberry and android clients appear to work just fine, however, starting probably with 4.3.1+ the iPhone fetches mail no problem, but often can't download the message body, and instead just shows a winmail.dat attachment. The winmail.dat attachment does not appear to be valid, as it can't be opened in applications that understand winmail.dat.

    I've had a quick look in the log which is attached below for the iPhone fetching a test message that showed on the iPhone as just having a winmail.dat attachment for the body, though the subject is correct.

    Doesn't happen all the time, even with messages sent to myself using the same Outlook 2007 client.

    Looks like the BODY.PEEK fetches winmail.dat, but the full BODY[TEXT] later actually gets the body text properly. iPhone only displays the first bit though it seems.

    Any ideas what I can try or do to workaround? I can't seem to find anyone else having this issue, so I'm not sure if it's something specific to a broken configuration on either the phone or server side.

    Thanks!

    2013-08-27 09:17:47,840 DEBUG [ImapConnection-45524] davmail.exchange.ExchangeSession - Message IMAP uid: 215296 uid: AAAAAJ8mPoVjzBVNiMQdwoaVcaYBAITlr3Ai3yJNjIHIYk5Q5UEAACdB1fIAAA== ItemId: AAMkAGVhYmM3YmYzLTIwODEtNGY0Zi05YWJmLTM1MjNlMzAxYjlmYQBGAAAAAACfJj6FY8wVTYjEHcKGlXGmBwDT+qE6JLBzQqEotTSwAscEAAAKeKNgAACE5a9wIt8iTYyByGJOUOVBAAAnQdXyAAA= ChangeKey: CQAAABYAAACE5a9wIt8iTYyByGJOUOVBAAAnScUo
    2013-08-27 09:17:47,840 DEBUG [ImapConnection-45524] davmail - > * STATUS "INBOX" (UNSEEN 21)
    2013-08-27 09:17:47,840 DEBUG [ImapConnection-45524] davmail - > 40 OK STATUS completed
    2013-08-27 09:17:48,070 DEBUG [ImapConnection-45524] davmail - < 41 UID FETCH 216600 (BODY.PEEK[HEADER] BODY.PEEK[TEXT])
    2013-08-27 09:17:48,145 DEBUG [ImapConnection-45524] davmail - > * 313 FETCH (UID 216600 BODY[HEADER] {1078}
    2013-08-27 09:17:48,145 DEBUG [ImapConnection-45524] davmail.imap.ImapConnection - Received: from mxs23.domain.ca ([fe80::a8f7:6ba3:a72c:d8e])
    by mxs05.domain.ca ([::1]) with mapi id 14.02.0309.002;
    Tue, 27 Aug 2013 09:17:33 -0400
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    From: "Chung, Adrian" Adrian.Chung@domain.com
    To: "Chung, Adrian" Adrian.Chung@domain.com
    Subject: wtf
    Thread-Topic: wtf
    Thread-Index: Ac6jJ8f5e95jCIBKRIKvwJ3eBhF5Nw==
    Date: Tue, 27 Aug 2013 09:17:33 -0400
    Message-ID: 84E5AF7022DF224D8C81C8624E50E541274ED570@mxs23.domain.ca
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Has-Attach:
    X-MS-Exchange-Organization-SCL: -1
    X-MS-TNEF-Correlator: 84E5AF7022DF224D8C81C8624E50E541274ED570@mxs23.domain.ca
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: mxs05.domain.ca
    X-MS-Exchange-Organization-AuthAs: Internal
    X-MS-Exchange-Organization-AuthMechanism: 04
    X-Originating-IP: [10.88.30.5]
    X-MS-Exchange-Organization-AVStamp-Mailbox: MSFTFF;1;0;0 0 0

    2013-08-27 09:17:48,146 DEBUG [ImapConnection-45524] davmail.imap.ImapConnection -
    2013-08-27 09:17:48,190 DEBUG [ImapConnection-45524] davmail.exchange.ExchangeSession - Downloaded full message content for IMAP UID 216600 (905 bytes)
    2013-08-27 09:17:48,190 DEBUG [ImapConnection-45524] davmail - > BODY[TEXT] {905}
    2013-08-27 09:17:48,191 DEBUG [ImapConnection-45524] davmail.imap.ImapConnection - Received: from mxs23.domain.ca ([fe80::a8f7:6ba3:a72c:d8e])
    by mxs05.domain.ca ([::1]) with mapi id 14.02.0309.002;
    Tue, 27 Aug 2013 09:17:33 -0400
    From: "Chung, Adrian" Adrian.Chung@domain.com
    To: "Chung, Adrian" Adrian.Chung@domain.com
    Subject: wtf
    Thread-Topic: wtf
    Thread-Index: Ac6jJ8f5e95jCIBKRIKvwJ3eBhF5Nw==
    Date: Tue, 27 Aug 2013 13:17:33 +0000
    Message-ID:
    84E5AF7022DF224D8C81C8624E50E541274ED570@mxs23.domain.ca
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Exchange-Organization-AuthAs: Internal
    X-MS-Exchange-Organization-AuthMechanism: 04
    X-MS-Exchange-Organization-AuthSource: mxs05.domain.ca
    X-MS-Has-Attach:
    X-MS-Exchange-Organization-SCL: -1
    X-MS-TNEF-Correlator:
    x-originating-ip: [10.88.30.5]
    Content-Type: text/plain; charset="us-ascii"
    MIME-Version: 1.0

    winm

    2013-08-27 09:17:48,191 DEBUG [ImapConnection-45524] davmail - > )
    2013-08-27 09:17:48,192 DEBUG [ImapConnection-45524] davmail - > 41 OK UID FETCH completed
    2013-08-27 09:17:50,610 DEBUG [ImapConnection-45524] davmail - < 42 UID STORE 216600 +FLAGS.SILENT (\Seen)
    2013-08-27 09:17:50,690 DEBUG [ImapConnection-45524] davmail - > * 313 FETCH (UID 216600 FLAGS (\Seen))
    2013-08-27 09:17:50,690 DEBUG [ImapConnection-45524] davmail - > 42 OK STORE completed

     
    Last edit: Adrian Chung 2013-08-27
    • Adrian Chung
      Adrian Chung
      2013-09-12

      So far, in the two days that I've been using 4.3.4, this has not happened again. So it looks like it may be fixed.