1. Home
  2. macOS
  3. How to Add Email Accounts to macOS using Hexnode MDM?

How to Add Email Accounts to macOS using Hexnode MDM?

Hexnode allows the admins to configure email accounts on Macs and sync the email between the email server and the target device. This helps the users to send and receive emails with their corporate email accounts without bothering to set up the corporate email by themselves.

Configure email accounts via policy

To set up email accounts via policy,

  1. Login to your Hexnode MDM portal.
  2. Navigate to Policies > New Policy. Assign a suitable name and description (optional) for the policy. You can also choose to continue with an existing policy.
  3. Go to macOS > Accounts > Email. Click Configure.
Settings Description
Account description A description to differentiate between multiple email configurations.
Account type POP will not save anything on the email server. All emails (sent, received and drafts) are saved on the device. IMAP will save all emails to the email server.
User display name The name of the user. %name% can be used to fetch it automatically from the MDM console.
Email address The email address of the selected user. %email% can be used to fetch the email automatically for the selected user.

Setting Up Incoming Emails

Settings Description
Incoming Mail Server The server address of the incoming email server.
Incoming Server Port The port number of the incoming email server.
User Name The user’s account name to get connected to the email server. Use %username% to fetch the data dynamically from MDM console.
Authentication Type Select how the device needs to be authenticated with the email server. The available values are None, Password (default), MD5 Challenge-Response, NTLM and HTTP MD5 Digest.
Password
(if selected other than None)
Provide a password for authenticating to the incoming email server.
Note:

If multi-factor authentication is enabled for the email account and isn’t supported by the native email app, add the app password instead of the account password.

Use SSL Send the data to the email server in an encrypted format, thus securing the connection. Enabled by default.

Setting Up Outgoing Emails

Settings Description
Outgoing Mail Server The server address of the outgoing email server.
Outgoing Server Port The port number of the outgoing email server.
User Name Provide the username to get connected to the outgoing email server. Use %username% for Hexnode MDM to automatically fetch data from the user information.
Authentication Type Choose a method for getting authenticated with the outgoing email server. Choose from None, Password, MD5 Challenge-Response, NTLM and HTTP MD5 Digest.
Outgoing Password Same as Incoming(if selected other than None) Set up a common password for incoming and outgoing email servers so that you’ll not be asked to provide a password for the outgoing email server.
Password(if outgoing and incoming passwords are a mismatch) A password is required to get the device connected to the WiFi network.
Use SSL Use SSL for outgoing emails.

Associate the policy to devices/groups

If the policy has not been saved,

  1. Navigate to Policy Targets > +Add Devices.
  2. Choose the target devices and click Ok. Click Save.
  3. You can also associate the policy to device groups, users, user groups or domains from the left pane of the Policy Targets tab.

If the policy has been saved,

  1. Go to Policies tab and choose the desired policy.
  2. Click on Manage drop-down and select Associate Targets.
  3. Choose the target entities and click Associate.
  •  
  •  
  •  
  •  
  •  

Was this article helpful?

Related Articles

Leave a Comment