OpenArchiver: E-Mail Archiving incl. fulltext-search of attachments
-
Referring to the discussion here: https://forum.cloudron.io/post/112663 and after a very interesting update to the app (adding OCR for attachments) that was just released:
- Main Page: https://github.com/LogicLabs-OU/OpenArchiver
- Git: https://github.com/LogicLabs-OU/OpenArchiver
- Licence: AGPL 3.0
- Dockerfile: Yes
- Demo: https://demo.openarchiver.com/
- Summary:Open Archiver provides a robust, self-hosted solution for archiving, storing, indexing, and searching emails from major platforms, including Google Workspace (Gmail), Microsoft 365, PST files, as well as generic IMAP-enabled email inboxes. Use Open Archiver to keep a permanent, tamper-proof record of your communication history, free from vendor lock-in.
Key features:
-
Universal Ingestion: Connect to any email provider to perform initial bulk imports and maintain continuous, real-time synchronization. Ingestion sources include:
- IMAP connection
- Google Workspace
- Microsoft 365
- PST files
- Zipped .eml files
- Mbox files
-
Secure & Efficient Storage: Emails are stored in the standard
.emlformat. The system uses deduplication and compression to minimize storage costs. All data is encrypted at rest. -
Pluggable Storage Backends: Support both local filesystem storage and S3-compatible object storage (like AWS S3 or MinIO).
-
Powerful Search & eDiscovery: A high-performance search engine indexes the full text of emails and attachments (PDF, DOCX, etc.).
-
Thread discovery: The ability to discover if an email belongs to a thread/conversation and present the context.
-
Compliance & Retention: Define granular retention policies to automatically manage the lifecycle of your data. Place legal holds on communications to prevent deletion during litigation (TBD).
-
File Hash and Encryption: Email and attachment file hash values are stored in the meta database upon ingestion, meaning any attempt to alter the file content will be identified, ensuring legal and regulatory compliance.
-
Comprehensive Auditing: An immutable audit trail logs all system activities, ensuring you have a clear record of who accessed what and when (TBD).
- Notes: OpenArchiver has full-text search for attachments based on Meili Search and Apache Tika (OCR!). I don‘t know any other open sourced mail archiver that does that…
- Alternative to / Libhunt link: Mail Archiver (https://forum.cloudron.io/post/112576), Mailpiler (https://forum.cloudron.io/post/2800) (whatever happened to it? The Cloudron git seems abandoned: https://git.cloudron.io/vladimir.d/mailpiler?)
- Screenshots:

-
N necrevistonnezr referenced this topic on
-
J joseph referenced this topic on
-
N necrevistonnezr referenced this topic on
-
T Teiluj referenced this topic on
-
T Teiluj referenced this topic on
-
T Teiluj referenced this topic on
-
A lot has happened in Open Archiver over the past year (from v0.4.1 up to the latest releases). Here is a summary of the most notable new features, search improvements, and security updates:
- New Providers & Granular Ingestion Control
- JMAP Support: Added JMAP as an ingestion provider alongside IMAP, Google Workspace, and Microsoft 365.
- Personal Microsoft Accounts: Added OAuth2 Device Code Flow support for Outlook.com, Hotmail, and Live.com (plus optional Tenant ID support for single-tenant M365 apps).
- Selection Rules: Ingestion sources can now be narrowed down to specific mailboxes, folders/Gmail labels, or tags (including options to skip disabled, shared, room, or equipment mailboxes).
- Faster & More Reliable Sync: Initial IMAP imports on servers with account-wide message numbering (e.g., GMX, web.de) now take minutes instead of hours. Added UIDVALIDITY tracking to prevent skipped emails after folder renumbering, stopped archiving drafts by default, and fixed duplicate ingestion during overlapping sync runs.
- Search, Indexing & UI Improvements
- Apache Tika 4 Support: Added compatibility with Tika 4 (while keeping Tika 3 working) for full-text extraction and OCR of attachments.
- Advanced Search Filters: Added separate Cc and Bcc filters, wildcard domain matching (@example.com and name@), and displays the exact archive timestamp on each email.
- Date Formatting: Added user-selectable and system-wide date format settings, plus improved date parsing from original email headers.
- Security & Compliance (Important Updates)
- TOTP Two-Factor Authentication: 2FA (TOTP) is now included in the open-source edition.
- Row-Level Permission Checks & API Hardening: Access permissions are now strictly enforced per record/ingestion source, and sensitive fields (password hashes, 2FA secrets) were stripped from user list API responses.
- Critical Node.js Security Patch (v0.6.2+): Rebuilt Docker images on patched Node.js versions to mitigate the unauthenticated Brotli decoder vulnerability (CVE-2026-111497).
- Storage & Stability Fixes
- Improved handling of long attachment filenames (>255 bytes), empty attachment Content-Type headers, and angle brackets in filenames on CIFS/SMB mounts.
- Direct reading of local PST files without excessive temp storage, plus proper Cc/Bcc recipient mapping during PST imports.
- New Providers & Granular Ingestion Control
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login