Making an Automatic Email Backup
Keeping a local, self-hosted copy of a remote IMAP account with mbsync and Dovecot — from the first working sync to a pair of Docker images that do it for you.
All posts
Making an Automatic Email Backup - Part 1
Automatically backing up a remote IMAP mailbox to a home server with mbsync, then serving the archive locally with Dovecot so any mail client can read it.
Making an Automatic Email Backup - Part 2
Adding self-signed SSL certificates to Dovecot and installing Roundcube, so the local mail archive is reachable from any browser on the network.
Making an Automatic Email Backup - Part 3
Repackaging the mbsync and Dovecot setup from Parts 1 and 2 into a pair of Docker images, configured entirely through environment variables.
Making an Automatic Email Backup (Updated 9/15/2024)
A new version of the mbsync and Dovecot Docker images, now with Solr full-text search for fast IMAP searches.