From: Samir Benmendil Date: Wed, 29 Jan 2014 18:36:03 +0000 (+0100) Subject: offlineimap: sync "All Mail" X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/4187e68ee41a4254a84cd0f2fbd4e8b4ab8ce5c5 offlineimap: sync "All Mail" --- diff --git a/bin/offlineimap_utils.py b/bin/offlineimap_utils.py index 3f21e66..81fbbf7 100644 --- a/bin/offlineimap_utils.py +++ b/bin/offlineimap_utils.py @@ -1,7 +1,7 @@ import re mapping = { 'INBOX': 'inbox' - , '[Google Mail]/All Mail': 'all_mail' + , '[Google Mail]/All Mail': 'archive' , '[Google Mail]/Drafts': 'drafts' , '[Google Mail]/Important': 'important' , '[Google Mail]/Sent Mail': 'sent' @@ -19,6 +19,7 @@ def translocal(foldername): return r_mapping.get(foldername, foldername) top = [ 'inbox' + , 'flagged' , 'chakra' , 'unimaas' , 'clementine' @@ -26,7 +27,7 @@ top = [ 'inbox' , 'hotmail' ] -bot = [ 'flagged' +bot = [ 'archive' , 'drafts' , 'spam' , 'bin'