|
|
|
[general]
|
|
|
|
accounts = IOCOM, Gmail
|
|
|
|
pythonfile = ~/dotfiles/offlineimap.py
|
|
|
|
|
|
|
|
|
|
|
|
[Account IOCOM]
|
|
|
|
localrepository = IOCOMLocal
|
|
|
|
remoterepository = IOCOMRemote
|
|
|
|
status_backend = sqlite
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
|
|
|
|
[Account Gmail]
|
|
|
|
localrepository = GmailLocal
|
|
|
|
remoterepository = GmailRemote
|
|
|
|
status_backend = sqlite
|
|
|
|
|
|
|
|
[Repository GmailLocal]
|
|
|
|
type = Maildir
|
|
|
|
localfolders = ~/.mail/gmail
|
|
|
|
nametrans = lambda folder: re.sub('spam', '[Gmail].Spam',
|
|
|
|
re.sub('drafts', '[Gmail].Drafts',
|
|
|
|
re.sub('sent', '[Gmail].Sent Mail',
|
|
|
|
re.sub('starred', '[Gmail].Starred',
|
|
|
|
re.sub('trash', '[Gmail].Trash',
|
|
|
|
re.sub('important', '[Gmail].Important',
|
|
|
|
re.sub('archive', '[Gmail].All Mail', folder)))))))
|
|
|
|
|
|
|
|
[Repository GmailRemote]
|
|
|
|
type = Gmail
|
|
|
|
remoteuser = dustinswan@gmail.com
|
|
|
|
remotepasseval = decrypt_password(".gmail-password.gpg")
|
|
|
|
realdelete = no
|
|
|
|
sslcacertfile = /usr/local/opt/curl-ca-bundle/share/ca-bundle.crt
|
|
|
|
nametrans = lambda folder: re.sub('.*Spam$', 'spam',
|
|
|
|
re.sub('.*Drafts$', 'drafts',
|
|
|
|
re.sub('.*Sent Mail$', 'sent',
|
|
|
|
re.sub('.*Starred$', 'starred',
|
|
|
|
re.sub('.*Trash$', 'trash',
|
|
|
|
re.sub('.*Important$', 'important',
|
|
|
|
re.sub('.*All Mail$', 'archive', folder)))))))
|