summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 23:01:21 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 23:01:21 -0400
commit6c0a5af3aba9902206a73a62e2be2e4dd67be9da (patch)
treecbc0dbb938716a80cc0248b5aff97dc34f21c756 /.offlineimaprc
parentebc4f813d517d44ddf7440fd8043c5d41adf8932 (diff)
parenta96ee608ce4be813ce381a6a0c195591f633986e (diff)
Merge branch 'hp-dv6426us-par' into identica-mode-1.2hp-dv6426us-par/identica-mode-1.2
Conflicts: .emacs
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc5
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)