summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc36
1 files changed, 28 insertions, 8 deletions
diff --git a/.offlineimaprc b/.offlineimaprc
index 319593c..8ea8f30 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -1,22 +1,22 @@
# -*- Mode: Conf -*-
[general]
-accounts = LukeShu
+accounts = ATT,Purdue
-[Account LukeShu]
-localrepository = Local
-remoterepository = Remote
+## AT&T ###############################################################
-[Repository Local]
+[Account ATT]
+localrepository = Local-Main
+remoterepository = Remote-SBCGlobal
+
+[Repository Local-Main]
type = Maildir
localfolders = ~/Maildir
sep = .
folderfilter = lambda foldername: not re.search('(Trash|Del|-old|Draft)', foldername)
-
# transforms local -> remote
nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^'+re.escape('%(sep)s'), '', foldername))
-
-[Repository Remote]
+[Repository Remote-SBCGlobal]
type = IMAP
ssl = yes
cert_fingerprint = 700d84baa7e852240178dc2de18e7e528a2854df
@@ -27,3 +27,23 @@ folderfilter = lambda foldername: not re.search('(Trash|Del)', foldername)
# transforms remote -> local
# we must assume that sep=/ on the remote IMAP server.
nametrans = lambda foldername: '/'+re.sub('^Inbox$', '', foldername)
+
+## Purdue ############################################################
+
+[Account Purdue]
+localrepository = Local-Purdue
+remoterepository = Remote-Purdue
+
+[Repository Local-Purdue]
+type = Maildir
+localfolders = ~/Maildir.purdue
+sep = .
+folderfilter = lambda foldername: re.search('INBOX', foldername)
+
+[Repository Remote-Purdue]
+type = IMAP
+ssl = yes
+cert_fingerprint = 32bdd134cad8da1bea57aa379b98b1cff692e4fd
+remotehost = mymail.purdue.edu
+remoteuser = shumakl
+folderfilter = lambda foldername: re.search('INBOX', foldername)