diff options
author | Ryan Kavanagh <rak@debian.org> | 2012-07-26 09:54:17 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2012-07-26 09:59:13 -0400 |
commit | 64ec1cd58202d21f2bf357595252a13d636579ad (patch) | |
tree | 7a3432bb0c256c8a45397f25b9b5a05d26ec3e0c | |
parent | Add script to kill offlineimap (diff) |
Don't sync McGill/McGSOCS to GMAIL
-rw-r--r-- | .offlineimaprc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |