Re: [notmuch] Notmuch doesn't index new mails when mail location contains symlinks
authorMikhail Gusarov <dottedmag@dottedmag.net>
Mon, 23 Nov 2009 15:11:07 +0000 (21:11 +0600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:41 +0000 (09:35 -0800)
04/c7ca678b723a696e78a3c9c0932424c7f0b934 [new file with mode: 0644]

diff --git a/04/c7ca678b723a696e78a3c9c0932424c7f0b934 b/04/c7ca678b723a696e78a3c9c0932424c7f0b934
new file mode 100644 (file)
index 0000000..dd139ec
--- /dev/null
@@ -0,0 +1,85 @@
+Return-Path: <dottedmag@dottedmag.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id CA0F6431FBF\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 07:11:17 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id quiTKws7ZXsZ for <notmuch@notmuchmail.org>;\r
+       Mon, 23 Nov 2009 07:11:17 -0800 (PST)\r
+Received: from dottedmag.net (burger.dottedmag.net [212.75.37.82])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1DB1F431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 07:11:17 -0800 (PST)\r
+Received: from vertex.dottedmag (unknown [91.197.127.125])\r
+       by dottedmag.net (Postfix) with ESMTPSA id 805778C979\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 16:11:15 +0100 (CET)\r
+Received: from dottedmag by vertex.dottedmag with local (Exim 4.69)\r
+       (envelope-from <dottedmag@dottedmag.net>) id 1NCaZI-00012o-0I\r
+       for notmuch@notmuchmail.org; Mon, 23 Nov 2009 21:11:08 +0600\r
+From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
+To: notmuch@notmuchmail.org\r
+References: <87ws1hldmu.fsf@thinkpad.tsdh.de>\r
+       <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag>\r
+       <876391l2si.fsf@thinkpad.tsdh.de> <87vdh1472z.fsf@59A2.org>\r
+Date: Mon, 23 Nov 2009 21:11:07 +0600\r
+In-Reply-To: <87vdh1472z.fsf@59A2.org> (Jed Brown's message of "Mon, 23 Nov\r
+       2009 16:03:00 +0100")\r
+Message-ID: <876391jmyc.fsf@vertex.dottedmag>\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location\r
+       contains symlinks\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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, 23 Nov 2009 15:11:18 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+\r
+Twas brillig at 16:03:00 23.11.2009 UTC+01 when jed@59A2.org did gyre and g=\r
+imble:\r
+\r
+ JB> The real solution is for notmuch to check mtime of whatever the\r
+ JB> symlink's target.\r
+\r
+It does exactly this AFACT, stat() everywhere, not lstat().\r
+\r
+=2D-=20\r
+  http://fossarchy.blogspot.com/\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.9 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJLCqYLAAoJEJ0g9lA+M4iIw24P/14Dne78CrVt3mBBsFkKQM8S\r
+kqlnUQTs3fNbhVYUorgfIAzbVqyGayCdyq3DA4y12OV4rHHjgrqnB+59rFCV0DM6\r
+5bQTyVWOwtbbODJW1d7LkMRB98ZAx9RJxcpmXO83wEjYo2AdWpFEYgzRqyJw8/19\r
+RMBLuMW8j2k+baks3u3oXcrhwjwhPcSzoE1zODZx5pawzbbANYhD0sXiNtGNtHSf\r
+cAk44aYlOSxSwpKc/u9J/cVUy0jjmgvdTGKac54conlNxt7z6Udk5F1BMHtrAgoH\r
+P1x58thbZwgDXFshZbVcDfz72Tnlvg4XGWurwgI8hz6babkWaBoNOAj9V9Dh2ByS\r
+yr7/N1VwG9n+tqLi9EJXVpcYj/fQxJnFpCKE8rv7o2B8p0TUb/Fk7bd9tppqmoOI\r
+2yRw0wR8B5Qm9JP7P41XBSODFaGcwMbrQU/6PKBadh6n9a3bRcew3Qvg+vYnnMHz\r
+dfVRE++871iUeoZw+7hSL4Zza4xB7/4rES0xCgChR7pdgr+vLzFVCVpfD7kg53xE\r
+Yw/uGKnksrlFOOaOFNb9njKW2ZNQaIoLZ7+bKSN0dWYSHwrXYSIou4r7fvxaRDcq\r
+et5tS+4Mj609sERLN9OSZrD3MN8eKNbQ+wplUY8RbljMGC8Q3EMtGvsR9xctYKF+\r
+CyelPwDlk2J4m8h7xqGL\r
+=2JpW\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r