aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.offlineimaprc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.offlineimaprc b/.offlineimaprc
index 5d9c4b7..c17a990 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -80,10 +80,12 @@ quick = 7
[Repository c-base-local]
type = Maildir
localfolders = ~/Mail/c-base.org/
+nametrans = lambda folder: 'INBOX.' + folder
[Repository c-base-remote]
type = IMAP
remotehost = c-mail.c-base.org
remoteuser = dave
remotepasseval = get_pass("dave@c-base.org")
+nametrans = lambda folder: re.sub('^INBOX\.', '', folder)
sslcacertfile = /etc/ssl/cert.pem