From 5d5254db67843e7f57bc7d7dec6128f1e566ba2c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 4 Dec 2011 19:28:27 -0500 Subject: Change Inbox handling in maildirproc and offlineimap --- .offlineimaprc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.offlineimaprc') 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) -- cgit v1.2.3-2-g168b