Use the CLI commands in this procedure to enable or disable a match riskware policy rule and the custom text for the X-header.
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Locate the policy rule ID you want to enable.
hostname (config) # show analysis riskware policy rules
Enable the particular policy rule ID.
hostname (config) # analysis riskware policy rule <rule_ID> match
Disable and re-enable the X-header feature for the custom X-header policy to take effect.
hostname (config) # no email-analysis policy xheader enable
hostname (config) # email-analysis policy xheader enable
Enable the advanced X-header feature to insert the X-header line in a copy of the email message to the recipient.
hostname (config) # email-analysis policy xheader advanced-xheader enable
Enter custom text for the riskware match header.
hostname (config) # email-analysis policy xheader riskware-match <riskware_match_header_text>
Save your changes.
hostname (config) # write memory
Verify the status of a custom policy rule to match riskware.
hostname (config) # show email-analysis policy xheader
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Disable the particular policy rule ID.
hostname (config) # no analysis riskware policy rule <rule_ID> match
Disable the riskware match X-header.
hostname (config) # no email-analysis policy xheader riskware-match
Save your changes.
hostname (config) # write memory
Verify the status of the X-header.
hostname (config) # show email-analysis policy xheader