summaryrefslogtreecommitdiffstats
path: root/offlineimaprc
diff options
context:
space:
mode:
Diffstat (limited to 'offlineimaprc')
-rw-r--r--offlineimaprc18
1 files changed, 17 insertions, 1 deletions
diff --git a/offlineimaprc b/offlineimaprc
index 3236468..d333440 100644
--- a/offlineimaprc
+++ b/offlineimaprc
@@ -1,7 +1,7 @@
[general]
# NOTE: cronjob calls the quiet UI with -u
ui = TTY.TTYUI
-accounts = arch,gmail,iactor
+accounts = arch,gmail,iactor,aethon
pythonfile = ~/.offlineimap.py
[Account arch]
@@ -16,6 +16,10 @@ remoterepository = gmail-remote
localrepository = iactor-local
remoterepository = iactor-remote
+[Account aethon]
+localrepository = aethon-local
+remoterepository = aethon-remote
+
[Repository arch-local]
type = Maildir
localfolders = ~/Mail/arch
@@ -28,6 +32,10 @@ localfolders = ~/Mail/gmail
type = Maildir
localfolders = ~/Mail/iactor
+[Repository aethon-local]
+type = Maildir
+localfolders = ~/Mail/aethon
+
[Repository arch-remote]
type = Gmail
remoteusereval = getuser("imap.google.com-arch")
@@ -50,4 +58,12 @@ 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))))))
+
# vim: ft=cfg tw=0