92
submitted 1 year ago by moddy@feddit.de to c/selfhosted@lemmy.world

I would like to REALLY archive some older e-mail-folders. Archive seems not to be the right word, because i work with empty inboxes, so every completed or answered e-mail is still archived in a folder (with the name of the year), but i use IMAP so all archived emails are still on the server.

Now i want to EXPORT the years 2018-2019 to my selfhosted-backup-server so that i can delete the emails on the mail-server.

a) Which format make most sense? EML? mbox? Another one? Would be nice if i can search the archived stuff without too many effort. b) Should i export directly from the UI of my mailprovider (if possible) or is exporting from thunderbird-client ok.

you are viewing a single comment's thread
view the rest of the comments
[-] dalz@fedi.alsd.eu 1 points 1 year ago* (last edited 1 year ago)

You could use mbsync to automate this. You can configure it so that it downloads new mail with IMAP, but keeps them even if they are deleted from the server.

Then you will have a Maildir that you can manage with any mail client, index with notmutch, etc.

this post was submitted on 26 Jul 2023
92 points (97.9% liked)

Selfhosted

39700 readers
640 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS