diff options
Diffstat (limited to '.offlineimaprc')
-rw-r--r-- | .offlineimaprc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.offlineimaprc b/.offlineimaprc index 0e44147..35e8166 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -8,10 +8,13 @@ remoterepository = Remote [Repository Local] 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: "."+foldername +nametrans = lambda foldername: re.sub('^\.Inbox$', '', "."+foldername) +folderfilter = lambda foldername: not re.search('(Trash|Del)', foldername) |