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.
93000 mails since 2008 are just 2,1 GB. I have an archive on my home server where I also host my main IMAP server. I just move them from the inbox to Archives.YEAR.
I’ve been using imap-backup for many years without issue, it backs up to mbox files that it can restore onto any IMAP server because it also stores IMAP metadata on the side. I then backup the dir itself using borg. It deduplicates and compresses so the backup archives themselves are extremely small.
I have an Archive (Maildir format) folder in my Thunderbird Local Folders which gets copied over daily to an external hard drive with
rsync
.I think that is the way I want to go! Thunderbird on my PC is the „central mail client“, so I just have to draw the archived years (imap) to a local folder. The advantages: If I look for an older mail, I do not have to search in seperate archived files (mbox/eml). And with backing up thunderbird, I have a backup of all my settings AND mails!
That’s exactly my setup!
Commenting because I too am interested in this. I also would like to see if anyone has solved the issue with Thunderbird and Yahoo email where only 10,000 emails are kept. I have an inbox with about 20+years of emails, and with the 10k cap, I realized Thunderbird was literally deleting the oldest ones. Since I wisely told it not to delete them on the server when it copied them, I didn’t lose them, but with that volume of emails, I really don’t want to have to manually move them into folders. Guess this turned into a ramble, but it would be nice to have a backup since you never know when one day you will wake up to be told service x is shutting down.
What does the Thunderbird logo have to do with this?
My Lemmy-client forces me to add a picture. I was pretty sure to find a solution with thunderbird - what I did
I use getmail
That’s me! I got dovecot in docker working for email archive, and moved all my old emails there. I access them through thunderbird on pc and k-9 mail on phone. Works great!
It took a bit of time to set up the passwords, and understanding the configuration. I used the lets encrypt certs from caddy.
I had to look at some different examples of the dovecot config file to get it right