Re: Handling of symlinked maildirs?
authorMark Anderson <MarkR.Anderson@amd.com>
Tue, 3 Apr 2012 20:35:17 +0000 (14:35 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:02 +0000 (09:46 -0800)
db/00900890fc54b9b20e7af7784e6551fcf63595 [new file with mode: 0644]

diff --git a/db/00900890fc54b9b20e7af7784e6551fcf63595 b/db/00900890fc54b9b20e7af7784e6551fcf63595
new file mode 100644 (file)
index 0000000..43dc0c7
--- /dev/null
@@ -0,0 +1,134 @@
+Return-Path: <MarkR.Anderson@amd.com>\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 BD13C431FB6\r
+       for <notmuch@notmuchmail.org>; Tue,  3 Apr 2012 13:35:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\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 1zyDiFHUHZof for <notmuch@notmuchmail.org>;\r
+       Tue,  3 Apr 2012 13:35:34 -0700 (PDT)\r
+Received: from tx2outboundpool.messaging.microsoft.com\r
+       (tx2ehsobe001.messaging.microsoft.com [65.55.88.11])\r
+       (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id EBB0F431FAE\r
+       for <notmuch@notmuchmail.org>; Tue,  3 Apr 2012 13:35:33 -0700 (PDT)\r
+Received: from mail122-tx2-R.bigfish.com (10.9.14.241) by\r
+       TX2EHSOBE001.bigfish.com (10.9.40.21) with Microsoft SMTP Server id\r
+       14.1.225.23; Tue, 3 Apr 2012 20:35:32 +0000\r
+Received: from mail122-tx2 (localhost [127.0.0.1])     by\r
+       mail122-tx2-R.bigfish.com (Postfix) with ESMTP id F36DB2E027D;\r
+       Tue,  3 Apr 2012 20:35:31 +0000 (UTC)\r
+X-SpamScore: -10\r
+X-BigFish:\r
+ VPS-10(zz1432N98dK4015Izz1202hzz8275ch8275bh8275dhz2dh668h839h944hd24h)\r
+X-Forefront-Antispam-Report: CIP:163.181.249.109; KIP:(null); UIP:(null);\r
+       IPV:NLI; H:ausb3twp02.amd.com; RD:none; EFVD:NLI\r
+Received: from mail122-tx2 (localhost.localdomain [127.0.0.1]) by mail122-tx2\r
+       (MessageSwitch) id 1333485328588402_5855;\r
+       Tue,  3 Apr 2012 20:35:28 +0000 (UTC)\r
+Received: from TX2EHSMHS025.bigfish.com (unknown [10.9.14.235])        by\r
+       mail122-tx2.bigfish.com (Postfix) with ESMTP id 7E85F3A0059;\r
+       Tue,  3 Apr 2012 20:35:28 +0000 (UTC)\r
+Received: from ausb3twp02.amd.com (163.181.249.109) by\r
+       TX2EHSMHS025.bigfish.com (10.9.99.125) with Microsoft SMTP Server id\r
+       14.1.225.23; Tue, 3 Apr 2012 20:35:27 +0000\r
+X-WSS-ID: 0M1X7UZ-02-98H-02\r
+X-M-MSG: \r
+Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com\r
+       [163.181.249.72])       (using TLSv1 with cipher AES128-SHA (128/128\r
+       bits))  (No\r
+       client certificate requested)   by ausb3twp02.amd.com (Axway MailGate\r
+       3.8.1)\r
+       with ESMTP id 2EAD8C808A;       Tue,  3 Apr 2012 15:35:22 -0500 (CDT)\r
+Received: from sausexhtp02.amd.com (163.181.3.152) by sausexedgep01.amd.com\r
+       (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.192.1;\r
+       Tue, 3 Apr 2012 15:35:35 -0500\r
+Received: from adcvmail01.amd.com (163.181.21.78) by sausexhtp02.amd.com\r
+       (163.181.3.152) with Microsoft SMTP Server (TLS) id 8.3.213.0;\r
+       Tue, 3 Apr 2012 15:35:26 -0500\r
+Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147])  by\r
+       adcvmail01.amd.com (8.13.8/8.13.8) with ESMTP id q33KZPOq020396;\r
+       Tue, 3 Apr 2012 15:35:25 -0500\r
+Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44])        by\r
+       mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id q33KZNS4024686;\r
+       Tue, 3 Apr 2012 14:35:23 -0600 (MDT)\r
+Received: (from manderso@localhost)    by testarossa.amd.com\r
+       (8.13.8/8.13.8/Submit) id q33KZHnZ023200; Tue, 3 Apr 2012 14:35:17 -0600\r
+X-Authentication-Warning: testarossa.amd.com: manderso set sender to\r
+       MarkR.Anderson@amd.com using -f\r
+From: Mark Anderson <MarkR.Anderson@amd.com>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>, Andrei POPESCU\r
+       <andreimpopescu@gmail.com>, <notmuch@notmuchmail.org>\r
+Subject: Re: Handling of symlinked maildirs?\r
+In-Reply-To: <87sjgm3tp3.fsf@servo.finestructure.net>\r
+References: <20120402112828.GW21443@sid.nuvreauspam>\r
+       <87sjgm3tp3.fsf@servo.finestructure.net>\r
+User-Agent: Notmuch/0.11.1+251~g1093c24 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i686-pc-linux-gnu)\r
+Date: Tue, 3 Apr 2012 14:35:17 -0600\r
+Message-ID: <3wdaa2swo3e.fsf@testarossa.amd.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset="us-ascii"\r
+X-OriginatorOrg: amd.com\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Tue, 03 Apr 2012 20:35:34 -0000\r
+\r
+On Mon, 2 Apr 2012 10:54:48 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+> On Mon, Apr 02 2012, Andrei POPESCU <andreimpopescu@gmail.com> wrote:\r
+> > Im sorting my mailing lists with generic maildrop rules like this one:\r
+> >\r
+> >     if (/^List-Id:.*<debian-(.*)\.lists.debian.org>/)\r
+> >         to Maildir/.debian.$MATCH1/\r
+> >\r
+> > However, I'm subscribed to a *lot* of mailing lists and in order to keep \r
+> > my folder view sane I use symlinks to conflate some of them, e.g. \r
+> >\r
+> > .debian.devel-announce -> .debian.devel\r
+> >\r
+> > This works well since mutt simply ignores the symlink(s) so I don't even \r
+> > need to exclude them in the config, but it seems that notmuch does index \r
+> > each of the symlinks as a separate folder[1].\r
+> >\r
+> > Does it make sense to have this configurable or even completely exclude \r
+> > the symlinks?\r
+> \r
+> Hey, Andrei.  I would say that if you have a compelling reason that\r
+> notmuch should be able to ignore symlinked directories then it maybe\r
+> makes sense to have it configurable.  However, I must say that I have\r
+> completely dropped the whole folder concept myself since I find it\r
+> totally redundant with notmuch's tagging and searching capabilities.\r
+\r
+Please don't exclude the indexing of symlinks in notmuch.  I have a\r
+fairly restricted IT environment at work, where I have chosen to symlink\r
+all my maildirs to other disks so that they appear in my home directory\r
+but do not fill my home disk quota every day.  Often my different\r
+maildirs are to make my non-notmuch mail viewing slightly tolerable.\r
+\r
+There was a configuration option (new.ignore) added to 0.12 that lets\r
+one specify names of things not to index. That may be enough to do what\r
+you want, although not as automatic as just pitching all symlinks while\r
+indexing.\r
+\r
+Thanks,\r
+\r
+-Mark\r
+\r