filter folders
Andrea Crotti
andrea.crotti.0 at gmail.com
Mon Apr 30 17:45:56 BST 2012
I'm using offlineimap 6.5.3.1 and I don't find a way to filter out the
"All Mail" folder,
I have this setting:
folderfilter = lambda foldername: foldername not in ['Trash', 'Deleted
messages', "[Gmail].*"]
From the wiki page I found this:
folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
but that in standard python would be wrong, because it since also a
string is iterable it would
check that foldername is not a character contained in that string.
So how is exactly the semantic of filtering in the configuration file?
Thanks,
Andrea
More information about the OfflineIMAP-project
mailing list