You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
[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 = iocom_password()
|
|
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 = gmail_password()
|
|
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)))))))
|