The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Configuring SMTP settings

Prev Next

To configure the SMTP settings, perform the following subtasks:

  • Specify the SMTP server.

  • Set the default SMTP notification settings.

  • (Optional) Set authentication for SMTP notification settings.

  • (Optional) Set preferences for SMTP notifications.

To specify which SMTP server to use:
  1. Go to CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable email notifications:

    hostname (config) # fenotify email enable

  3. Set the mail relay address used to send the email notifications:

    hostname (config) # fenotify email mailhub address <ip_address>

  4. Set the mail port used to send the email notifications:

    hostname (config) # fenotify email mailhub port <port-number>

  5. Save the configuration.

    hostname (config) # write memory

To configure the default settings for SMTP notifications:
  1. Go to CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable email notifications:

    hostname (config) # fenotify email enable

  3. Set the domain from which emails appear to come:

    hostname (config) # fenotify email domain <email-domain>

  4. (Optional) To include the hostname in the return address for email notifications:

    hostname (config) # fenotify email return host-name <host_name>

  5. Set the user name in the return address for email notifications (the default is do-not-reply):

    hostname (config) # fenotify email return user-name <user_name>

  6. Specify the default format for notifications as JSON Normal format. To send notifications in JSON Normal format containing detailed information and abstracts such as alert type, ID, source IP, malware name, hostname, and alert URL without any redundant information, enter:

    hostname (config) # fenotify email default format json-normal

  7. Specify how the notification is delivered by default:

    • To deliver the notification as an email attachment, enter:

      hostname (config) # fenotify email default send-as attachment

    • To deliver the notification in the email body (the default), enter:

      hostname (config) # fenotify email default send-as in-line

  8. Specify the default delivery schedule for notifications to receive information about each event, sent when the event is triggered. Enter:

    hostname (config) # fenotify email default delivery per-event

  9. Save the configuration:

    hostname (config) # write memory

To configure authentication for SMTP notifications:
  1. Go to CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable email notifications:

    hostname (config) # fenotify email enable

  3. Enable authentication for event mail notifications:

    hostname (config) # fenotify email mailhub auth enable

  4. Set the authentication method you want to use to send event mail notifications. Available methods include PLAIN, LOGIN, or CRAM-MD5.

    hostname (config) # fenotify email mailhub auth auth-method PLAIN

  5. Set the username required to authenticate sending event email notifications:

    hostname (config) # fenotify email mailhub auth username <username>

  6. Set the password required to authenticate sending event email notifications:

    hostname (config) # fenotify email mailhub auth password <password>

To configure preferences for SMTP notifications:
  1. Go to CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable email notifications:

    hostname (config) # fenotify email enable

  3. Enable From: line override for event mail notifications:

    hostname (config) # fenotify email mailhub preferences from-line-override enable

  4. Set the minimum SSL protocol version required to send event mail notifications through SMTP. The following versions are supported:

    • ssl3: SSLv3 or higher is required.

    • tls1: TLSv1 or higher is required.

    • tls1.1: TLSv1.1 or higher is required.

    • tls1.2: TLSv1.2 or higher is required.

    hostname (config) # fenotify email mailhub preferences ssl-min-version <ssl-min-version>

  5. (Optional) Set the TLS certificate authority file for event mail notifications going through SMTP. You can choose filenames under the /etc/pki/tls/certs/ directory.

    hostname (config) # fenotify email mailhub preferences tls-ca-file <tls-ca-file>

    The following example sets the TLS certificate authority file for event mail notifications to ca-bundle.crt:

    hostname (config) # fenotify email mailhub preferences tls-ca-file <ca-bundle.crt>

  6. (Optional) Set the TLS certificate file for event email notifications going through SMTP. You can choose filenames under the /etc/pki/tls/ directory.

    hostname (config) # fenotify email mailhub preferences tls-cert-file <tls-cert-file>

    The following example sets the TLS certificate file for event mail notifications to cert.pem:

    hostname (config) # fenotify email mailhub preferences tls-cert-file <cert.pem>

  7. Enable TLS certificate verification for the SMTP relay used for event email notifications:

    hostname (config) # fenotify email mailhub preferences tls-cert-verify enable

  8. Enable the TLS security protocol for the SMTP relay used for event email notifications:

    hostname (config) # fenotify email mailhub preferences tls enable

  9. Enable the STARTTLS security protocol for the SMTP relay used for event email notifications:

    hostname (config) # fenotify email mailhub preferences use-start_tls enable