voidrice/.offlineimaprc

44 lines
1.2 KiB
Text
Raw Normal View History

# vim filetype=config
# Here are settings for all accounts.
[general]
accounts = gmail, personal
starttls = yes
ssl = yes
autorefresh = 1
# Here's an example Gmail account, just add in a username and password to use your own.
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
[Repository gmail-remote]
type = Gmail
remoteuser = YOURNAME@gmail.com
remotepass = $PASSWORD
#Note that the line below will not sync Gmail's redundant "All Mail" box. You can add other inboxes here you don't want to sync.
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository gmail-local]
type = Maildir
localfolders = ~/.Mail/Gmail
# Here's an other more general example. Add your username, password and IMAP server information, which you can look this up on your email host's website.
[Account personal]
localrepository = personal-local
remoterepository = personal-remote
[Repository personal-remote]
type = IMAP
remoteuser = USER@DOMAIN.COM
remotepass = $PASSWORD
remotehost = SERVER-ADDRESS
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository personal-local]
type = Maildir
localfolders = ~/.Mail/Personal