summaryrefslogtreecommitdiffstats
path: root/.offlineimaprc
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-01-21 18:29:48 -0700
committerLuke <luke@lukesmith.xyz>2018-01-21 18:29:48 -0700
commit50adee4e79febf6f74594604e9f7083461b04227 (patch)
tree54036701bd0957e51521e7f51d4d3b49450f22da /.offlineimaprc
parent68bd2acdc8f8040deab188c748d207d93ba923ca (diff)
downloadeibhear-50adee4e79febf6f74594604e9f7083461b04227.tar.gz
eibhear-50adee4e79febf6f74594604e9f7083461b04227.tar.zst
eibhear-50adee4e79febf6f74594604e9f7083461b04227.zip
"first" commit, preparing for LARBS 2.0
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc43
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