]> git.donarmstrong.com Git - mail.git/commitdiff
filter out trash
authorDon Armstrong <don@donarmstrong.com>
Fri, 10 Sep 2010 23:35:26 +0000 (23:35 +0000)
committerDon Armstrong <don@donarmstrong.com>
Fri, 10 Sep 2010 23:35:26 +0000 (23:35 +0000)
.offlineimaprc

index 06114fc2ed98bdeba1ca852ffed571d3c1c2daa0..835e8038eaa714ad7442a15492ce01d71158bd5d 100644 (file)
@@ -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'