Home » Configuring Mail Server
 

Configuring Mail Server

You can get notified everytime you deploy patches, apply configurations etc via email alerts. To enable email notifications, the mail server has to be configured first. Mail Server Settings can be configured in two ways:

  • OAuth Authentication
  • Basic Authentication

OAuth Authentication

OAuth is a standard authorization protocol that uses web tokens instead of passwords to allow delegated access to a protected resource. OAuth allows limited access to the users data, that is, the ability to share data for users without disclosing personal information. Therefore, we can choose to configure using OAuth authentication for sending mails from Endpoint Central server securely.

How to Configure OAuth Authentication for Mail server?

  1. To configure OAuth Authentication, 

    • Navigate to Admin tab->Mail Server Settings.

    • Choose OAuth under authentication type.  

    • Specify the name and port of the mail server. 

    • Provide the name of the sender, along with the sender's mail address and a test mail address. 

    • Choose the email type. (Note: SMTPS is recommended since the connection to the mail server is encrypted.)

    • Enable TLS if required. 

    • Obtain Client ID, Client Secret, Authorize URL, Access Token URL and Scope from the authorization server using the Redirect URL. 

    • You may choose to connect to the authorization server using a proxy if required. 

    • Click Save. The user consent window of the mail server pops up.

    • Enter your login credentials and consent to the permissions requested.

    • You have configured OAuth authentication for mail server successfully. 

For more details on configuring mail server settings using Gmail Account, visit this page.

To learn more about configuring Office 365 in mail server settings, click here.

Frequently Asked Questions

  • Why should I move to OAuth2.0? 
  • Google and Microsoft will soon withdraw basic authentication support for mail servers by 30 May 2022 and 1 October 2022, respectively. Therefore, it is advisable for users to switch to OAuth authentication.

  • What are the supported mail servers in OAuth?
  • We have tested OAuth authentication with Microsoft Outlook(office365) and Gmail(Gsuite).

  • Can I configure OAuth for an existing mail account? 
  • Yes. You can configure OAuth for an existing account. 

  • What is Redirect URL and where should I configure it?
  • Redirect URL or Reply URL is the URL to which the Authorization Server sends confidential response data. Copy-paste the Redirect URL to the application details in the Authorization Server and save it.

  • On clicking Save, I am getting an error stating "Redirect URL or reply URL invalid/mismatch". What should I do?
  • Check if you have added the application server's redirect URL to your authorization server's list of redirect URLs. Ensure that you have saved the settings.

  • What will happen if my access token expires?
  • When your access token gets expired, a new access token will be automatically generated using the refresh token.

For more details on configuring mail server settings using Gmail Account, visit this page.

To learn more about configuring Office 365 in mail server settings, click here.

Basic Authentication

  1. Navigate to Admin tab -> Mail Server Settings.

  2. Specify the name and port of the mail server.

  3. Provide the name of the sender, along with the sender's mail address and a test mail address.

  4. Email Type : Indicates whether the connection to mail server will be encrypted or will not be encrypted. (For example: SMTP, SMTPS).

  5. TLS Enabled : Option to enable Transport Layer Security (TLS).

  6. If it requires authentication, select the Requires Authentication check box and specify the user name and password.

  7. Click Save to save the mail server settings.

For more details on configuring mail server settings using Gmail Account, visit this page.

To learn more about configuring Office 365 in mail server settings, click here.

Click here to watch the video on how to Configure Mail Server Settings: