summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-03-13 23:26:18 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-03-13 23:26:18 -0400
commite563e61bcffdf9b44a76c70f845f4909cd322c0d (patch)
tree8be05a3db4edbe190baabc6424aa3f7e57cc0b7a /.offlineimaprc
parent88e8a4ab61dc5352dd9fcd953e27a4156eca8c4a (diff)
parentb38287a145a445868453f426a255d6467d89d630 (diff)
Merge ../hp-dv6426us-par into build64-par
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.offlineimaprc b/.offlineimaprc
index 2ae0ab2..35e8166 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -9,10 +9,12 @@ remoterepository = Remote
type = Maildir
localfolders = ~/Maildir
nametrans = lambda foldername: re.sub('^$', 'Inbox', re.sub('^\.', '', foldername))
+folderfilter = lambda foldername: not re.search('(Trash|Del|-old|Draft)', foldername)
[Repository Remote]
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)
+folderfilter = lambda foldername: not re.search('(Trash|Del)', foldername)