summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-02-27 00:01:38 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-02-27 00:01:38 -0500
commit3d5c297366bbb2e40cf26c74bd6bafe933c499d5 (patch)
tree633f2222a22dd7479303a4007635abb9afbee6fc /.offlineimaprc
parent868e60c8302a7723812a62924d6a9ccb965e2279 (diff)
live on my laptop for a while
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)