Email backup with offlineimap


yum install offlineimap

Very simple config file

accounts = Test

[Account Test]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = ~/martin-nr-offline

[Repository Remote]
type = IMAP
remotehost =
remoteuser =

sslcacertfile = /etc/ssl/certs/ca-bundle.crt

Multiple Accounts config file


 Backing up


if you get an error like ERROR: No CA certificates and no server fingerprints configured. You must configure at least something, otherwise having SSL helps nothing.

yum install openssl or mac brew install openssl


use cases More info