aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-02-21 23:31:00 +0100
committerDavid Runge <dave@sleepmap.de>2017-02-21 23:31:00 +0100
commit33c2d03e42fbde611d6603de28b451e2dc31a952 (patch)
tree08b95b85640d7832a19447f82ffc6f7d5b3e3642
parentc870d3ccc92d268ae1454901de08f9fd68be927d (diff)
downloaddotfiles-33c2d03e42fbde611d6603de28b451e2dc31a952.tar.gz
dotfiles-33c2d03e42fbde611d6603de28b451e2dc31a952.tar.bz2
dotfiles-33c2d03e42fbde611d6603de28b451e2dc31a952.tar.xz
dotfiles-33c2d03e42fbde611d6603de28b451e2dc31a952.zip
.offlineimaprc: Adding nametrans for c-base account, that undoes Courier stupidity.
-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