Replies: 1 comment 1 reply
[Design Notes]: Integrated IMAP Server Mode (read-only)Several of my clients and acquaintances have mentioned they would like to keep accessing their archived emails from their familiar Outlook client, typically over LAN — this feedback was the original motivation behind the request. I'd be happy to contribute to the implementation under the coordination described in ScopeThe bare minimum only, read-only. No write operations whatsoever. Goal: an average user running Thunderbird / Outlook / iPhone Mail can connect to their own archive and browse it. Protocol subset
Explicitly out of scope: Folder hierarchyFor users with multiple accounts, the simplest layout is an account-prefixed form with Based on the The natural source for folder mapping is the UID stabilityRFC 3501 requires UIDs within a folder to be strictly monotonically increasing and never change. Proposal: use UIDVALIDITY: deterministic per folder — e.g., AuthenticationThe challenge: the existing user system includes both 2FA (TOTP) and OIDC users, which are not natively compatible with IMAP Proposal — minimal approach: a user can generate a single dedicated IMAP password in their profile. This is enough to let every user (classic, 2FA, OIDC) connect uniformly. Schema change needed: two new fields on the If reusing the web password directly is feasible on your side, that would be even simpler — but the 2FA/OIDC users would raise compatibility questions there. TLS and networking
Implementation
No new NuGet dependencies. Suggested configuration keysjson "Imap": {
"Enabled": false,
"Port": 993,
"MaxConcurrentConnections": 50,
"IdleTimeoutMinutes": 30
}Open questions
Looking forward to your feedback. |
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
Browsing large archives through the web UI becomes cumbersome for end users who are used to their regular mail client (Outlook, Thunderbird, Apple Mail, mobile). There is no way to access the archive from a familiar email client — every access requires logging into the web interface, which hurts adoption for non-technical users and makes offline / multi-device use awkward.
Describe the solution you'd like
Add a built-in, read-only IMAP server that exposes the archive to any standard IMAP client, alongside the existing web UI (not replacing it).
Scope for v1 — minimal read-only command set only:
LOGIN,CAPABILITY,LIST,SELECT/EXAMINE,FETCH,LOGOUT,NOOP. No write operations whatsoever (APPEND,STORE,EXPUNGE,DELETE, etc.).SEARCHand more advanced commands could come in later iterations.Benefits:
Additional context
This is a well-established enterprise pattern:
On the open-source side, no actively maintained project currently offers this. Enkive used to, but has been abandoned for years. Implementing it would make Mail-Archiver a real differentiator in the self-hosted open-source email archiving space.
I have notes on the technical details (folder mapping, auth, TLS, UID stability, phased scope) and would be happy to share them in follow-up comments if there is interest in pursuing this.
All reactions