this post was submitted on 24 Nov 2026
34 points (97.2% liked)

Selfhosted

64064 readers
518 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Howdy folks!

Would love to hear how people manage their personal inbox[es]. I am looking for ideas on how to best archive mail, while possibly still making it accessible.

Has anyone implemented something where, let's say, after 2 weeks, emails are stored on some type of self-hosted service, leaving minimal footprint on the cloud?

OpenArchiver was one of the first things I had come across, but, again, just brainstorming and looking for other options, even feedback on OpenArchiver.

Thank you in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] guillem@aussie.zone 4 points 3 days ago* (last edited 3 days ago) (2 children)

I haven't started yet but I was also looking for a way to store my emails locally.

What I want to try is to have dovecot managing a Maildir+ folder structure. That way (unless someone tells me it's a stupid idea) my mail archive remains human readable even if no specialised app can open them for some reason.

I can keep reading the emails in my IMAP providers with whichever MUA I prefer, and connect that MUA to my local dovecot in order to move the emails from IMAP to local storage.

I guess that translates well to selfhosted too.

[–] lemmyvore@feddit.nl 2 points 3 days ago* (last edited 3 days ago)

Syncing to dovecot is what I landed on eventually too. Maildir format is plain text files so you can run backups on them as well as get the benefit of IMAP access so you can point an email client or webmail app at it to do searches and reorganizations.

FWIW I've tried it the other way around, to sync from live IMAP mailbox to disk files and then convince dovecot or another private IMAP server to serve them read-only and it can be done but it's a pain in the butt. Plus, it only gets you the ability to search but not to handle and reorganize the archive.

The main trick is to neatly separate any handling and organization you do in the live mailbox from the organization you do on the private side. I achieve that by having a folder called Archive on the private server that doesn't exist on live and I do all long term storage reorganization in there, while folders and changes on live get propagated to their own folders.

[–] sean@lemmy.sean.land 2 points 3 days ago

Not that I know much on the best practices, but, it sounds very similar to how people using Outlook archive and backup (if people still do this) their PST files. I won't say it is a bad idea :) - appreciate the input!