]> git.rmz.io Git - dotfiles.git/commitdiff
offlineimap: sync "All Mail"
authorSamir Benmendil <samir.benmendil@gmail.com>
Wed, 29 Jan 2014 18:36:03 +0000 (19:36 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Wed, 29 Jan 2014 18:36:03 +0000 (19:36 +0100)
bin/offlineimap_utils.py

index 3f21e669db3a2730097bdde236cf9dcc67d9b1a3..81fbbf78d2240f0e26c4eadb0671be1b9fe4d710 100644 (file)
@@ -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'