yum install offlineimap
[general]
accounts = Test
[Account Test]
localrepository = Local
remoterepository = Remote
[Repository Local]
type = Maildir
localfolders = ~/martin-nr-offline
[Repository Remote]
type = IMAP
remotehost = imap.xxx.co.uk
remoteuser = martin@xxx.co.uk
ssl=true
sslcacertfile = /etc/ssl/certs/ca-bundle.crt
[todo]
http://www.offlineimap.org/doc/backups-btrfs.html
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