summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
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)