--- title: "Configuring riskware email blocking using the CLI" slug: "configuring-riskware-email-blocking-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:02Z published: 2026-08-24T19:53:02Z canonical: "docs.trellix.com/configuring-riskware-email-blocking-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. # Configuring riskware email blocking using the CLI Use the CLI commands to enable or disable blocking emails based on riskware detected by Trellix Riskware rules on the Email Security - Server appliance using the CLI. **To enable blocking emails based on riskware detected by Trellix Riskware rules :** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable blocking emails based on riskware detected by Trellix Riskware rules on the appliance. `hostname (config) # analysis riskware policy fe-rules block` 3. Save your changes. `hostname (config) # write memory` 4. Verify the status of blocking emails. The **FireEye Riskware (Adware/PUP/Spam)** rule will have **Enabled** in the **Quarantine** column. ``` hostname (config) # show analysis riskware policy rules ``` ``` |------------|-----------------------------------------------------------|------------|------------| |    Rule ID |                                                      Rule | Alert Only | Quarantine | |------------|-----------------------------------------------------------|------------|------------| |      65000 |          Jar Files Delivered Via Email Attachment Or Link |   Disabled |   Disabled | |      65001 |                              Encrypted MS Office Document |   Disabled |   Disabled | |      65002 |         PDF, HWP or MS Office Files With Network Activity |   Disabled |   Disabled | . . . |      65037 |                Suspicious DAA Archive Delivered via Email |   Disabled |   Disabled | |      65038 |                         Supply Chain Impersonation (8.4x) |   Disabled |   Disabled | |            |Trellix Riskware (Adware/PUP/Spam) |    Enabled |   Enabled  | |____________|___________________________________________________________|____________|____________| ``` **To disable blocking emails based on riskware detected by Trellix Riskware rules on the appliance:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable blocking emails based on riskware detected by Trellix Riskware rules on the appliance. `hostname (config) # no analysis riskware policy fe-rules block` 3. Save your changes. `hostname (config) # write memory`