diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-17 22:29:53 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-17 22:29:53 -0400 |
commit | 58567fc876e7290ca1b9330b2986ac5f53b0ac5f (patch) | |
tree | 9cedd7ecf26230599e61fba823cc07ee3df9f6e9 | |
parent | 8e5ee10f6fe9f9a756b4530091e05adea7eb6f51 (diff) |
yahoo changed their imap a bit (offlineimaprc)
-rw-r--r-- | .offlineimaprc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.offlineimaprc b/.offlineimaprc index 35e8166..0f4cc78 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -8,7 +8,7 @@ remoterepository = Remote [Repository Local] type = Maildir localfolders = ~/Maildir -nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^\.', '', foldername)) +nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^/', '', foldername.replace('.', '/'))) folderfilter = lambda foldername: not re.search('(Trash|Del|-old|Draft)', foldername) [Repository Remote] @@ -16,5 +16,5 @@ type = IMAP ssl = yes remotehost = imap.mail.yahoo.com remoteuser = lukeshu@sbcglobal.net -nametrans = lambda foldername: re.sub('^\.Inbox$', '', "."+foldername) +nametrans = lambda foldername: re.sub('^\.Inbox$', '', "."+foldername.replace('/', '.')) folderfilter = lambda foldername: not re.search('(Trash|Del)', foldername) |