--- title: "Configuring processed emails using the CLI" slug: "configuring-processed-emails-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/configuring-processed-emails-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 processed emails using the CLI You can use the following CLIs to modify configurations for clean emails. You can enable retaining of clean emails. Emails can be stored from 1 day up to 90 days or until 250GB of storage is utilized. ### Prerequisites - Administrator or Operator access to the Email Security - Server appliance. **To configure processed and clean emails:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable retaining of clean emails. ``` hostname (config) # email-analysis clean-emails keep enable ``` 3. Configure the number days to retain clean emails. ``` hostname (config) # email-analysis clean-emails keep days 40 ``` 4. Configure the maximum storage limit to store clean emails (in GB). ``` hostname (config) # email-analysis clean-emails keep size 100 ``` 5. View the saved configuration. ``` hostname (config) # show email-analysis ```