Menu
  • Downloads
  • Knowledge Base
  • Documentation
  • Reputation
  • Email Security Tester
  • Downloads
  • Knowledge Base
  • Documentation
  • Reputation
  • Email Security Tester
home/Knowledge Base/Libraesva ESG/Data retention and logging in LibraCyber ESG
Popular searches:GDPR, ESG 5 migration guide, "How to configure Libraesva ESG for Microsoft 365"

Data retention and logging in LibraCyber ESG

0 views 0 August 17, 2026 dario-fanelli

Table of Contents

  • Introduction
  • What ESG stores and for how long
  • Message content and message information expire at different times
  • Audit Logs
    • Whether you can see which messages a user opened
  • Mail Logs
  • Log integrity and forwarding
  • Common questions from security reviews
Print to PDF

Introduction

Customers and auditors regularly ask how long LibraCyber ESG keeps their data, what happens to that data once the time is up, and how they can prove who did what on the appliance. This article answers those questions in one place, so that it can be quoted directly when you reply to a security questionnaire or to a request from a data protection authority.

Keep in mind that ESG is an email security gateway and not an archive. Messages pass through it, they are inspected, and copies are kept only for as long as they are useful for quarantine and troubleshooting. If your requirement is long term preservation of email, the product for that job is LibraCyber Email Archiver. For a wider view of how personal data is handled across all LibraCyber products, see LibraCyber and GDPR.

What ESG stores and for how long

ESG keeps four different kinds of data, and each one has its own retention period. You will find all of them under Admin Area > Appliance > Quarantine Settings, in the Quarantine Retention Settings box at the top of the page.

The first two settings control how long the actual message files stay on disk. Clean message storage retention applies to messages that were delivered without changes, while quarantined message storage retention applies to messages that were held or modified. The other two settings are about information rather than content. Database retention governs the historical data used by searches, statistics and message tracking, and metadata retention governs message headers, the URLs found inside messages and the mail logs.

Setting What it covers Limit
Clean M. Storage Retention (Days) copies of clean or unmodified messages on disk cannot exceed the spam disk retention
Quarantined M. Storage Retention (Days) copies of quarantined or modified messages on disk 60 days maximum
Database Retention (Days) historical data behind searches, statistics and tracking 60 days suggested, up to 365 on low traffic appliances
Metadata Retention (Days) message headers, URLs and mail logs 31 days suggested, up to 365 on low traffic appliances

There are three things worth knowing before you change any of these numbers or quote them to a customer.

  • On cloud appliances these settings are managed by LibraCyber and cannot be edited
  • Longer retention needs more disk space, and a database that grows too large will slow the appliance down. These are not values to raise without sizing the appliance for it
  • When a retention period expires the data is deleted, not moved somewhere else. Nothing is kept in the background and nothing can be recovered afterwards.

Message content and message information expire at different times

Once the storage retention expires, the copies of the messages are gone. The information describing those messages stays longer, for as long as the database and metadata retention allow, and that includes sender, recipient, subject, the verdict of the analysis, message headers and the URLs that were found. When you describe your retention policy, these are two separate periods and it is clearer to state them separately.

Audit Logs

You will find the audit log under Admin Area > Status > Audit logs. It lists every action taken on ESG in chronological order, and it goes all the way back to the day the appliance was deployed. The audit log is never rotated, immutable and the retention settings above do not apply to it.

Every entry records the date and time of the action, the user who performed it, the IP address of the client that was used, and a description of what happened. Logins are recorded, and the description tells you whether simple or multi factor authentication was used. Configuration changes are recorded. License operations are recorded. Opening the detail of a single message by the user is recorded too, together with the identifier of that message, and so is opening the audit log itself.

You can search the log and you can export it from the toolbar in the usual formats, CSV and XML, or save it as a document ready to print. The Only pending changes filter is useful when you want to see configuration changes that have not been applied yet.

Whether you can see which messages a user opened

ESG does not know whether someone read an email in their mailbox, because it is a gateway and not a mail client. What it does know is every time a message was opened through ESG itself, from the web portal or from the quarantine, and that action ends up in the audit log with the user, the message identifier, the time and the IP address. So if the question is whether you can demonstrate who looked at a given message, the answer is yes and the audit log is where you find it. If the question is how many emails someone read in Outlook, ESG is not the right source.

Mail Logs

The mail logs live under Admin Area > Status > Mail logs and come in two forms.

The real time view shows the raw log of the appliance as events happen, and you can narrow it down with a filter written as a regular expression. The Downloads tab gives you the previous days instead, one compressed file per day, ready to be downloaded and kept elsewhere.

How many days you find there depends on the metadata retention you have configured, which is the same setting that governs headers and URLs. With the suggested value you have roughly a month of mail logs available on the appliance.

Log integrity and forwarding

The appliance gives you a complete audit trail since installation, it records administrative actions including simple actions, and it lets you export everything. No administrator (not even LibraCyber admin account) can alter the audit log.

  • ESG has the possibility to send Mail Logs through the SIEM HTTP event forwarder, under Admin Area > Integrations > SIEM. The forwarder turns each event into JSON and posts it to an endpoint of your choice, which is normally the collector of your own log management system. The service is disabled by default. To turn it on you enable the forwarder, pick your vendor so that the event format is filled in for you, and provide the URL of your collector. You can add an HTTP header if your collector expects an authentication token. If you are sending events to Splunk, the dedicated article Splunk HTTP Event Collector (HEC) walks through the whole setup.

  • ESG has the possibility to send Audit Logs through the Syslog, under Admin Area > Appliance > Networking > Syslog, or REST API, under https://<hostname.appliance>/api.

Common questions from security reviews

Are the logs tamper proof?
On the appliance the logs are held on immutable storage. You can forward email events to an external collector with the HTTP event forwarder, or forward the audit log via the Syslog or API. The audit log on the appliance keeps the full history since installation and records every access and action, including the ones that only read data.

Can user activity be traced?
Yes. Actions and message consultations are written to the audit log with the user, the IP address, the date and time, and the identifier of the message that was opened. The log can be searched by user, action and IP address, and exported as CSV or XML.

How much retention is available?
Retention is configured for the whole appliance rather than assigned to individual users. Clean messages are kept for a few days, quarantined messages for up to sixty days, historical database records and metadata for up to a year on appliances with low traffic. On cloud appliances the periods are the ones set and cannot be changed.

Can email be kept for several years?
Not with ESG. It is a gateway and quarantined messages cannot be held longer than sixty days. When you need long term preservation, with legal hold and certified timestamps, the product for that is LibraCyber Email Archiver

Was this helpful?

Yes  No
Related Articles
  • Amazon AWS Instance Sizing Guideline
  • Migrate ATP configuration to Esg 5.6
  • Google Workspace internal forwarding limitation
  • Libraesva Admin Support Account
  • What happens when click on “Mark As” or “Report As”?
  • Libraesva ESG License Expiration

Didn't find your answer? Contact Us

Popular Article
  • Amazon AWS Instance Sizing Guideline
  • Migrate ATP configuration to Esg 5.6
  • Libraesva ESG License Expiration
  • Libraesva Admin Support Account
  • What happens when click on “Mark As” or “Report As”?
Tag Cloud
active content blacklist Cluster Alert Cluster Error delisting delivery disk performance email esva file sandbox gdpr hypervisor ip address memory usage monitoring monitring performance privacy production quarantine disk quicksand rbl reputation retention time sandbox sanitize document security snmp template testing tnef uri sandbox url rewrite url sandbox winmail.dat zabbix

  Dynamic Verification with Exchange 2013 and 2016

Cluster Firewall ports requirements for workers (distributed setup)  

Products
  • Email Security
  • Email Archiving
  • PhishBrain
  • LetsDMARC
Solutions
  • By threat
  • By business
  • Phishing
Resources
  • Company Website
  • Blog and Insights
  • Email Security Tester
  • Case Studies
  • Webinars
  • Support
  • System status
Partners
  • Partner Portal
  • Become a Partner
Company
  • About Libraesva
  • Contact Us
  • Get free trial
  • Book a demo
LibraCyber

LIBRACYBER SPA
Piazza Cermenati, 11
23900 Lecco - ITALY
VAT ID: 03442930131


LIBRAESVA LIMITED
51 Eastcheap
London EC3M 1DT - United Kingdom
VAT ID: 274381685


LIBRAESVA INC
2608 2nd Ave, Suite 327
Seattle, WA 98121 - United States

  • © 2026 Libraesva – Privacy Policy | Terms and Conditions

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT

WordPress Download Manager

WordPress Download Manager - Best Download Management Plugin

Popular searches:GDPR, ESG 5 migration guide, "How to configure Libraesva ESG for Microsoft 365"