Hi, I get a 0x00040820 error while syncing with Outlook. The folder for syncing problems is empty, so there is no real hint from Outlook what’s happening. Like always.
I dug into the samba log and found: [2015/07/09 01:14:34.506817, 5] libmapi/oc_log.c:52(oc_logv) mapiproxy/servers/default/emsmdb/oxcfold.c:64(EcDoRpc_RopOpenFolder): exchange_emsmdb: [OXCFOLD] OpenFolder (0x02) <0x0x7f463af1a5a0[MAPIStoreFallbackContext]> -[MAPIStoreContext getPath:ofFMID:inMemCtx:]: you should *never* get here This hints to MAPIStoreContext and MAPIStoreContext.m does indeed contain this message. As far as I understand the things behind the getPath method, it gets its information from the SQL table folders, mainly from the field MAPIStoreURI. Unfortunately, MAPIStoreURI is NULL for some rows for this user: id ou_id folder_id folder_class mailbox_id parent_folder_id FolderType SystemIdx MAPIStoreURI 85 1 17366724588070764545 system 3 NULL 1 9 NULL 86 1 17438782182108692481 system 3 NULL 1 10 NULL 87 1 17510839776146620417 system 3 NULL 1 11 NULL 88 1 17582897370184548353 system 3 NULL 1 12 NULL Unfortunately, the Fields with SystemIdx between 9 and 12 do always contain NULL for MAPIStoreURI, independent from how I create the user. I can’t find further information about the fields to the table, so I’m stuck. Is the table broken? Does it lead to the 0x00040820 error? Could it be a problem with localization where Outlook can’t connect to the proper folder? I need to start outlook.exe with /resetfoldernames to get native folder names in outlook. Regards, Johannes -- [email protected] https://inverse.ca/sogo/lists
