summaryrefslogtreecommitdiffstats
path: root/.offlineimaprc
diff options
context:
space:
mode:
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc97
1 files changed, 97 insertions, 0 deletions
diff --git a/.offlineimaprc b/.offlineimaprc
new file mode 100644
index 0000000..caabb9e
--- /dev/null
+++ b/.offlineimaprc
@@ -0,0 +1,97 @@
+[general]
+# NOTE: cronjob calls the quiet UI with -u
+ui = TTYUI
+accounts = ryuslash.org,gmail,arch,aethon,iactor,ninthfloor
+pythonfile = ~/.offlineimap.py
+
+[Account arch]
+localrepository = arch-local
+remoterepository = arch-remote
+
+[Account gmail]
+localrepository = gmail-local
+remoterepository = gmail-remote
+
+[Account iactor]
+localrepository = iactor-local
+remoterepository = iactor-remote
+
+[Account aethon]
+localrepository = aethon-local
+remoterepository = aethon-remote
+
+[Account ninthfloor]
+localrepository = ninthfloor-local
+remoterepository = ninthfloor-remote
+
+[Account ryuslash.org]
+localrepository = ryuslash.org-local
+remoterepository = ryuslash.org-remote
+
+[Repository arch-local]
+type = Maildir
+localfolders = ~/documents/mail/arch
+
+[Repository gmail-local]
+type = Maildir
+localfolders = ~/documents/mail/gmail
+
+[Repository iactor-local]
+type = Maildir
+localfolders = ~/documents/mail/iactor
+
+[Repository aethon-local]
+type = Maildir
+localfolders = ~/documents/mail/aethon
+
+[Repository ninthfloor-local]
+type = Maildir
+localfolders = ~/documents/mail/ninthfloor
+
+[Repository ryuslash.org-local]
+type = Maildir
+localfolders = ~/documents/mail/ryuslash.org
+
+[Repository arch-remote]
+type = Gmail
+remoteusereval = getuser("imap.google.com-arch")
+remotepasseval = getpassword("imap.google.com-arch")
+realdelete = no
+
+nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))
+
+[Repository gmail-remote]
+type = Gmail
+remoteusereval = getuser("imap.google.com")
+remotepasseval = getpassword("imap.google.com")
+realdelete = no
+
+nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))
+
+[Repository iactor-remote]
+type = IMAP
+remotehost = mail.iactor.nl
+remoteusereval = getuser("mail.iactor.nl")
+remotepasseval = getpassword("mail.iactor.nl")
+
+[Repository aethon-remote]
+type = Gmail
+remoteusereval = getuser("imap.google.com-aethon")
+remotepasseval = getpassword("imap.google.com-aethon")
+realdelete = no
+
+nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))
+
+[Repository ninthfloor-remote]
+type = IMAP
+remotehost = ninthfloor.org
+remoteusereval = getuser("ninthfloor.org")
+remotepasseval = getpassword("ninthfloor.org")
+
+[Repository ryuslash.org-remote]
+type = IMAP
+remotehost = imap.alwaysdata.com
+remoteusereval = getuser("imap.alwaysdata.com")
+remotepasseval = getpassword("imap.alwaysdata.com")
+
+# vim: ft=cfg tw=0