[general]
accounts = IOCOM, FastMail
pythonfile = ~/dotfiles/offlineimap.py


[Account IOCOM]
localrepository = IOCOMLocal
remoterepository = IOCOMRemote

[Repository IOCOMLocal]
type = Maildir
localfolders = ~/Mail/IOCOM

[Repository IOCOMRemote]
type = IMAP
remotehost = secure.emailsrvr.com
remoteuser = dswan@insors.com
remotepasseval = decrypt_password(".iocom-password.gpg")
realdelete = no
ssl = yes
sslcacertfile = ~/.nix-profile/etc/ssl/certs/ca-bundle.crt

[Account FastMail]
localrepository = FastMailLocal
remoterepository = FastMailRemote

[Repository FastMailLocal]
type = Maildir
localfolders = ~/Mail/FastMail

[Repository FastMailRemote]
type = IMAP
remotehost = mail.messagingengine.com
remoteuser = dustinswan@fastmail.com
remotepasseval = decrypt_password(".dustinswan@fastmail.com-password.gpg")
realdelete = no
# sslcacertfile=/usr/local/etc/openssl/osx_cert.pem
sslcacertfile = ~/.nix-profile/etc/ssl/certs/ca-bundle.crt
ssl = yes