commit 77919515ede312f24576ba351436d46b136835eb
parent 9041029903cb6f547cacc9838e73b91c80842385
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 11 May 2018 15:14:23 -0400
Ignore Gmail's "All Mail" folders
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/links/.offlineimaprc b/links/.offlineimaprc
@@ -208,6 +208,7 @@ nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
+folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
#cert_fingerprint = c1a3bb1a8617af4a28ee2e0cd494533c3cd70bf8
#cert_fingerprint = fc0a6ba4bf46851bcea02c6a438de63f6811165b,5f9f9598bf27cce4a97762336a753b8c07878564,f0b04600b419486538ace149e3615c7d94953c87
ssl=true
@@ -348,6 +349,7 @@ nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
+folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
#cert_fingerprint = c1a3bb1a8617af4a28ee2e0cd494533c3cd70bf8
#cert_fingerprint = fc0a6ba4bf46851bcea02c6a438de63f6811165b,5f9f9598bf27cce4a97762336a753b8c07878564,f0b04600b419486538ace149e3615c7d94953c87
ssl=true