summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-04 19:28:27 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-04 19:28:27 -0500
commit5d5254db67843e7f57bc7d7dec6128f1e566ba2c (patch)
treed689ecf9f9c724974cb8b8cb6620cadd14c51a09 /.offlineimaprc
parentd12b593a805f2dddc45178da1419d11fd7d7f01d (diff)
Change Inbox handling in maildirproc and offlineimap
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.offlineimaprc b/.offlineimaprc
index c5fd3f5..2ae0ab2 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -8,11 +8,11 @@ remoterepository = Remote
[Repository Local]
type = Maildir
localfolders = ~/Maildir
-nametrans = lambda foldername: re.sub('^\.', '', foldername)
+nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^\.', '', foldername))
[Repository Remote]
type = IMAP
ssl = yes
remotehost = imap.mail.yahoo.com
remoteuser = lukeshu@sbcglobal.net
-nametrans = lambda foldername: "."+foldername
+nametrans = lambda foldername: re.sub('^\.Inbox$', '.', "."+foldername)