From 7dba835e95872a558530c8639531c7f72b0c3f03 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 10 Sep 2010 23:35:26 +0000 Subject: [PATCH] filter out trash --- .offlineimaprc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.offlineimaprc b/.offlineimaprc index 06114fc..835e803 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -45,7 +45,7 @@ nametrans = lambda foldername: \ re.sub('^lists.?', '', foldername) # Yeah, you have to mention the Mail dir, even though it # would seem intuitive that reference would trim it. -folderfilter = lambda foldername: not re.search('(^(oftc|archives|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|spam|outbox|bugs|postponed|customflags))', foldername) +folderfilter = lambda foldername: not re.search('(^(oftc|archives|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|spam|outbox|bugs|postponed|customflags|Trash))', foldername) preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap' [Account Bugs] @@ -67,7 +67,7 @@ nametrans = lambda foldername: \ re.sub('^bugs.?', '', foldername) # Yeah, you have to mention the Mail dir, even though it # would seem intuitive that reference would trim it. -folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|spam|outbox|archives|postponed|customflags))', foldername) +folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|spam|outbox|archives|postponed|customflags|Trash))', foldername) preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap' @@ -92,7 +92,7 @@ nametrans = lambda foldername: \ re.sub('^spam.?', '', foldername) # Yeah, you have to mention the Mail dir, even though it # would seem intuitive that reference would trim it. -folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|bugs|outbox|archives|postponed|customflags))', foldername) +folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|bugs|outbox|archives|postponed|customflags|Trash))', foldername) preauthtunnel = ssh -q linnode.donarmstrong.com 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir /usr/lib/dovecot/imap' -- 2.39.2