--- title: "Configuring the maximum number of days to retain email records for message tracking" slug: "configuring-maximum-days-retain-email-records-message-tracking" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:52:57Z published: 2026-08-24T19:52:57Z canonical: "docs.trellix.com/configuring-maximum-days-retain-email-records-message-tracking" 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 the maximum number of days to retain email records for message tracking Use the CLI commands in this topic to configure the maximum number of days to retain email records for message tracking. The default value to retain the email records is five days. ### Prerequisites - Administrator or Operator access to the Email Security - Server appliance. **To configure the maximum number of days for message tracking:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the maximum number of days. ``` hostname (config) # email-analysis policy message-tracking max-days-records ``` where `<number>` is the number of days. 3. View the maximum number of days to retain email records. ``` hostname (config) # show email-analysis policy message-tracking Numbers of days of messages-tracking data retained:   18 ``` 4. Save your changes. ``` hostname (config) # write memory Saving configuration file ... Done! ```