--- title: "email-analysis riskware-alert cleanup keep <no. of days>" slug: "email-analysis-riskware-alert-cleanup-keep-no-of-days" tags: ["Reference", "CMS 11.x", "EX 11.x", "HX 10.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-08-04T17:23:31Z published: 2026-08-04T17:23:31Z canonical: "docs.trellix.com/email-analysis-riskware-alert-cleanup-keep-no-of-days" 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. # email-analysis riskware-alert cleanup keep <no. of days> Sets the retention policy (number of days) for riskware emails. - Default: 30 days, Min: 1 day, Max: 180 days ### Syntax `email-analysis riskware-alert cleanup keep <no. of days>` ### Parameters `no` Disables setting the retention policy for riskware emails. ### Example The following example shows how to set the retention policy for riskware emails. `hostname (config) # email-analysis riskware-alert cleanup keep <no. of days>` ### User role Admin, Operator, or Monitor ### Command mode Config ### Supported appliances This command is supported on the following appliances running the specified releases or later: Email Security — Server Release 10.0.1 onwards.