Configuring the Mail Settings

The steps involved in configuring the mail settings are given below:

  1. Configuring the Mail Server
  2. Configuring a Backup Mail Server
  3. Configuring the Mail Alert Settings

Configuring the Mail Server

You need to configure the mail server in your environment to allow the automatic generation and transmission of email alerts to specified recipients.

Note:

In an Enterprise deployment of the eG manager, you need to configure a mail server only if you choose to receive email alerts of issues. On the other hand, in a SaaS deployment, mail server configuration is mandatory. This is because, without a mail server, OTP/verification codes cannot be communicated to tenants. As a result, tenants cannot login to the eG management console to download and install agents, and to setup their environment for monitoring.

Figure 1 depicts the configuration of mail settings for the eG manager. This page can be accessed by selecting the Server Settings option from the Mail Settings menu of the Alerts tile.

mailserversettings

Figure 1 : Mail Server Settings page

The protocol through which you wish to transmit or send the outgoing mail messages across the Internet Protocol (IP) networks has to be selected from the Mail protocol list box. The SMTP option would be selected by default in this list box. If the mail server through which you wish to send the mail messages is SSL-enabled, then select, SMTP-SSL from the Mail protocol list box. If your mail server offers enhanced security and provides certificate based authentication, select the SMTP-TLS option from the Mail protocol list.

The identity (IP address or host name) of the mail server to be used by the eG manager for generating alarms has to be entered in the smtp mail host text box. The port at which the mail host listens has to be provided in the SMTP mail port text box. The entry in the eG Administrator mail ID text box will be the mail ID from which the alarms are generated to eG users.

In MSP environments typically, different support groups are created to address performance issues relating to different customers. These support groups might prefer to receive problem intimation from customer-specific mail IDs instead of the global admin mail ID, so that they can instantly identify the customer environment that is experiencing problems currently. Moreover, this way, every support group will be enabled to send status updates on reported issues directly to the concerned customer, instead of overloading the admin mailbox. To facilitate this, the MAIL Server SETTINGS page allows the administrator to configure multiple Alternative Mail sender IDs - normally, one each for every customer in case of an MSP environment. While configuring multiple sender IDs in the space provided, ensure that you press the Enter key on your keyboard after every mail ID. This way, every ID will occupy one row of the text area. Later, while creating a new user, the administrator can select one of these configured sender IDs from the Mail sender list in the ADD USER page, and assign it to the new user. This ensures that all email alerts received by the user are generated by the chosen ID only.

If the mail server requires users to login before sending mails, then select the Yes option against the SMTP server requires authentication? field. By default, authentication is set to No. Upon selecting Yes, you will be required to provide a valid SMTP user name and SMTP password for logging into the mail server. Confirm the password by retyping it in the SMTP confirm password text box.

To safeguard from spam, some mail servers are configured so that they will allow mails to be sent from a system only if that system is also used to receive mails. To allow the eG manager to use such mail servers to send email alerts, additional configuration is needed. In such a case, select the Yes option against the Do you want to configure mail receiver settings? field. By default this field is set to No. When you enable this authentication to Yes, you need to specify the following details in the corresponding text boxes:

  • Mail receiver ID: Specify the login name to be used for receiving mails.
  • Mail receiver password: The password of the mail receiver needs to be specified here.
  • Port used for receiving mails: The port number on the mail server to which the mail manager connects needs to be provided here.
  • Protocol for receiving mails: Mention the protocol used for receiving mails. The protocol can be either POP3 or IMAP.
  • Server for receiving mails: Specify the server to which the mail manager will connect to receive mails.

Sometimes, alarm mails may not be received by the configured recipients. When such an anomaly occurs, administrators typically spend hours to determine the reason for the non-delivery of emails. One of the most common causes for non-delivery of email alerts is the improper configuration of the mail server for the eG manager. For instance, an incorrect IP address specified against SMTP host in Figure 1 or invalid credentials provided against SMTP user and SMTP password can halt the generation and transmission of email alerts. To enable administrators to spot and fix such configuration issues before the eG manager even attempts to send out email alerts, a Validate button is provided in the mail server settings page of Figure 1. Clicking on this button instantly verifies the correctness of the values configured in the mail server settings page and promptly indicates discrepancies to the administrator. This way, administrators need not have to wait for delivery failures to occur to isolate configuration issues.

The location of this Validate button and the information it validates will vary depending upon the status of the following flags in Figure 1:

  • Does SMTP server require authentication?
  • Do you want to configure mail receiver settings?

The table below explains how the status of the aforesaid flags influences the location and the functionality of the Validate button:

Status of the Authentication flag Status of the Mail receiver settings flag Location of Validate button Function of Validate button

No

No

Adjacent to eG Administrator Mail ID text box

Validates the SMTP mail host and the SMTP mail port fields

Yes

No

Next to the SMTP Confirm Password text box

Validates the SMTP mail host, SMTP mail port, and the user credentials that are provided for the SMTP server authentication

No

Yes

Next to the Server for receiving mails field

Validates the SMTP mail host, SMTP mail port, and the complete Mail receiver configuration

Yes

Yes

Next to the Server for receiving mails field

Validates the SMTP mail host, SMTP mail port, user credentials for authenticating SMTP server access, and the complete Mail receiver configuration

Note:

The mail ids provided in the eG Administrator mail ID and the Alternative Mail sender IDs fields will not be validated using the Validate option. If an incorrect mail id is provided in these fields, delivery failures are bound to occur.

If, upon clicking the Validate button, the corresponding information is validated, the message confirming the success of the validation will appear as shown in Figure 2.

mailservervalidationsuccess

Figure 2 : Mail Settings Validation pop up window

If the validation is unsuccessful, then a message to that effect would appear.

Finally click the Update button in Figure 1 to register the changes.