Email/ SMTP Settings

Overview

Avi Vantage proactively sends emails. This is done for password reset operations, or as a result of a triggered alert action that calls for email notifications to be sent to administrators or monitoring systems. Emails are sent from the Avi Controller, which means the Avi Controller will require DNS and network access to a destination email server.

The SMTP source is where the email will be sourced from when the Avi Controller is sending an email.

Note: Avi Vantage supports non-TLS SMTP servers.

View or Modify Email / SMTP Settings

The following are the steps to view or modify email or SMTP settings:

  1. Navigate to Administration > Settings > Email/SMTP.
  2. To edit the settings, click on the edit icon.
  3. edit
  4. Specify the necessary details and click Save.

Email/ SMTP Settings

  • None: Avi Vantage will not send emails.
  • Local Host: The Avi Controller will send the email from a local host. Some enterprise email servers may not accept this method.
    • From Address: The email field denoting who sent the email.
    • From Name: The friendly name in From field.
  • SMTP Server: Avi Vantage can point to a remote SMTP server to use for sending emails. This method is generally more trusted by the staff of security conscious enterprise environments.
    • Username: The username to authenticate to the mail server.
    • Password: The password to authenticate to the mail server.
    • SMTP Server: The mail server host.
    • Port Number: The service port for SMTP, generally 25.
    • From Address: The email field denoting who sent the email.
    • From Name: The friendly name in From field.
    • Mail Server Name: Mail server host.
    • Mail Server Port: Mail server port.
    • SMTP Type: Type of SMTP Mail Service.
  • Anonymous SMTP Server: Like the SMTP Server option but without the need of a username and password to log into the SMTP server. (The SMTP server must allow anonymous access.)
    • From Address: The email field denoting who sent the email.
    • From Name: The friendly name in From field.
    • SMTP Server: The mail server host.
    • SMTP Port: The service port for SMTP, generally 25.

The following is the CLI for email/ SMTP settings:


[admin:ctrl]: systemconfiguration> email_configuration
[admin:ctrl]: systemconfiguration> email_configuration from_name "Admin Avinetworks"
[admin:ctrl]: systemconfiguration:email_configuration> save
[admin:ctrl]: systemconfiguration> save

| email_configuration              |                                    |
|   smtp_type                      | SMTP_LOCAL_HOST                    |
|   from_email                     | admin@avicontroller.net            |
|   mail_server_name               | localhost                          |
|   mail_server_port               | 25                                 |
|   disable_tls                    | False                              |
|   from_name                      | Admin Avinetworks                  |

Using non-TLS SMTP servers

To use non-TLS SMTP servers, TLS option should be disabled implicitly. Login to the Avi CLI and run the following commands using the configure systemconfiguration mode.


configure systemconfiguration
email_configuration
disable_tls
save
save

Document Revision History

Date Change Summary
July 15, 2022 Updated Email/ SMTP Settings section for 22.1.1