--- /dev/null
+Return-Path: <aidecoe@aidecoe.name>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id AE6596DE1B1D\r
+ for <notmuch@notmuchmail.org>; Sun, 23 Aug 2015 01:44:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.004\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.004 tagged_above=-999 required=5 tests=[AWL=0.097,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id IlZLGS_xrq-f for <notmuch@notmuchmail.org>;\r
+ Sun, 23 Aug 2015 01:44:32 -0700 (PDT)\r
+Received: from jim.zolnowski.name (jim.zolnowski.name [188.116.54.122])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 3D5E46DE13A8\r
+ for <notmuch@notmuchmail.org>; Sun, 23 Aug 2015 01:44:31 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\r
+ d=aidecoe.name; s=jim;\r
+ h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:To:From; bh=814X5dG6Q8q5nE8DZvZ0S0Udy6gRw32mTV7AOG6UByw=;\r
+ b=l6W+FxTfGkxSyAsVFy3AhWi4AD3Ka70C6Mvz5c0YKT/IAu/rf70LVRVuK0G+0rw1X4O4nL150yN5M33JdB18kVuk/L7SDlCFP0yGPSJ6y0lmdJG8uIcYIEM3XXSvdPisFiCvhZ+x121xk6+2Q4qeDh8SSyqsMznNOXZuZDYP6faswx60yDdlDLSidYG3JS86QNWX535wQlDqfuy0AmRT90lL1xG8qkHmIcFRP6f85JYsYV9DK9cw2v8U0r5Vati1KTryOiNEuGHky+q7bbTZ5kedZ/CeQkJnSi3majGR8XGkBMMzgrb85WQSu/AW66YFdaFE9urZM1GfjneCSIxn8g==;\r
+Received: from cpc3-cmbg17-2-0-cust294.5-4.cable.virginm.net ([86.22.65.39]\r
+ helo=localhost)\r
+ by jim.zolnowski.name with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)\r
+ (Exim 4.85) (envelope-from <aidecoe@aidecoe.name>)\r
+ id 1ZTQt8-00016H-L7\r
+ for notmuch@notmuchmail.org; Sun, 23 Aug 2015 10:44:27 +0200\r
+From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= <aidecoe@aidecoe.name>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: muchsync files renames\r
+In-Reply-To: <876146o920.fsf@ta.scs.stanford.edu>\r
+References: <878u93ujdo.fsf@freja.aidecoe.name>\r
+ <876146o920.fsf@ta.scs.stanford.edu>\r
+User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sun, 23 Aug 2015 09:44:14 +0100\r
+Message-ID: <871teu8kdd.fsf@freja.aidecoe.name>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha512; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 23 Aug 2015 08:44:34 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi David,\r
+\r
+Fist of all thank you for such elaborate answer.\r
+\r
+I have missed the paragraph about maildir.synchronize_flags somehow. I\r
+have it enabled. So this must be source of a problem (?).\r
+\r
+Here follows steps I followed:\r
+\r
+1. I initialized server locally with muchsync -vv. My mail is stored in\r
+~/Mail on the server.\r
+2. I run muchsync --init ~/mail SERVER. (Directory names do not need to\r
+be the same, do they?)\r
+3. I run muchsync SERVER.\r
+4. When it lasted much longer then initialization I canceled it by\r
+single SIGINT (^c).\r
+5. I rerun muchsync SERVER and then it notified me that notmuch\r
+identified files names changes - more than 1000.\r
+6. I waited a bit and then I canceled it by SIGINT.\r
+7. I run muchsync --noup SERVER. This took only seconds to finish.\r
+\r
+I suspected that muchsync at step 3 and 5 tried to push files renames\r
+back to server. But now I am not sure what was going on. Have I\r
+desynchronized file mail flags? It's hard to say if anything has broken\r
+for me, but I am a bit worried anyway.\r
+\r
+If I just disable maildir.synchronize_flags and rerun muchsync, will\r
+everything get synchronized properly?\r
+\r
+\r
+=2D-=20\r
+Amadeusz =C5=BBo=C5=82nowski\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.1\r
+\r
+iQJ8BAEBCgBmBQJV2YfeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD\r
+QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcEMnAP/RtSkvqNEcP7/BioEBr2FDFt\r
+KiXBioE/mE/WfMy7txbsjMr0cXQ4yKpFsQwWgeZucvlw2ee/R2St4hu+SZcBAuPm\r
+mC15vMSwq/6YjONNBY9nL7qCkIJIqKnDWB1obMNhDQY1B8Ile4r5EDK/V9RgfoTT\r
+TcYsKmwMNXyh6tCelSecew5rsmeJOqtNrZnsfZiuXWWHuL+y4Ph0iGKyydlfMbi6\r
+O0cTkQwqQFLhrkXt/lCqxHR/bnOgEDBpdgB05So4cEFIRETLDrUz9aCECCtdFh8Q\r
+oefGpUmiLkXMaijz0sU1gf4T8ztKoiIafQx/cr5TztzodlSi8sLqwSvaKFX/fkmZ\r
+YfXObtciJqXJEjhqp925AedJCrzu5SWrjJwHOYQkj6OOC8ROhh3wpIg29l+VB4cQ\r
+ucvPTtJfYyfcKCZv/yIR146bZ9at6fQsMRaVeHIMXdDVPKSyj9r4+GAbb/DtyHbn\r
++7Xyw7K4g56N8t9lT/P5k4wdpzOHBmSZp62ufYwY1hDv8wZFrNHduFE7PTAg+3p4\r
+t8XyNvnU3fzeE4M/YEt08UT1NJiP9/sw0qs5RsR2iteJY+bjoTfeayo1FtH+AajR\r
+p7LijQ0JKvq7jfsK7r5D5veOYtjm8dw7FSaE054b6SBTywn9FVrTvYrgAgTG8ZAb\r
+6PDfJmOLgkryC/bx2J3Y\r
+=0lvv\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r