summaryrefslogtreecommitdiffstats
path: root/offlineimap/.offlineimaprc
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2015-02-21 22:43:08 -0500
committerAmin Bandali <me@aminb.org>2015-02-21 22:43:08 -0500
commit51547bf28a11c31c1f2747f437eb3a0899a135f1 (patch)
tree7143534da594460a36485104c3a7950aab245f57 /offlineimap/.offlineimaprc
parent407bc1d34845ef480281417869359f184f7bdc33 (diff)
downloadconfigs-51547bf28a11c31c1f2747f437eb3a0899a135f1.tar.gz
configs-51547bf28a11c31c1f2747f437eb3a0899a135f1.tar.xz
configs-51547bf28a11c31c1f2747f437eb3a0899a135f1.zip
[offlineimap] update config
Diffstat (limited to '')
-rw-r--r--offlineimap/.offlineimaprc42
1 files changed, 42 insertions, 0 deletions
diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc
new file mode 100644
index 0000000..60d9801
--- /dev/null
+++ b/offlineimap/.offlineimaprc
@@ -0,0 +1,42 @@
+[general]
+pythonfile = ~/.offlineimap.py
+accounts = Gmail, aminb
+maxsyncaccounts = 3
+
+[Account Gmail]
+localrepository = GmailL
+remoterepository = GmailR
+
+[Account aminb]
+localrepository = aminbL
+remoterepository = aminbR
+
+[Repository GmailL]
+type = Maildir
+localfolders = ~/Maildir/Gmail
+
+[Repository GmailR]
+type = IMAP
+remotehost = imap.gmail.com
+remoteusereval = mailuser("gmail")
+remotepasseval = mailpasswd("gmail")
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+ssl = yes
+folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
+maxconnections = 1
+realdelete = no
+
+[Repository aminbL]
+type = Maildir
+localfolders = ~/Maildir/aminb
+
+[Repository aminbR]
+type = IMAP
+remotehost = mail.aminb.org
+remoteusereval = mailuser("aminb")
+remotepasseval = mailpasswd("aminb")
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+ssl = yes
+folderfilter = lambda foldername: foldername not in 'dovecot.sieve'
+maxconnections = 1
+realdelete = no