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.

Setting up the SMTP recipients using the CLI

Prev Next

To set up the SMTP recipients, perform the following subtasks:

  • Add the SMTP recipients.

  • Configure the SMTP recipient listing for email notifications,

To add an SMTP recipient:
  1. Go to CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable email notifications:

    hostname (config) # fenotify email enable

  3. Add a recipient for email notifications:

    hostname (config) # fenotify email recipient <rname>

  4. Select a recipient to receive email notifications (one recipient per command):

    hostname (config) # fenotify email recipient <rname> enable

  5. Specify the email address for a recipient who will receive email notifications:

    hostname (config) # fenotify email recipient <rname> email-address <email_address>

  6. Save the configuration:

    hostname (config) # write memory

To configure the SMTP recipient listing for email notifications:
  1. Go to CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable email notifications:

    hostname (config) # fenotify email enable

  3. 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 recipient <rname> prefer message format json-normal

  4. Specify how email notifications are delivered to the specified recipient:

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

      hostname (config) # fenotify email recipient rname prefer message send-as attachment

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

      hostname (config) # fenotify email recipient rname prefer message send-as in-line

  5. Select the event type:

    hostname (config) # fenotify email alert indicator-presence enable

    hostname (config) # fenotify email alert indicator-executed enable

    hostname (config) # fenotify email alert exploit-detected enable

    hostname (config) # fenotify email alert exploit-blocked enable

    hostname (config) # fenotify email alert malware-object enable

  6. Save the configuration:

    hostname (config) # write memory