--- /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 883B76DE0B2F\r
+ for <notmuch@notmuchmail.org>; Mon, 31 Aug 2015 15:12:07 -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 94jO1D0DDhSp for <notmuch@notmuchmail.org>;\r
+ Mon, 31 Aug 2015 15:12:05 -0700 (PDT)\r
+Received: from jim.zolnowski.name (jim.zolnowski.name [188.116.54.122])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 350D56DE0AC2\r
+ for <notmuch@notmuchmail.org>; Mon, 31 Aug 2015 15:12:04 -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:Cc:To:From; bh=aDO7dReSQDu2iTro2mwMZ5Xl0dYdXii40zzBeuntzv0=;\r
+ b=hH8ahgdx3YhfFwzLFwLEvOh5Uh3qjjXHl1Eu4NdcHJ1wAu2oR8PPb5MtIDe0GJiAhWnfFx/hVp4+FFVpyMDoH9ppPSrJfpzmtxKwdbkfRSy9GKozIa1cdPCu8aqDMFNmqBx2PjNSI04FhVMrOH3MSOqKexYyhqTCHEUA/7J8/b9OioY6KvgHYxpIhGEotMgwqzvnOQiVHn+oxJehlrtrNHo6Gh3Umfftisp6AzlilgY5O3NjvZckVnZo8pb/Ejy5eB4CGVruZgzX2tSInpa/K5EqqWQMWQNVcqJCKi1Wm5GrX9S8MyJN2vyabVQQ83Jr9eVLLD4Y3aidSyGOqAVCNg==;\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 1ZWXIz-0003w4-RX; Tue, 01 Sep 2015 00:11:58 +0200\r
+From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= <aidecoe@aidecoe.name>\r
+To: David Mazieres expires 2015-11-29 PST\r
+ <mazieres-27wj757hqhcqs9vy6uqq3div7e@temporary-address.scs.stanford.edu>\r
+Subject: Re: muchsync files renames\r
+In-Reply-To: <87oahnmkqf.fsf@ta.scs.stanford.edu>\r
+References: <878u93ujdo.fsf@freja.aidecoe.name>\r
+ <876146o920.fsf@ta.scs.stanford.edu> <871teu8kdd.fsf@freja.aidecoe.name>\r
+ <87oahxojlv.fsf@ta.scs.stanford.edu> <87vbbwnbb4.fsf@freja.aidecoe.name>\r
+ <87io7wr50y.fsf@ta.scs.stanford.edu> <87k2sbmzww.fsf@freja.aidecoe.name>\r
+ <87oahnmkqf.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: Mon, 31 Aug 2015 23:11:43 +0100\r
+Message-ID: <87egijm7kw.fsf@freja.aidecoe.name>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha512; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\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: Mon, 31 Aug 2015 22:12:07 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi David,\r
+\r
+dm-list-email-notmuch@scs.stanford.edu writes:\r
+> The one thing I'm still unclear on is whether afew is running on the\r
+> client of the server.\r
+\r
+It is run as a post-hook, i.e. after "notmuch new", so it's on the\r
+server.\r
+\r
+> I guess the other option is that your maildir.synchronize_flags false\r
+> on the server and true on the client.\r
+\r
+Both have this set to true.\r
+\r
+> If you are running it on the server, then somehow afew must not be\r
+> respecting the maildir.synchronize_flags setting. Otherwise, the file\r
+> should already be moved to the cur directory after having the unread\r
+> tag stripped off on the server.\r
+\r
+Not necessarily. The recommended setup of notmuch for afew is that\r
+"notmuch new" tags messages with "new" tag only. Then afew processes all\r
+messages with "new" tag. So if it is a spam, then it gets "new" removed\r
+and "spam" added. A spam message at any time doesn't have "unread" tag\r
+assigned which should explain this behaviour. So the problem is to be\r
+fixed on the afew side.\r
+\r
+Once again thank you for helping with tracking down the issue.\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
+iQJ8BAEBCgBmBQJV5NEfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD\r
+QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcE7m0P/A1VeqCQBH186//a3bwD5xUG\r
+jUEND+e/KKsmsYt9v7esJyCLyyghPQge1Nbn9NLrxRy8W3NjVR8cev/xZ/2p1TQe\r
+eNgUZcuzAwaSe7UQzh+wjVw2rQid7UguB8jwgVK52UbglAl/5uA6DB1SFtsuMU+t\r
+SDzW9uw+ToiJx+i+Bhpc5agahDn0gC3+7vRsJ9wFQ0Bo5kk6fYaloFMEmdJ843vm\r
+9MaYBIN01f/wcJO27Lp66qzrK8gmapQhRp4hIuW2yKK/Db4ZkIfAkCJ50E2WgGVJ\r
+cHcmcuA58uezpwRRR9NJq0VsqzaEodcq1//FZc0tDeLylf71Dm+9Lx7+wntUtpiG\r
+ebyGRmy38HD3cHNOb0blFUQkbi5RFgo//hPKeJV6xUojbIptSQg93fKGZlxnABRs\r
+ebv4PyTU6zJFx3pgzD5FFYvTgAgkiWFewGgfBDwi8Igt01M18snETVkF6E5+FhBc\r
+8wpasaoLfdQ5ZWjQ4nBdoIlvHiiRUKkIsrk9GEgZ3zFQZTc7CrJ8Du+xdhsCaROY\r
+H2kOXGKuhml23nbJEpK7Tca1XROyyuoBwVA/zvjA1mfzZZHejxNoykixhx0n+rfI\r
+OS2SUavuiex5vGrQk80OOYnSn02GSwef8JaBdqZ4d6W4MMCiFhtsegkwv+rk8DnY\r
+qI1L07U2FdMOUclfdnzb\r
+=XNKo\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r