MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet()
-
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
-
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 -
Hi Joost,
quite a laborious workaround but good to hear you’ve managed to solve the issue.
Manfred
-
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?
-
Hi robgnu,
you could post WBXML log for the request where this message appears. Or you could try the fix Joost posted.
Manfred
-
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.1Mails are totally empty in Outlook but visible in WebApp as well as on my Android device.
Best Jan
-
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: 9It looks like, only mails with HTML Body and Content-Type: multipart/alternative are getting empty items in Outlook (2016 & 2019)
-
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
-
@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?
-
Hi @deHoeninger and @mgmomo,
please provide WBXML log for the emails which cause this issue.
Manfred
-
@Manfred sent you a PM.
-
@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.
-
@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.
-
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
-
Hi @Manfred,
nope, the mail has a body as well as two attachments. Sadly it’s not possible to provide you the eml-file. In Outlool the mail is totally empty, in Webapp its visible but during Export to eml a MAPI error occures. Not for other mails.
Evidence again as PM.
WIll keep the log detail in mind for future.
Best Jan -
Hi Jan,
@deHoeninger said in MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet():
nope, the mail has a body as well as two attachments. Sadly it’s not possible to provide you the eml-file. In Outlool the mail is totally empty, in Webapp its visible but during Export to eml a MAPI error occures. Not for other mails.
Felix explained it e.g. here: https://forum.kopano.io/topic/1847/empty-mails-with-kopano-ol-extension/2.
Manfred
-
Hi @Manfred
I’ve already provided a wbxml log, so what additional information should I take from Felix post? I only told you in my last post, thats inposible to provide you the requested eml file, cause in Outlook mail is not present/empty and in WebApp export of this particular email is failing with a MAPI error.
Nevertheless, I’ve enabled the raw log message parameter but this will only catch future mails.
Best Jan -
Hi Jan,
@deHoeninger said in MAPIProvider->imtoinet(): got no stream or content from mapi_inetmapi_imtoinet():
Hi @Manfred
I’ve already provided a wbxml log, so what additional information should I take from Felix post? I only told you in my last post, thats inposible to provide you the requested eml file, cause in Outlook mail is not present/empty and in WebApp export of this particular email is failing with a MAPI error.
Nevertheless, I’ve enabled the raw log message parameter but this will only catch future mails.my comment was regarding the log_raw_message parameter. I’m aware that this will only work with the future emails, but the current Z-Push WBXML log is not helpful because it doesn’t contain the email body and you said that the email body is not empty, so we have to debug what kind of incoming emails cause this issue.
Manfred
-
@Manfred
Understood, I will try to collect some more information and will come back to you.Best Jan
-
@Manfred
I’ve sent you an Link to a WBXML file I’ve created yesterday. I hope it helps debugging.
bye, robgnu.