Mail-Archiver, a self hosted application that connects to your IMAP and Microsoft 365 mailboxes and keeps every message in one searchable, exportable archive, ready to sign in and add your first mailbox on first boot.
Mail-Archiver is a self hosted email archiving application. It connects to one or many IMAP or Microsoft 365 mailboxes, copies every message into a central store, and gives you a web interface to search, read, browse by folder and export mail, along with a dashboard, per account storage figures, retention controls and attachment handling. The archive is held in PostgreSQL so it stays fast and searchable as it grows, and mailbox synchronisation runs on a schedule in the background.
It suits organisations that need to retain and search company email for compliance or legal reasons, administrators consolidating mail from several accounts or providers into one searchable archive, and teams migrating or preserving mailboxes independently of the original mail server.
cloudimg ships Mail-Archiver as one complete appliance, built from source and wired to a bundled PostgreSQL database behind an nginx front door, rather than a stack of containers to assemble. It closes the default credential trap that a fresh Mail-Archiver would otherwise carry: instead of the published sample administrator, every cloudimg instance mints its own administrator password on first boot, before the application can be reached, and prompts you to set your own password the first time you sign in. No secret of any kind is baked into the image: on first boot each instance generates its own database password and its own data protection keyring, so no two machines share login or session material, and writes the one unique administrator password to a root only file on the machine. The database listens only on the local interface, never the public one, and the application is fronted by nginx. The base is fully patched with unattended security updates enabled, and every image comes with a step by step deploy guide tested against the exact build and 24/7 cloudimg support.
Real screenshots taken while testing this image against its deployment guide.