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