diff options
Diffstat (limited to '.offlineimaprc')
| -rw-r--r-- | .offlineimaprc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.offlineimaprc b/.offlineimaprc new file mode 100644 index 0000000..70c58b1 --- /dev/null +++ b/.offlineimaprc @@ -0,0 +1,43 @@ +# 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 |
