API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationSecurityReferenceGlossary
    AOC 4.10
  • AOC system configurations

Configuring the SMTP server

You can configure an SMTP server in AOC. It can be used in the following scenarios:

Prerequisite

An available SMTP server is already set up.

Precaution

If a cluster has an SMTP server configured before association with AOC, its SMTP server configuration will be synchronized and displayed in the SMTP server configuration list once the association is completed. However, if the configuration authenticates via username and password, you will be prompted to provide a password. In this case, click ... on the right of the target SMTP server configuration in the list and select Provide password.

Procedure

  1. In the left sidebar of the AOC System configuration page, select SMTP server. Click + Configure SMTP server in the upper right corner. The Configure SMTP server dialog box is displayed.

  2. Specify the following information accordingly:

    Parameter Description
    Name Specify the name of the SMTP server.
    Description (optional) Specify the description of the SMTP server.
    Server address

    Specify the address (IP/domain name) of the SMTP server.

    Information:

    If the SMTP server address specified is a domain name, you need to configure DNS servers for the corresponding objects based on the different usage scenarios.

    • For delivering email alert notifications:
      • If the alert source is Cluster monitoring, you need to configure DNS servers in the Settings tab on the management page of the clusters selected as the alert object.
      • If the alert source is Observability service, you need to configure DNS servers respectively in the Settings tab of the clusters selected as the alert object, in the observability service virtual machines and in the AOC service virtual machines.
    • For delivering two-factor authentication emails: You need to configure DNS servers in the AOC service virtual machines.
    • For delivering hit notifications for ANS security policies: You need to configure DNS servers in the ANS controller virtual machines.
    • For delivering job report notifications for backup plans and replication plans: You need to configure DNS servers in the AOC service virtual machines.
    Encryption method Select the encryption protocol for AOC to connect and communicate with the SMTP server, including Null, SSL, and STARTTLS.
    Port

    Specify the port of the SMTP server.

    The default SMTP ports are 25 (Null), 587 (STARTTLS), and 465 (SSL).
    Username/Password

    Specify the account credentials used for sending emails through the SMTP server when you check Verify with username and password.

    This parameter is optional when the encryption method is set to Null. Otherwise, it is mandatory.

  3. Click Configure to complete the configuration.

After completing the SMTP server configuration, you can edit or delete it if the server is not used for email alert notification, two-factor authentication, hit count notification for ANS distributed firewall as well as job report notification for backup plans or replication plans.