Enabling or disabling URL scanning using the CLI

Prev Next

Use the CLI commands in this procedure to enable or disable URL scanning.

To enable URL scanning:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Enable the settings for URL scanning.

    hostname (config) # email-analysis policy url-scan enable
  3. Save your changes.

    hostname (config) # write memory
  4. Verify the status of URL scanning.

    hostname (config) # show email-analysis policy
    Email-Analysis Policy:
      Analyze URLs in body:         yes
      Analyze attachments:          yes
      Analyze email using YARA:     yes
      Email YARA Weight Cap:        30
      .....

    The Analyze URLs in body: line displays yes when URL scanning is enabled.

To disable URL scanning:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Disable URL scanning.

    hostname (config) # no email-analysis policy url-scan enable
  3. Save your changes.

    hostname (config) # write memory
  4. Verify the status of URL scanning.

    hostname (config) # show email-analysis policy
    Email-Analysis Policy:
      Analyze URLs in body:         no
      Analyze attachments:          yes
      Analyze email using YARA:     yes
      Email YARA Weight Cap:        30
      .....

    The Analyze URLS in body: line displays no when URL scanning is disabled.