From 0fca311ad00baea944a4499dc2977d9a6afe78b9 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 16 Aug 2015 11:39:34 +0200 Subject: [PATCH] Re: Enabling and disabling maildir.synchronize_flags --- 51/23267632e5ad5196a7aa865d1821c0b71eafce | 69 +++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 51/23267632e5ad5196a7aa865d1821c0b71eafce diff --git a/51/23267632e5ad5196a7aa865d1821c0b71eafce b/51/23267632e5ad5196a7aa865d1821c0b71eafce new file mode 100644 index 000000000..b2032b160 --- /dev/null +++ b/51/23267632e5ad5196a7aa865d1821c0b71eafce @@ -0,0 +1,69 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 8466D6DE021E + for ; Sun, 16 Aug 2015 02:40:37 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.125 +X-Spam-Level: +X-Spam-Status: No, score=0.125 tagged_above=-999 required=5 tests=[AWL=0.125] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id hD8_WOgfM3Ai for ; + Sun, 16 Aug 2015 02:40:35 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id 623AB6DE009A + for ; Sun, 16 Aug 2015 02:40:35 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) + id 1ZQuPr-0002EQ-I0; Sun, 16 Aug 2015 09:39:47 +0000 +Received: (nullmailer pid 26156 invoked by uid 1000); Sun, 16 Aug 2015 + 09:39:34 -0000 +From: David Bremner +To: David Mazieres expires 2015-09-29 PDT + , + notmuch@notmuchmail.org +Subject: Re: Enabling and disabling maildir.synchronize_flags +In-Reply-To: <87r3orbqfn.fsf@ta.scs.stanford.edu> +References: <87r3orbqfn.fsf@ta.scs.stanford.edu> +User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sun, 16 Aug 2015 11:39:34 +0200 +Message-ID: <87r3n3fu7d.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 16 Aug 2015 09:40:37 -0000 + +dm-list-email-notmuch@scs.stanford.edu writes: + +> It seems that disabling it should simply be safe. But re-enabling, one +> risks losing tags, as the next notmuch new will cause old maildir flags +> to override the xapian database. So that suggests something like: +> +> notmuch dump > backup +> notmuch config set maildir.synchronize_flags false +> # Do I need to run notmuch new here? +> notmuch restore < backup + +Hi David; + +Sorry about the long delay. I'm not sure I follow the connection between +your paragraph above and the the example. The example seems safe, but as +you say, disabling synching should bs safe anyway. + +d -- 2.26.2