Enabling or disabling the X-header using the CLI

Prev Next

Use the CLI commands in this procedure to enable or disable the X-header.

To enable the X-Header:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Enable the X-header.

    hostname (config) # email-analysis policy xheader enable
  3. Verify the status of the X-header.

    hostname (config) # show email-analysis policy
      Email-Analysis Policy:
        Analyze URLs in body:      yes
        Analyze attachments:          yes
        Analyze email using YARA:     no
        Email YARA Weight Cap:        30
        Max Email Size (MB):          35
        Analysis Timeout (sec):       240
        Analyze image URLs:           yes
        Advanced URL Defense:         xhdr
        Extract/Rewrite HTML URL as Text:    yes
        Max URLs Analyzed/email:      5
        Max Att. Analyzed/email:      20
        Congestion Bypass Mode:   yes
        Congestion Bypass Threshold:   2
        Congestion Bypass Unprocessed Limit:  0
        Congestion Refuse-connnection Mode:   yes
        Congestion High Threshold:    10000
        Congestion Low Threshold:     9000
        Enable X Header:              yes
        Use Header for To/From:       no
        .....
  4. Save your changes.

    hostname (config) # write memory
To disable the X-header:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Disable the X-header.

    hostname (config) # no email-analysis policy xheader enable
  3. Verify the status of the X-header.

    hostname (config) # show email-analysis policy
      Email-Analysis Policy:
        Analyze URLs in body:      yes
        Analyze attachments:          yes
        Analyze email using YARA:     no
        Email YARA Weight Cap:        30
        Max Email Size (MB):          35
        Analysis Timeout (sec):       240
        Analyze image URLs:           yes
        Advanced URL Defense:         xhdr
        Extract/Rewrite HTML URL as Text:    yes
        Max URLs Analyzed/email:      5
        Max Att. Analyzed/email:      20
        Congestion Bypass Mode:   yes
        Congestion Bypass Threshold:   2
        Congestion Bypass Unprocessed Limit:  0
        Congestion Refuse-connnection Mode:   yes
        Congestion High Threshold:    10000
        Congestion Low Threshold:     9000
        Enable X Header:              no
        Use Header for To/From:       no
        .....
  4. Save your changes.

    hostname (config) # write memory