summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-22 23:46:29 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-22 23:46:29 -0400
commitd26fda540c355fa37a1381b11765c47fdc5bd006 (patch)
treef6510335adf691d662cae765cb7f77dcdcbf4efc /.offlineimaprc
parent3b8d4575218ab6d8e1155a81c45d81a8631aff25 (diff)
parent7036a9b36396ae49cf8ba0f8ad5fe139a65433c1 (diff)
Merge branch 'hp-dv6426us-par'
Conflicts: .crontab.local .git.info.exclude .wmii/wmiirc_local
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc4
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)