2 <return-89jkrcvjdst4i9qi4ujszs8hcs@temporary-address.scs.stanford.edu>
\r
3 X-Original-To: notmuch@notmuchmail.org
\r
4 Delivered-To: notmuch@notmuchmail.org
\r
5 Received: from localhost (localhost [127.0.0.1])
\r
6 by arlo.cworth.org (Postfix) with ESMTP id EDAE26DE09FB
\r
7 for <notmuch@notmuchmail.org>; Wed, 1 Jul 2015 13:11:20 -0700 (PDT)
\r
8 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
10 X-Spam-Score: -1.978
\r
12 X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[AWL=0.873,
\r
13 RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001]
\r
15 Received: from arlo.cworth.org ([127.0.0.1])
\r
16 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id 7QMBgpTq7GXr for <notmuch@notmuchmail.org>;
\r
18 Wed, 1 Jul 2015 13:11:18 -0700 (PDT)
\r
19 X-Greylist: delayed 759 seconds by postgrey-1.35 at arlo;
\r
20 Wed, 01 Jul 2015 13:11:18 PDT
\r
21 Received: from market.scs.stanford.edu (market.scs.stanford.edu [171.66.3.10])
\r
22 by arlo.cworth.org (Postfix) with ESMTPS id 6E65F6DE0924
\r
23 for <notmuch@notmuchmail.org>; Wed, 1 Jul 2015 13:11:18 -0700 (PDT)
\r
24 Received: from market.scs.stanford.edu (localhost.scs.stanford.edu
\r
25 [127.0.0.1]) by market.scs.stanford.edu (8.14.7/8.14.7) with ESMTP id
\r
26 t61JwbqZ015059 for <notmuch@notmuchmail.org>; Wed, 1 Jul 2015 12:58:37 -0700
\r
28 Received: (from dm@localhost)
\r
29 by market.scs.stanford.edu (8.14.7/8.14.7/Submit) id t61Jwa6v031095;
\r
30 Wed, 1 Jul 2015 12:58:36 -0700 (PDT)
\r
31 X-Authentication-Warning: market.scs.stanford.edu: dm set sender to
\r
32 return-89jkrcvjdst4i9qi4ujszs8hcs@ta.scs.stanford.edu using -f
\r
33 From: dm-list-email-notmuch@scs.stanford.edu
\r
34 To: notmuch@notmuchmail.org
\r
35 Subject: Enabling and disabling maildir.synchronize_flags
\r
36 Reply-To: David Mazieres expires 2015-09-29 PDT
\r
37 <mazieres-n9pds38v5xanvju7995wf543cw@temporary-address.scs.stanford.edu>
\r
38 Date: Wed, 01 Jul 2015 12:58:36 -0700
\r
39 Message-ID: <87r3orbqfn.fsf@ta.scs.stanford.edu>
\r
41 Content-Type: text/plain
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.18
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Wed, 01 Jul 2015 20:11:21 -0000
\r
56 Sorry if this question is answered somewhere, but I'm wondering: What
\r
57 is the best way to enable and disable maildir.synchronize_flags?
\r
59 It seems that disabling it should simply be safe. But re-enabling, one
\r
60 risks losing tags, as the next notmuch new will cause old maildir flags
\r
61 to override the xapian database. So that suggests something like:
\r
63 notmuch dump > backup
\r
64 notmuch config set maildir.synchronize_flags false
\r
65 # Do I need to run notmuch new here?
\r
66 notmuch restore < backup
\r
68 Is that safe? The man page suggests one additionally need to run
\r
69 notmuch new before running notmuch restore. All of this is pretty slow.
\r
70 Is there a more efficient way?
\r
72 A one or two sentence clarification in the notmuch-config man page might
\r
73 be helpful to people contemplating playing with this switch. The
\r
74 default is on, to I suspect it costs a lot of performance. I've been
\r
75 afraid to turn it off for fear that I won't be able to undo this
\r