The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

email-analysis riskware-alert cleanup keep <no. of days>

Prev Next

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.