Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / a5 / 8f87f458df9e1fafc27ec6206896be2b26c0c1
1 Return-Path: <five9a2@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id B70BA431FBF\r
6         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 07:02:32 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 9OrubqNU9PgF for <notmuch@notmuchmail.org>;\r
11         Mon, 23 Nov 2009 07:02:32 -0800 (PST)\r
12 Received: from mail-bw0-f210.google.com (mail-bw0-f210.google.com\r
13         [209.85.218.210])\r
14         by olra.theworths.org (Postfix) with ESMTP id DDDBC431FAE\r
15         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 07:02:31 -0800 (PST)\r
16 Received: by bwz2 with SMTP id 2so5315709bwz.0\r
17         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 07:02:30 -0800 (PST)\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
19         h=domainkey-signature:received:received:sender:from:to:cc:subject\r
20         :in-reply-to:references:date:message-id:mime-version:content-type;\r
21         bh=MRhkMd4enYkDgVHoyGVPvkGf7JK6gtMHHUGb9Gnn508=;\r
22         b=Y8YNrOMUflsk/DaaU/7PakJOoYYIhD52751CV1yxsmyZV4uOeBDf3UMx6ruSuQg5n1\r
23         tA/ldE79BRahCfwq+t3Wq7y+aphXd40+tCBWDHe1rV2NUaedjklaa2GmqdmR7VNRgA+B\r
24         cHP7UcOXlYuGEV6qx/6d8MOmn0uP6/maUFpIM=\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
26         h=sender:from:to:cc:subject:in-reply-to:references:date:message-id\r
27         :mime-version:content-type;\r
28         b=aHHT/GOPjJgQDnGZuntXJXCF31w3w8UQw2ldb5liHOvvqC/H0qLAiq6ZzVo+H3S3h3\r
29         H2jXqLMcmLgx86P6e1ZTHGDpOsaM0mG3c+TnwsMC4cZoSv+lJhbTlUgX4kqCYOnX7Me0\r
30         TBcWH6XSpRugFyQYREweHDb5F2Rlts8jUSARo=\r
31 Received: by 10.204.10.2 with SMTP id n2mr4668027bkn.91.1258988550061;\r
32         Mon, 23 Nov 2009 07:02:30 -0800 (PST)\r
33 Received: from kunyang (vawpc43.ethz.ch [129.132.59.11])\r
34         by mx.google.com with ESMTPS id 18sm5823228fks.4.2009.11.23.07.02.28\r
35         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
36         Mon, 23 Nov 2009 07:02:29 -0800 (PST)\r
37 Sender: Jed Brown <five9a2@gmail.com>\r
38 From: Jed Brown <jed@59A2.org>\r
39 To: Tassilo Horn <tassilo@member.fsf.org>, Mikhail Gusarov\r
40         <dottedmag@dottedmag.net>\r
41 In-Reply-To: <876391l2si.fsf@thinkpad.tsdh.de>\r
42 References: <87ws1hldmu.fsf@thinkpad.tsdh.de>\r
43         <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag>\r
44         <876391l2si.fsf@thinkpad.tsdh.de>\r
45 Date: Mon, 23 Nov 2009 16:03:00 +0100\r
46 Message-ID: <87vdh1472z.fsf@59A2.org>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 Cc: notmuch@notmuchmail.org\r
50 Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location\r
51  contains symlinks\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.12\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Mon, 23 Nov 2009 15:02:32 -0000\r
65 \r
66 On Mon, 23 Nov 2009 15:43:41 +0100, Tassilo Horn <tassilo@member.fsf.org> wrote:\r
67 > First, I only touched the two symlinks.\r
68 \r
69 Unfortunately, this actually touched the file pointed to by the symlink,\r
70 if you stat the symlink you will see that mtime did not change.\r
71 \r
72 > This didn't help.  Then I used\r
73 > "find . -type d | xargs touch" to touch all directories inside the\r
74 > directories the symlinks point to.\r
75 \r
76 Actually, this would not have followed the symlinks so it does the same\r
77 thing as before.  I think it is actually hard (or not possible) to\r
78 change mtime on symlinks under Linux.\r
79 \r
80 > But still no luck.  Finally, I deleted the symlinks and created them\r
81 > anew, and then it indexed the 12 new mails that arrived in the\r
82 > meantime.\r
83 \r
84 If /var is on the same filesystem, you could use hard links instead of\r
85 symlinks.  Otherwise I would just add the appropriate ln -sf in the hook\r
86 before notmuch new.\r
87 \r
88 The real solution is for notmuch to check mtime of whatever the\r
89 symlink's target.\r
90 \r
91 Jed\r