aboutsummaryrefslogtreecommitdiffstats
path: root/.offlineimaprc
diff options
context:
space:
mode:
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc17
1 files changed, 7 insertions, 10 deletions
diff --git a/.offlineimaprc b/.offlineimaprc
index c17a990..28714c0 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -1,6 +1,6 @@
[general]
accounts = sleepmap.de,tu-berlin.de,c-base.org,studio@ak.tu-berlin.de
-maxsyncaccounts = 3
+maxsyncaccounts = 4
pythonfile = ~/bin/pass2offlineimap
# Automatic mailbox generationi for mutt
@@ -16,8 +16,7 @@ footer = "\n"
localrepository = tu-berlin-local
remoterepository = tu-berlin-remote
status_backend = sqlite
-autorefresh = 3
-quick = 7
+quick = -1
[Repository tu-berlin-local]
type = Maildir
@@ -35,8 +34,7 @@ sslcacertfile = /etc/ssl/cert.pem
localrepository = tu-berlin-studio-local
remoterepository = tu-berlin-studio-remote
status_backend = sqlite
-autorefresh = 3
-quick = 7
+quick = -1
[Repository tu-berlin-studio-local]
type = Maildir
@@ -54,8 +52,7 @@ sslcacertfile = /etc/ssl/cert.pem
localrepository = sleepmap-local
remoterepository = sleepmap-remote
status_backend = sqlite
-autorefresh = 3
-quick = 7
+quick = -1
postsynchook = notmuch new
[Repository sleepmap-local]
@@ -74,13 +71,12 @@ sslcacertfile = /etc/ssl/cert.pem
localrepository = c-base-local
remoterepository = c-base-remote
status_backend = sqlite
-autorefresh = 3
-quick = 7
+quick = -1
[Repository c-base-local]
type = Maildir
localfolders = ~/Mail/c-base.org/
-nametrans = lambda folder: 'INBOX.' + folder
+nametrans = lambda folder: "INBOX" if "INBOX" in folder else "INBOX." + folder
[Repository c-base-remote]
type = IMAP
@@ -88,4 +84,5 @@ remotehost = c-mail.c-base.org
remoteuser = dave
remotepasseval = get_pass("dave@c-base.org")
nametrans = lambda folder: re.sub('^INBOX\.', '', folder)
+folderfilter = lambda folder: folder not in ['INBOX.INBOX']
sslcacertfile = /etc/ssl/cert.pem