--- title: "Customizing riskware X-header block text using the CLI" slug: "customizing-riskware-x-header-block-text-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:17Z published: 2026-08-24T19:53:17Z canonical: "docs.trellix.com/customizing-riskware-x-header-block-text-using-the-cli" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Customizing riskware X-header block text using the CLI Use the CLI commands in this procedure to enable or disable a block riskware policy rule and the custom text for the X-header. **To customize the X-header text:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Locate the policy rule ID you want to enable. ``` hostname (config) # show analysis riskware policy rules ``` 3. Enable the particular policy rule ID. ``` hostname (config) # analysis riskware policy rule block ``` 4. 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 ``` 5. 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 ``` 6. Enter custom text for the riskware block header. ``` hostname (config) # email-analysis policy xheader riskware-block ``` 7. Save your changes. ``` hostname (config) # write memory ``` 8. Verify your customized X-header setting. ``` hostname (config) # show email-analysis policy xheader ``` **To disable the block X-header customization:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable the particular policy rule ID. ``` hostname (config) # no analysis riskware policy rule block ``` 3. Disable the riskware block X-header. ``` hostname (config) # no email-analysis policy xheader riskware-block ``` 4. Save your changes. ``` hostname (config) # write memory ``` 5. Verify the status of the X-header. ``` hostname (config) # show email-analysis policy xheader ```