Email subject and body retention
By default, XSP stores the subject for all emails and always discards the body of processed emails (except for quarantined emails). If you would like to change this default (for example, to always keep the subject), you can do that inactiveguard/core/active_guard.yml:
Quarantined emailsThe
keepEmail parameter does not affect quarantined emails. Quarantined emails are always kept, even if keepEmail is set to NEVER.keepEmailSubject and keepEmail:
Don’t forget to activate your changes in
active_guard.yml as described in How to Activate the Configuration.
Quarantines
XSP provides several built-in quarantines for different email classifications. They are visible in XCC in theQuarantines menu section. Every quarantine has an associated retention time, after which emails will be deleted.
This section explains how to adjust the retention time of the built-in quarantines and how to add additional custom quarantines.
Configuration
You can configure quarantines in theshared/guarded_tenants.yml file:
shared/guarded_tenants.yml
-
To set the default retention time for all quarantines, configure the
quarantinedDefaultTtlDaysvalue to the desired number of days. -
To overwrite the retention time of a specific quarantine, add the corresponding quarantine under
quarantinesand set thettlDaysaccordingly. -
To add a new quarantine, simply add it under
quarantines.
Default quarantinesWhen specifying entries under
quarantines, it is not necessary to list all other built-in quarantines. Just add the quarantines that you want to change or create.xorlab Sandbox
When a Sandbox scan is done, you are presented with screenshots of your email attachments. You can decide on when and how to keep them—please refer to Control how Sandbox stores assets depending on a verdict.Email previews configuration
Email previews differ substantially from screenshots of email attachments: the former are static images generated by MTA, and the latter are VM screenshots taken during the dynamic analysis of email attachments (see xorlab Sandbox above). By default, email previews are enabled for most malicious (red) verdicts and disabled for legitimate (green) ones. For reported emails, they are always enabled. You can configure the preview per verdict by setting the*_email_screenshot=true variable in the local.properties file. For example, you can enable an email preview for the following verdicts that have it disabled by default:
/activeguard/core/rule_sets/90_local/params/local.properties