Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet()

    Z-Push when using Kopano
    11
    50
    5052
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Manfred
      Manfred Kopano last edited by

      Hi Joost,

      please also post the z-push-admin output for that user and Z-Push WBXML log for that user.

      Manfred

      1 Reply Last reply Reply Quote 0
      • joost001
        joost001 last edited by

        Hi Manfred,

        I copied all log files and posted them online. I have posted you the link in pm.

        Joost

        1 Reply Last reply Reply Quote 0
        • Manfred
          Manfred Kopano last edited by

          Hi Joost,

          it looks like the issue described at https://jira.z-hub.io/browse/ZP-1412. We fixed it in Z-Push 2.4.2. Its beta was released on Wednesday, if you want to give it a try: https://forum.kopano.io/topic/1357/z-push-2-4-2-beta1-released.

          Manfred

          1 Reply Last reply Reply Quote 0
          • joost001
            joost001 last edited by

            Hi Manfred, I updated to the latest z-push version (2.4.4+0) but the problem still exists with this user. Is there anything else I can check?

            Joost

            1 Reply Last reply Reply Quote 0
            • Manfred
              Manfred Kopano last edited by

              Hi Joost,

              is it still the same problem? Have you tried creating a new Outlook profile for that user? Without logs it’s difficult to say anything for sure.

              Manfred

              1 Reply Last reply Reply Quote 0
              • joost001
                joost001 last edited by

                Hi Manfred,
                I have posted the log files in PM. Also with new outlook profile I have the same issue.

                Joost

                1 Reply Last reply Reply Quote 0
                • Manfred
                  Manfred Kopano last edited by

                  Hi Joost,

                  aren’t there any messages at all?

                  There more than 29000 messages in one of the folders (I guess it’s the Inbox) and it looks like the same messages are being sent to Outlook over and over again. Some of them are broken and Outlook is not able to process the response (my guess is the ones which cause “got no stream or content from mapi_inetmapi_imtoinet()” error as they have no Data tag which contains the full mime message and Outlook parses it to create its local email).

                  When you open such an email in webapp, do they have a body or is it empty (e.g. WERKBLADEN received on the 2007-10-29 at 10:36:06)? Did you try to create the profile and sync only one month instead of all messages?

                  Manfred

                  1 Reply Last reply Reply Quote 0
                  • joost001
                    joost001 last edited by

                    Hi Manfred,

                    I resolved the problem for the specific user by doing the following:

                    • took a new backup for the specific user from the old zarafa mailserver (using kopano-backup)
                    • took a backup of the newer email items on the new kopano server (using kopano-backup with filter)
                    • created a new store and linked it to the user
                    • restored both backups
                    • recreated a new profile on the win10 (incl kopano outlook extension)

                    After the first sync, all is working fine and no errors anymore;

                    regards,
                    Joost

                    1 Reply Last reply Reply Quote 0
                    • Manfred
                      Manfred Kopano last edited by

                      Hi Joost,

                      quite a laborious workaround but good to hear you’ve managed to solve the issue.

                      Manfred

                      1 Reply Last reply Reply Quote 0
                      • robgnu
                        robgnu last edited by

                        Hi,
                        I must re-push this topic. Since upgrading to z-push 2.4.5+0-0 with Kopano 8.7.80.168-0+41.1 (Debian 9) I have multiple error messages in /var/log/z-push/z-push-error.log.

                        [ERROR] [username] MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet()
                        

                        I get this error on multiple users on multiple machines. The issue is the same, as descibed above. On Outlook 365 the e-mail is empty but visible in WebApp.

                        Any idea what to do?

                        1 Reply Last reply Reply Quote 0
                        • Manfred
                          Manfred Kopano last edited by

                          Hi robgnu,

                          you could post WBXML log for the request where this message appears. Or you could try the fix Joost posted.

                          Manfred

                          1 Reply Last reply Reply Quote 0
                          • deHoeninger
                            deHoeninger last edited by

                            Hi,
                            same for me with latests z-push and kopano version.

                            Z-Push: 2.4.5+0-0
                            Kopano: 8.7.80.169-0+44.1

                            Mails are totally empty in Outlook but visible in WebApp as well as on my Android device.

                            Best Jan

                            1 Reply Last reply Reply Quote 0
                            • mgmomo
                              mgmomo last edited by

                              Hi,
                              I realized the same issue, actual with
                              Kopano: 8.7.80.138_0+39-Debian_9.0 and 8.7.80.169_0+44-Debian_9.0-
                              Z-Push: 2.4.5+0-0
                              Debian: 9

                              It looks like, only mails with HTML Body and Content-Type: multipart/alternative are getting empty items in Outlook (2016 & 2019)

                              1 Reply Last reply Reply Quote 0
                              • robgnu
                                robgnu last edited by

                                Hello,
                                sadly I have no log files. We don’t use KOE (to many crashes), so we stay on simple Active Sync. I also can’t check the workaround by Joost. There are backups (db dumps) and I may restore them. In WebApp and DeskApp everything seems to be ok. So I don’t think, Joost’s way is a solution for this problem.

                                Anything else I can help?

                                robgnu

                                fbartels 1 Reply Last reply Reply Quote 0
                                • fbartels
                                  fbartels Kopano @robgnu last edited by fbartels

                                  @robgnu said in MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet():

                                  sadly I have no log files. We don’t use KOE (to many crashes)

                                  The logs that Manfred requested are independent of the use of koe, see https://wiki.z-hub.io/display/ZP/Debugging for information on how to retrieve these logs.

                                  A bit offtopic to the current one, but I would also like to learn about your claim about the “too many crashes” in regards to KOE. I have not heard of such an issue recently. Maybe you had this only in one of the very early versions?

                                  Regards Felix

                                  Resources:
                                  https://kopano.com/blog/how-to-get-kopano/
                                  https://documentation.kopano.io/
                                  https://kb.kopano.io/

                                  Support overview:
                                  https://kopano.com/support/

                                  1 Reply Last reply Reply Quote 0
                                  • Manfred
                                    Manfred Kopano last edited by

                                    Hi @deHoeninger and @mgmomo,

                                    please provide WBXML log for the emails which cause this issue.

                                    Manfred

                                    1 Reply Last reply Reply Quote 0
                                    • deHoeninger
                                      deHoeninger last edited by

                                      @Manfred sent you a PM.

                                      Manfred 1 Reply Last reply Reply Quote 0
                                      • robgnu
                                        robgnu last edited by

                                        @fbartels To your offtopic question. I tried KOE first time in spring 2018 and I wasn’t able to use more than one account. (The main reason of skipping WebApp/DeskApp is the option to log into multiple accounts at the same time). The last time I tried is a few weeks ago. I wasn’t able to connect to the Kopano/ActiveSync anymore. At this time, I hadn’t enough time to do more investigations, so I removed KOE from my machine and Outlooks works well since then.

                                        @Manfred Today I will try to get some WBXML logs to send them to you.

                                        Bye, robgnu.

                                        fbartels 1 Reply Last reply Reply Quote 0
                                        • fbartels
                                          fbartels Kopano @robgnu last edited by

                                          @robgnu said in MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet():

                                          I wasn’t able to connect to the Kopano/ActiveSync anymore

                                          But koe has no influence on the connection between Outlook and the server.

                                          Regards Felix

                                          Resources:
                                          https://kopano.com/blog/how-to-get-kopano/
                                          https://documentation.kopano.io/
                                          https://kb.kopano.io/

                                          Support overview:
                                          https://kopano.com/support/

                                          robgnu 1 Reply Last reply Reply Quote 0
                                          • Manfred
                                            Manfred Kopano @deHoeninger last edited by

                                            Hi deHoeninger,

                                            @deHoeninger said in MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet():

                                            @Manfred sent you a PM.

                                            The email has the empty body, hasn’t it? It only contains two attachments? Could you also provide the .eml of the incoming email?

                                            In the future when we ask for WBXML log, please send WBXML log. There’s no need for WBXMLSTACK, unless we specifically ask for it. WBXMLSTACK only increases log size and makes it unnecessary difficult for us to look through it.

                                            Manfred

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post