summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-03-07 09:09:07 +0100
committerGravatar Tom Willemsen2011-03-07 09:09:07 +0100
commit68f90d7bcdbf77cb0df44ed5da2d0f9e909c61b8 (patch)
tree22398ca901b2d5485cae605df30d0c26bf2466e9
parent44e6edb0413161d43cc30c7ed4fe3731cacad087 (diff)
downloaddotfiles-68f90d7bcdbf77cb0df44ed5da2d0f9e909c61b8.tar.gz
dotfiles-68f90d7bcdbf77cb0df44ed5da2d0f9e909c61b8.zip
Aethon
* Added aethon account to offlineimap
-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