Skip to main content

Implementing MAPI for Outlook

A subscription is required to enjoy this feature.

Introduction

Syncing Outlook with BlueMind 4.0 no longer requires a connector to be installed on client workstations. However, a few operations must be performed on the server to allow the network's Outlook software to connect to BlueMind.

info

MAPI for Outlook is in production with many BlueMind clients. However, it is still in a reliability phase. It is disabled by default. Please get in touch with your usual contact person or contact us to discuss how this functionality can be enabled for your installation or project.

caution

We recommend that you work on virtual machines and use snapshots so that you can go back if an error occurs.

Compatibility

Outlook for Windows

Check whether your versions of Outlook are supported in our Compatibility page.

Outlook for Mac

As communication protocols vary, BlueMind only supports versions of Outlook for Windows.

BlueMind is unable to guarantee compatibility with Outlook for MacOS.

Outlook.com for smartphones

The Outlook.com application for smartphones isn't recommended. The email flow goes through Microsoft servers that store your BlueMind mail account data.

Features

Inbox sub-folders

In versions 4.0.x of BlueMind (4.0.x), folders created under the Inbox by Outlook are not mail folders but virtual folders.

BlueMind 4.1 supports inbox subfolders.

info

Update from 4.0.x to 4.x

Warning: when you update from BlueMind 4.0.x to 4.x, virtual folders are not migrated and will be deleted.

To prevent this, you can move virtual folders out of the inbox before the update to save them. They can then be restored and created again as mail folders.

Calendar event attachments

In addition to the BlueMind Calendar web application, version 4.1 allows you to attach files to calendar events from Outlook.

Prerequisites

  1. Having BlueMind version 4.0 installed
  2. The following BlueMind addresses must be accessible via HTTPS from client workstations:
info

Outlook in MAPI mode cannot run without a properly configured autodiscover service. On startup, the MAPI service checks that autodiscover is configured for the domain or at least one of its aliases; failing that, the MAPI service will not start.

To make sure that the server is configured properly and accessible, make sure that DNS records are enabled for the bm-mapi service to start, then you can use Microsoft's online diagnostic tool: https://testconnectivity.microsoft.com/.

  1. When accessing these addresses from a web browser, no security warnings regarding the SSL certificate should be displayed.
info

Autodiscover

The MAPI service requires autodiscover records to be enabled on all mail domains hosted on the server. Otherwise, you can circumvent autodiscover record checks by creating an empty file /etc/bm/non.blocking.checks and restarting bm-mapi.

Implementation

tip

Quick implementation of an evaluation environment.

Find out how you can quickly set up an evaluation environment in our blog article: BM 4.0 beta + Outlook: step by step

To install MAPI:

  • Deploy the subscription
  • Install the required packages:
    $ aptitude install bm-mapi
    Note: BlueMind doesn't have to be restarted.

Then, please refer to the following page to configure Outlook workstations: Synchronizing with Outlook.

Configuring Windows for an organization

Configuration of Windows workstations using GPOs

If your organization has an Active Directory, the following GPOs can be applied to deploy Microsoft Outlook more easily:

PoliceAttributeValueReference
Block authentication with Office 365 serverssigninoptions3admx.help link
Force the advanced configuration interfacedisableoffice365simplifiedaccountcreation1admx.help link
Force manual account configurationdisableaccountsettingsdetectionservice1admx.help link
Force autodiscover on the "on-premise" instanceenableoffice365configservice1admx.help link
Set up autodiscover for Bluemindexcludelastknowngoodurl1admx.help link
excludescplookup1admx.help link
excludehttpsrootdomain1admx.help link
excludeexplicito365endpoint1admx.help link
disableautodiscoverv2service1admx.help link
excludehttpsautodiscoverdomain0admx.help link
excludehttpredirect0admx.help link
excludesrvrecord0admx.help link
Force use of MAPI protocol exclusively (disable IMAP fallback)disablerpctcpfallback1admx.help link
Disable personal Microsoft accountsdisableexchangeconsumeraccounts1admx.help link
Force MAPI to use one account per profile onlymaxnumexchange1admx.help link
Set offline cache settingscache mode1admx.help link
Turn on conflict loggingenableconflictlogging3admx.help link

Configuring workstations using registry keys

To facilitate the deployment of Outlook with Bluemind, save the following registry keys on user workstations:

Windows Registry Editor Version 5.00


;Outlook 2013
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\AutoDiscover]
"ExcludeExplicitO365Endpoint"=dword:00000001
"ExcludeHttpsAutoDiscoverDomain"=dword:00000000
"ExcludeHttpsRootDomain"=dword:00000001
"ExcludeScpLookup"=dword:00000001
"ExcludeSrvRecord"=dword:00000001

;Outlook 2016 et Office365
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover]
"ExcludeExplicitO365Endpoint"=dword:00000001
"ExcludeHttpsAutoDiscoverDomain"=dword:00000000
"ExcludeHttpsRootDomain"=dword:00000001
"ExcludeScpLookup"=dword:00000001
"ExcludeSrvRecord"=dword:00000001


;; CACHE MODE ALL, DISABLE MULTIPLE EXCHANGE ACCOUNTS
;Outlook 2016 et Office365
[HKEY_CURRENT_USER\Software\policies\microsoft\office\16.0\outlook\cached mode]
"DisableMultipleExchange"=dword:00000001
"SyncWindowSetting"=dword:00000000

;Outlook 2013
[HKEY_CURRENT_USER\Software\policies\microsoft\office\15.0\outlook\cached mode]
"DisableMultipleExchange"=dword:00000001
"SyncWindowSetting"=dword:00000000


;; SHARED MAILBOX CONFIGURATION
;Outlook 2016 et Office365
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Preferences]
"DelegateSentItemsStyle"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\General]
"DelegateWastebasketStyle"=dword:00000004

;Outlook 2013
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Preferences]
"DelegateSentItemsStyle"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Options\General]
"DelegateWastebasketStyle"=dword:00000004

;Outlook 2016 -> 2021
; Disables Outlook from requesting and using Search results from Exchange for
; cached and non-cached mailbox items. Instead, it will use search results from
; Windows search service.
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Search]
"DisableServerAssistedSearch"=dword:00000001

Save this content in a file named mapi-bluemind.reg and deploy the file on the Windows workstations.