Configuring notices using the CLI

Prev Next

Use the commands in this section to configure notices.

Note

Before you configure "block" notices, you need to enable them. To enable block notices, enter the email-analysis policy notice enable command. To disable them, enter the no email-analysis policy notice enable command.

To configure notices:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Configure the email notice header text:

    1. Specify a valid email address from which to send the notices. This is the email address that will be in the From: header of the email notice.

      hostname (config) # email-analysis policy notice from <emailAddress>
    2. (Optional) Change the text that will be in the Subject: header of the email notice:

      hostname (config) # email-analysis policy notice subject <subjectText>
  3. (Optional) Customize the message body.

    hostname (config) # email-analysis policy notice body <messageText>
  4. Save your changes:

    hostname (config) # write memory

Note

Use the Email Policy Configuration page to view the message body text.

To add notice recipients:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. To add an "admin" notice recipient:

    hostname (config) # email-analysis policy notice admin <emailAddress>

    where emailAddress is the administrator's email address.

  3. To add a "bcc" notice recipient:

    hostname (config) # email-analysis policy notice bcc <emailAddress>

    where emailAddress is the analyst's email address.

  4. Save your changes:

    hostname (config) # write memory
To remove notice recipients:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. To remove an "admin" recipient:

    hostname (config) # no email-analysis policy notice admin <emailAddress>
  3. To remove a "bcc" recipient:

    hostname (config) # no email-analysis policy notice bcc <emailAddress>
  4. Save your changes:

    hostname (config) # write memory