Use the CLI commands in this procedure to enable or disable a block 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> block
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 block header.
hostname (config) # email-analysis policy xheader riskware-block <riskware_block_header_text>
Save your changes.
hostname (config) # write memory
Verify your customized X-header setting.
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> block
Disable the riskware block X-header.
hostname (config) # no email-analysis policy xheader riskware-block
Save your changes.
hostname (config) # write memory
Verify the status of the X-header.
hostname (config) # show email-analysis policy xheader