From 64ec1cd58202d21f2bf357595252a13d636579ad Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 26 Jul 2012 09:54:17 -0400 Subject: Don't sync McGill/McGSOCS to GMAIL --- .offlineimaprc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.offlineimaprc') diff --git a/.offlineimaprc b/.offlineimaprc index da360bf..d0c20ae 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -27,7 +27,7 @@ type = IMAP remotehost = localhost remoteuser = ryan remotepass = LOCAL_PASS -folderfilter = lambda folder: folder not in ['[Google Mail]/All Mail'] and not folder.startswith('QueensU.') +folderfilter = lambda folder: True not in map(lambda x: x.startswith(folder), ['QueensU.', 'McGill.', 'McGSOCS.', '[Google Mail]/All Mail']) idlefolders = ['INBOX'] [Repository RemoteGmail] @@ -40,7 +40,7 @@ spamfolder = [Google Mail]/Spam trashfolder = [Google Mail]/Bin cert_fingerprint = f3043dd689a2e7dddfbef82703a6c65ea9b634c1 realdelete = no -folderfilter = lambda folder: folder not in ['[Google Mail]/All Mail'] and not folder.startswith('QueensU.') +folderfilter = lambda folder: True not in map(lambda x: x.startswith(folder), ['QueensU.', 'McGill.', 'McGSOCS.', '[Google Mail]/All Mail']) idlefolders = ['INBOX'] ##### QueensU mail -- cgit v1.2.3