1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 1AB88431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 7 May 2014 05:07:54 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 4J8vamO5UfwY for <notmuch@notmuchmail.org>;
\r
16 Wed, 7 May 2014 05:07:46 -0700 (PDT)
\r
17 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com
\r
18 [209.85.212.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id D335B431FAE
\r
21 for <notmuch@notmuchmail.org>; Wed, 7 May 2014 05:07:45 -0700 (PDT)
\r
22 Received: by mail-wi0-f177.google.com with SMTP id f8so1182004wiw.16
\r
23 for <notmuch@notmuchmail.org>; Wed, 07 May 2014 05:07:44 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:subject:in-reply-to:references
\r
27 :user-agent:date:message-id:mime-version:content-type;
\r
28 bh=WQE4hsO1KjMYicvPjxHHb04RPcuSYEFc9ccd1I0d60g=;
\r
29 b=FWtDHAar2hnB0iX/6CRDJw5TaLpuZQEs2UEe2kYTGGpJppkcI2VHdPqqXojHoNm/uM
\r
30 kmXqMXuOS9Z/SSj6JVKv033Sphd0S5KAzAx4/ju0nsvGcJ69X2pyq2ONbxxurq3lEZLx
\r
31 lXE9yCuwuK9CrXKSQBvSNQjZXa3MrMW6Wmp9JW4v/OYaAemMjX/6avWtQtKizX/r3lym
\r
32 WGTG8U5IHCQeXkOyeucgjJBXl5j1IsD8Vz9xySqPAcmfq27qqGnqdFVnlXpPUtXIM2bd
\r
33 M3jlg9bARIMmIQ1apoOhLcTDrBh0I9CzvPuQGTiWFgPif0cezh/PjktL9qdVnFIt108i
\r
36 ALoCoQlkg0LxZoriwod0tuo7p0uL895Lnd2yBWLzIXQsUlOJPgSvH0ymUJcYga4HcrrRVY4ZolXy
\r
37 X-Received: by 10.180.92.69 with SMTP id ck5mr26165787wib.15.1399464464627;
\r
38 Wed, 07 May 2014 05:07:44 -0700 (PDT)
\r
39 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])
\r
40 by mx.google.com with ESMTPSA id
\r
41 mw4sm31220631wib.12.2014.05.07.05.07.42 for <multiple recipients>
\r
42 (version=TLSv1.1 cipher=RC4-SHA bits=128/128);
\r
43 Wed, 07 May 2014 05:07:43 -0700 (PDT)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: Rainer M Krug <Rainer@krugs.de>, notmuch@notmuchmail.org
\r
46 Subject: Re: GMAIL tag sync arriving in "next" branch in Offlineimap
\r
47 In-Reply-To: <m2wqdy3v1o.fsf@krugs.de>
\r
48 References: <m2wqdy3v1o.fsf@krugs.de>
\r
49 User-Agent: Notmuch/0.18~rc0+2~gbc64cdc (http://notmuchmail.org) Emacs/23.2.1
\r
50 (x86_64-pc-linux-gnu)
\r
51 Date: Wed, 07 May 2014 14:07:49 +0200
\r
52 Message-ID: <871tw5rduy.fsf@nikula.org>
\r
54 Content-Type: text/plain; charset=us-ascii
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Wed, 07 May 2014 12:07:54 -0000
\r
69 On Wed, 07 May 2014, Rainer M Krug <Rainer@krugs.de> wrote:
\r
70 > Recently, gmail tag sync was discussed here, and it seems something is
\r
71 > happening in Offlineimap: patches implementing synching of gmail tags to
\r
72 > X-Labels have been applied in the "next" branch and announced on the
\r
73 > Offline mailing list.
\r
75 https://github.com/OfflineIMAP/offlineimap/commit/0e4afa913253c43409e6a32a6b6e11e8b03ed3d9
\r
78 This is an example of a setup where GMail gets synced with a local
\r
79 Maildir. It also keeps track of GMail labels, that get embedded into the
\r
80 messages under the header X-Keywords (or whatever labelsheader is set
\r
81 to), and syncs them back and forth the same way as flags.
\r
83 The first time it runs on a large repository may take some time as the
\r
84 labels are read / embedded on every message. Afterwards local label
\r
85 changes are detected using modification times (much faster):
\r
88 Modification of message files as labels change? Ugh.
\r
90 I guess notmuch could read a user configurable header and apply the tags
\r
91 there, but notmuch modifying the message files is probably not going to
\r