--- title: "Enabling or disabling email YARA analysis using the CLI" slug: "enabling-or-disabling-email-yara-analysis-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:10Z published: 2026-08-24T19:53:10Z canonical: "docs.trellix.com/enabling-or-disabling-email-yara-analysis-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. # Enabling or disabling email YARA analysis using the CLI Use the commands in this procedure to enable email YARA analysis. > [!NOTE] > Note > > The email YARA analysis feature is enabled by default. ### Prerequisites - An established connection between the Email Security - Server appliance and the Internet. - You are logged in to the CLI as an Admin or Operator access. **To enable or disable email YARA analysis:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable or disable email YARA analysis.
To enable email YARA analysis:

hostname (config) # email-analysis policy yara-analysis enable

To disable email YARA analysis:

hostname (config) # no email-analysis policy yara-analysis enable

3. Verify your changes. In the following example, the "`Analyze email using YARA:`" line of the command output displays "`yes`" to show that the feature is enabled. ``` hostname (config) # show email-analysis policy Email-Analysis Policy:  Analyze URLs in body:      yes  Analyze attachments:          yes  Analyze email using YARA:     yes  Email YARA Weight Cap:        30  Max Email Size (MB):          35  Analysis Timeout (sec):       240  Analyze image URLs:           yes  Advanced URL Defense:         no  . ``` ``` . ``` ``` . ``` 4. Save your changes. ``` hostname (config) # write memory Saving configuration file ... Done! ```