Exchange

With Relution, a Microsoft Exchange configuration for iOS devices can be transferred to the native Mail app. This eliminates the complex setup for the end user. Depending on the selected authentication →, the device only requires the user’s password, a sign-in via OAuth or no input at all.

The configuration can be created several times in a policy, for example for several accounts. The form carries the badge Supports user enrollment: the configuration can also be distributed to devices with User Enrollment →. On Shared iPads, Relution delivers the configuration via the user channel; the account is therefore installed in the profile of the signed-in user and not device-wide.


General

  • Use Secure Mail Gateway: If this option is enabled, the SMG Service URL (without https://) is distributed to the devices as the host and the unique name of the organization as the domain, instead of the Exchange host and Exchange domain. This allows the devices to communicate with the Exchange server via the Secure Mail Gateway. The Exchange Host and Exchange Domain fields are then locked. Disabled by default.
  • Exchange Host: Address of the Exchange server without protocol (https://). Mandatory field.
  • Exchange Domain: Optional. When saving, the value is prepended to the user name (DOMAIN\username).
  • Exchange Server is using SSL for authentication: Enabled by default.

Use Secure Mail Gateway requires a Secure Mail Gateway that is configured and enabled in the settings. If it is disabled, the option cannot be switched on. If it has not been configured yet or is disabled, the form shows a corresponding notice. If iOS or individual iOS versions are restricted in the Secure Mail Gateway settings, the form shows a warning, as these devices cannot connect to the Exchange server.

The host is stored in the configuration as a fixed value when saving. After the SMG Service URL has been changed, existing Exchange configurations continue to distribute the old host, and Use Secure Mail Gateway appears disabled in the configuration. A new version must then be created in every affected policy. In it, Use Secure Mail Gateway is enabled again, the configuration is saved and the policy is published.

More information: Secure Mail Gateway →

If the Exchange configuration is selected in a VPN configuration of the same policy, the form shows a corresponding notice with a link to the VPN configuration. More information: App to VPN Mapping →


Account Settings

The Account settings section contains the account data, the sign-in to the Exchange server and the selection of services.

FieldDescriptionDefault
Account nameMandatory field. Name of the account in the configuration profile. On the device, the profile appears under the account name prefixed with Relution MDM -, e.g. Relution MDM - Company mailbox.empty
Use the user’s email addressEnters the placeholder ${user.email} in the Email address field and locks the field. On delivery, the placeholder is replaced with the email address of the user assigned to the device.off
Email addressFull email address of the account or the placeholder ${user.email}. If the field remains empty, the device asks for the address when the account is set up.empty
User nameMandatory field. User name for signing in to the Exchange server. The selection above it determines how the field is filled: Manually (free input), Use the user’s username (${user.name}) or Use the user’s email address (${user.email}). With the two placeholder options, the field is locked. An Exchange Domain that has been entered is prepended when saving, e.g. CORP\${user.name}.Manually

The fields OAuth, Password and Certificate define how the device signs in to the Exchange server. They are described in the section Authentication →.

Enabled Services

At least one service must be enabled.

  • Enable calendar
    • User can activate or deactivate the calendar
  • Enable mail
    • User can activate or deactivate the mail
  • Enable notes
    • User can activate or deactivate the notes
  • Enable reminders
    • User can activate or deactivate the reminders
  • Enable contacts
    • User can activate or deactivate the contacts

An enabled service is switched on for the account on the device, a service that is not enabled is switched off. The indented switch below it determines whether the user can switch the service on and off in the device settings; if it is off, the setting of the configuration applies. For new configurations, all services and switches are off. Without an enabled service, the configuration cannot be saved; once the services have been changed, the form shows the notice “At least one of the services needs to be enabled”.

Example: Personal Exchange account per user

Each user receives their mailbox on the Exchange server mail.example.com in the domain CORP. User name and email address come from Relution, the password is entered on the device.

  • Exchange Host: mail.example.com
  • Exchange Domain: CORP
  • Account name: Company mailbox
  • Use the user’s email address: on
  • User name: Use the user’s username
  • Password: empty
  • Enable calendar, Enable mail and Enable contacts: on

Each device receives the profile Relution MDM - Company mailbox. The placeholders are replaced with the data of the assigned user, for the user jdoe for example with the user name CORP\jdoe. Mail, calendar and contacts are switched on, notes and reminders are switched off, and the user cannot change this in the device settings.


Synchronization Settings

The Synchronization settings section defines how the Mail app handles the account. For new configurations, all switches are off.

FieldDescriptionDefault
Allow moveMessages can be moved from this account to other accounts, and forwarding or replying from another account is allowed. If the switch is off, neither is possible.off
Prevent sending via app share sheetEmails cannot be sent with this account via the share sheet of other apps.off
Allow email recents syncingThe recently used email addresses of this account are synchronized via iCloud. If the switch is off, the account is excluded from this synchronization.off
S/MIME Signing EnabledOutgoing messages are signed.off
S/MIME Signing User OverrideableThe user can turn signing on and off in the device settings.off
S/MIME Encrypt By DefaultNew messages are encrypted by default. If Enable per-message encryption switch is off, the user cannot change this default.off
Enable per-message encryption switchWhen composing a message, a switch appears that turns encryption on or off for this message.off
S/MIME Encryption User OverrideableThe user can change the default encryption in the device settings.off
Synchronization periodMandatory field. Period for which past emails are synchronized to the device: No limit, 1 Day, 3 Days, 1 Week, 2 Weeks or 1 Month.1 Week

The switches are implemented by the operating system’s Mail app. The description of the behavior follows Apple’s documentation and may change with new operating system versions.


S/MIME Certificates

If one of the S/MIME switches is active, an additional section for the corresponding certificate appears:

  • S/MIME signing certificate: appears as soon as S/MIME Signing Enabled or S/MIME Signing User Overrideable is active.
  • S/MIME encryption certificate: appears as soon as S/MIME Encrypt By Default, Enable per-message encryption switch or S/MIME Encryption User Overrideable is active.

Both sections offer two variants:

  • Select certificate (preselected): A specific certificate from the Certificate Management → is used. Only certificates in PKCS#1 or PKCS#12 format are possible, no certificate templates.
  • Use user certificate: The certificate of the respective device user is used. If a user has several certificates of this type, the Certificate name field selects one of them. The field can contain placeholders that are resolved per device. If it remains empty, the certificate with the longest validity is used. A user who owns a matching certificate must be assigned to the device. For the signing certificate, user certificates of the category S/MIME Signing are taken into account; for the encryption certificate, those of the category S/MIME Encryption.

The switches for allowing the user to override the signing certificate and the encryption certificate (in the portal: S/MIME Signing Certificate UUID User Overrideable and S/MIME Encryption Certificate UUID User Overrideable) can only be enabled once a certificate has been selected via Select certificate. If all switches of a group are disabled, Relution discards the corresponding certificate when saving.


Authentication

Three methods are available for signing in to the Exchange server: a password, OAuth or a certificate. Relution does not know the users’ passwords and therefore cannot transfer them per user.

Password

A value entered in the Password field is transferred unchanged to all devices the policy is assigned to. There is no placeholder for the password of the respective user. For personal accounts, the field therefore usually remains empty and the password is entered on the device.

Whether iOS prompts for the password on its own is controlled by the operating system. Relution cannot trigger a password prompt in the Mail app.

A stored password is not displayed in the form; the field then shows *****. If it remains unchanged when editing, the stored password is kept. More information: Passwords and keys in configurations →

OAuth

If OAuth is enabled, the user signs in via the sign-in page of the identity provider, e.g. Microsoft Entra ID for Exchange Online or Exchange Server with Hybrid Modern Authentication. In this case, the Password field is locked. OAuth is off by default.

Certificate

With a certificate, the device signs in to the Exchange server without a password. The Exchange server must accept certificate-based sign-in. There are two variants:

  • Select certificate (preselected): A specific certificate or certificate template from the Certificate Management → is used.
  • Use user certificate: The certificate of the respective user is used. If a user has several certificates of this type, the Certificate name field selects one of them. The field can contain placeholders that are resolved per device. If it remains empty, the certificate with the longest validity is used. User certificates of the category Exchange are taken into account.

For direct certificate-based sign-in to the Exchange server, OAuth remains disabled.

Relution does not prevent OAuth and a certificate from being configured at the same time. In this case, the certificate is still transferred to the device.

Update Mode

If this setting is set to Published policy update only, updates for this configuration will only be sent when the published policy version has changed. Updates triggered for other reasons, such as a changed device user or placeholder, will not be applied to the devices.

This reduces the number of synchronizations for this configuration, which can decrease resource usage on the device, while also carrying the risk of missed updates.

Update mode

  • Default (preselected)
  • Published policy update only

Placeholders

Below the form, the Available placeholders area lists the user placeholders that can be used in the text fields of the configuration, including ${user.email}, ${user.name}, ${user.fullname}, ${user.givenName} and ${user.surname} as well as ${user.custom1} to ${user.custom10} from the user’s Custom properties section. Relution replaces them on delivery with the data of the user assigned to the device. Further functions such as substrings or default values are described in Advanced placeholders →.

How helpful was this article?