Page MenuHome GnuPG

GPGOL loaded but doesn't open Mails in Outlook 2016
Open, NormalPublic

Description

Using Outlook 2016 And gpg4win-3.1.14 (installed as user)

When trying to open an encrypted Mail, the Mail is shown as encrypted attachment.
GPGOL ist loaded, no incompatible other AddIns (afaik)

Reinstallation of gpg4win and Office doesn't solve the problem.

gpgol log while trying to open the mail:

11:26:57/19216/enabled debug flags: data
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'enableSmime' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'encryptDefault' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'signDefault' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'inlinePGP' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'replyCrypt' val '1'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'preferSmime' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'autoresolve' val '1'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'autoretrieve' val 'null'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'automation' val '1'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'autosecure' val '1'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'autotrust' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'searchSmimeServers' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'smimeHtmlWarnShown' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'smimeInsecureReplyAllowed' val 'null'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'autoencryptUntrusted' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'autoimport' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'splitBCCMails' val 'null'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'combinedOpsEnabled' val 'null'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'encryptSubject' val 'null'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'draftEnc' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'alwaysShowApproval' val '0'
11:26:57/19216/common.cpp:load_extension_value: LoadReg 'syncDec' val '0'
11:27:00/25848/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Mail.Read
11:27:00/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
11:27:00/25848/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
11:27:00/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '0000026746f73eb0'
11:27:00/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 0000026746f73eb0 in map.
11:27:00/25848/ribbon-callbacks.cpp:get_sig_label: No mail.
11:27:00/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
11:27:00/25848/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
11:27:00/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '0000026746f74b30'
11:27:00/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 0000026746f74b30 in map.
11:27:02/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigTip
11:27:02/25848/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
11:27:02/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '00000267359f5510'
11:27:02/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 00000267359f5510 in map.
11:27:02/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigSTip
11:27:02/25848/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
11:27:02/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '00000267359f5ab0'
11:27:02/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 00000267359f5ab0 in map.
11:27:22/25848/windowmessages.cpp:gpgol_hook: Got WM_CLOSE
11:27:25/25848/application-events.cpp:Invoke: ItemLoad event. Getting object.
11:27:25/25848/application-events.cpp:Invoke: Creating mail object for item: 000002674544f700
11:27:25/22808/windowmessages.cpp:do_async: Do async with type 1108 after 0 ms
11:27:25/25848/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1108
11:27:25/25848/windowmessages.cpp:gpgol_window_proc: clearing last mail
11:27:26/25848/ERROR/mapihelp.cpp:mapi_change_message_class: HrGetOneProp() failed: hr=0x80004002
11:27:26/25848/mapihelp.cpp:mapi_get_header_info:Failed to find top level boundary.
11:27:26/25848/mailitem-events.cpp:Invoke: Non crypto mail 00000267335b7ea0 opened. Updating sigstatus.
11:27:26/25848/mailitem-events.cpp:Invoke: Removing Mail for message: 00000267357e4010.
11:27:26/22932/windowmessages.cpp:do_in_ui_thread: Sending message of type 1101
11:27:26/25848/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1101
11:27:26/25848/windowmessages.cpp:gpgol_window_proc: Invalidating UI
11:27:26/25848/gpgoladdin.cpp:invalidateRibbons: Invalidating ribbon: 00000267448c3148
11:27:26/25848/gpgoladdin.cpp:invalidateRibbons: Invalidation done.
11:27:26/25848/windowmessages.cpp:gpgol_window_proc: Invalidation done
11:27:26/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
11:27:26/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:27:26/25848/oomhelp.cpp:get_unique_id: Found uid '9041209f-a0af-4108-b47a-95d290ad6b8a' for '000002674704b890'
11:27:26/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 000002674704b890 in map.
11:27:26/25848/ribbon-callbacks.cpp:get_sig_label: No mail.
11:27:26/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
11:27:26/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:27:26/25848/oomhelp.cpp:get_unique_id: Found uid '9041209f-a0af-4108-b47a-95d290ad6b8a' for '000002674704b7f0'
11:27:26/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 000002674704b7f0 in map.
11:27:26/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled
11:27:26/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:27:26/25848/oomhelp.cpp:get_unique_id: Found uid '9041209f-a0af-4108-b47a-95d290ad6b8a' for '000002674704bf70'
11:27:26/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 000002674704bf70 in map.
11:27:27/25848/application-events.cpp:Invoke: ItemLoad event. Getting object.
11:27:27/25848/application-events.cpp:Invoke: Creating mail object for item: 000002674704bf70
11:27:27/20384/windowmessages.cpp:do_async: Do async with type 1108 after 0 ms
11:27:27/25848/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1108
11:27:27/25848/windowmessages.cpp:gpgol_window_proc: clearing last mail
11:27:27/25848/ERROR/mapihelp.cpp:mapi_change_message_class: HrGetOneProp() failed: hr=0x80004002
11:27:27/25848/mapihelp.cpp:mapi_get_header_info:Failed to find top level boundary.
11:27:27/25848/mailitem-events.cpp:Invoke: Non crypto mail 00000267335a7dd0 opened. Updating sigstatus.
11:27:27/25848/mailitem-events.cpp:Invoke: Removing Mail for message: 000002674544f700.
11:27:27/19740/windowmessages.cpp:do_in_ui_thread: Sending message of type 1101
11:27:27/25848/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1101
11:27:27/25848/windowmessages.cpp:gpgol_window_proc: Invalidating UI
11:27:27/25848/gpgoladdin.cpp:invalidateRibbons: Invalidating ribbon: 00000267448c3148
11:27:27/25848/gpgoladdin.cpp:invalidateRibbons: Invalidation done.
11:27:27/25848/windowmessages.cpp:gpgol_window_proc: Invalidation done
11:27:27/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
11:27:27/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:27:27/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '00000267357e5690'
11:27:27/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 00000267357e5690 in map.
11:27:27/25848/ribbon-callbacks.cpp:get_sig_label: No mail.
11:27:27/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
11:27:27/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:27:27/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '00000267357e5190'
11:27:27/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 00000267357e5190 in map.
11:27:27/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled
11:27:27/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:27:27/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '00000267357e63b0'
11:27:27/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 00000267357e63b0 in map.
11:28:01/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigTip
11:28:01/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:28:01/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '00000267359f5970'
11:28:01/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 00000267359f5970 in map.
11:28:01/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigSTip
11:28:01/25848/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
11:28:01/25848/oomhelp.cpp:get_unique_id: Found uid '7bf1657e-da54-44f3-9361-c9cd2efe2e84' for '00000267359f5150'
11:28:01/25848/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 00000267359f5150 in map.
11:28:03/25848/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: openOptions
11:28:03/25848/addin-options.cpp:options_dialog_box: Launching gpgolconfig.
11:28:03/16280/addin-options.cpp:open_gpgolconfig: args:
11:28:03/16280/0: 'C:\Users\username\AppData\Local\Gpg4win\bin\gpgolconfig.exe'
11:28:03/16280/1: '--hwnd'
11:28:03/16280/2: '265902'
11:28:03/16280/3: '--gpgol-version'
11:28:03/16280/4: '2.4.8'
11:28:03/16280/5: '--lang'
11:28:03/16280/6: 'de_DE'
11:28:11/16280/addin-options.cpp:open_gpgolconfig:finished stdout:
''
11:28:11/16280/addin-options.cpp:open_gpgolconfig:stderr:
'org.kde.pim.kleo_ui: No widget implemented for list of type 1

'
11:28:11/16280/common.cpp:load_extension_value: LoadReg 'logFile' val 'C:\Users\username\gpgol.txt'
11:28:11/16280/common.cpp:load_extension_value: LoadReg 'enableDebug' val '0'

Event Timeline

ME9128 created this object in space S1 Public.

this is how it looks

these are all Outlook 2016 AddIns

does anyone have further ideas how to solve the problem?

Maybe it helps:
Here is another log from a user with a similar looking problem, same symptoms:

10:40:35/1456/enabled debug flags:
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'enableSmime' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'encryptDefault' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'signDefault' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'inlinePGP' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'replyCrypt' val '1'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'preferSmime' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'autoresolve' val '1'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'autoretrieve' val 'null'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'automation' val '1'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'autosecure' val '1'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'autotrust' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'searchSmimeServers' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'smimeHtmlWarnShown' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'autoencryptUntrusted' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'autoimport' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'draftEnc' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'alwaysShowApproval' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'syncEnc' val '0'
10:40:35/1456/common.cpp:load_extension_value: LoadReg 'syncDec' val '0'
10:41:05/7920/application-events.cpp:Invoke: ItemLoad event. Getting object.
10:41:05/7920/application-events.cpp:Invoke: Creating mail object for item: 1bca5b80
10:41:05/17316/windowmessages.cpp:do_async: Do async with type 1108 after 0 ms
10:41:05/7920/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1108
10:41:05/7920/windowmessages.cpp:gpgol_window_proc: clearing last mail
10:41:05/7920/ERROR/mapihelp.cpp:mapi_change_message_class: HrGetOneProp() failed: hr=0x80004002
10:41:05/7920/mailitem-events.cpp:Invoke: Non crypto mail 0a7ef650 opened. Updating sigstatus.
10:41:06/18204/windowmessages.cpp:do_in_ui_thread: Sending message of type 1101
10:41:06/7920/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1101
10:41:06/7920/windowmessages.cpp:gpgol_window_proc: Invalidating UI
10:41:06/7920/gpgoladdin.cpp:invalidateRibbons: Invalidating ribbon: 18d59ebc
10:41:06/7920/gpgoladdin.cpp:invalidateRibbons: Invalidation done.
10:41:06/7920/windowmessages.cpp:gpgol_window_proc: Invalidation done
10:41:06/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
10:41:06/7920/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
10:41:06/7920/oomhelp.cpp:get_unique_id: Found uid 'f3875551-4631-42dc-b9fd-dcf146fc629e' for '1b87f908'
10:41:06/7920/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 1b87f908 in map.
10:41:06/7920/ribbon-callbacks.cpp:get_sig_label: No mail.
10:41:06/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
10:41:06/7920/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
10:41:06/7920/oomhelp.cpp:get_unique_id: Found uid 'f3875551-4631-42dc-b9fd-dcf146fc629e' for '1b87fac0'
10:41:06/7920/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 1b87fac0 in map.
10:41:06/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled
10:41:06/7920/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
10:41:06/7920/oomhelp.cpp:get_unique_id: Found uid 'f3875551-4631-42dc-b9fd-dcf146fc629e' for '1b87fac0'
10:41:06/7920/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 1b87fac0 in map.
10:41:09/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigTip
10:41:09/7920/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
10:41:09/7920/oomhelp.cpp:get_unique_id: Found uid 'f3875551-4631-42dc-b9fd-dcf146fc629e' for '1bcf7850'
10:41:09/7920/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 1bcf7850 in map.
10:41:09/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigSTip
10:41:09/7920/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
10:41:09/7920/oomhelp.cpp:get_unique_id: Found uid 'f3875551-4631-42dc-b9fd-dcf146fc629e' for '1bcf7278'
10:41:09/7920/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 1bcf7278 in map.
10:41:11/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: launchDetails
10:41:11/7920/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
10:41:11/7920/oomhelp.cpp:get_unique_id: Found uid 'f3875551-4631-42dc-b9fd-dcf146fc629e' for '1b559db0'
10:41:11/7920/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to find mail 1b559db0 in map.
10:41:16/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: openOptions
10:41:16/7920/addin-options.cpp:options_dialog_box: Launching gpgolconfig.
10:41:16/17180/addin-options.cpp:open_gpgolconfig: args:
10:41:16/17180/0: 'C:\Program Files (x86)\Gpg4win\bin\gpgolconfig.exe'
10:41:16/17180/1: '--hwnd'
10:41:16/17180/2: '67270'
10:41:16/17180/3: '--gpgol-version'
10:41:16/17180/4: '2.4.4'
10:41:16/17180/5: '--lang'
10:41:16/17180/6: 'de_DE'
10:42:16/7920/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: openOptions
10:42:16/7920/addin-options.cpp:options_dialog_box: Gpgolconfig open. Not launching new dialog.
10:42:21/17180/addin-options.cpp:open_gpgolconfig:finished stdout:
''
10:42:21/17180/addin-options.cpp:open_gpgolconfig:stderr:
'org.kde.pim.kleo_ui: No widget implemented for list of type 1

'
10:42:21/17180/common.cpp:load_extension_value: LoadReg 'logFile' val 'C:\Users\username\gpgol.txt'
10:42:21/17180/common.cpp:load_extension_value: LoadReg 'enableDebug' val '0'

This comment was removed by aheinecke.

Hi,

10:41:05/7920/ERROR/mapihelp.cpp:mapi_change_message_class: HrGetOneProp() failed: hr=0x80004002

That says "Interface not supported" when GpgOL is trying to obtain some data from Outlook. AFAIK this can only happen if the server is either not a Microsoft MAPI server like OpenExchange or KOPANO or so. But even these two are known to work.

How is this account set up? Exchange, Exchange Web API, Exchange Online, IMAP, POP ? Or something else? And do you by chance know what the server version is?

When you send a mail from an exchange account there should be a log line: Detected exchange major version: ....

Thanks

aheinecke triaged this task as Normal priority.Jan 26 2021, 10:16 AM

Hi,
the accounts are Exchange Accounts in Outlook 2016, getting Data from an Exchange Server 2016.

Any idea, what this could be? Misconfiguration from my side?