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 D04CB431FC2 for ; Mon, 2 Apr 2012 04:28:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 9OyMJ6tSmuyX for ; Mon, 2 Apr 2012 04:28:36 -0700 (PDT) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 107BB431FC0 for ; Mon, 2 Apr 2012 04:28:35 -0700 (PDT) Received: by wgbds10 with SMTP id ds10so2102612wgb.2 for ; Mon, 02 Apr 2012 04:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=BHOjsGQLhOzXYCiwsI61uDFZRbTSd1ZL2GkDc1KPHFY=; b=J4cl8YH8YiJQuE1/xf3u13Fph5tUFz1szBLF4xsM3gu42Hi/w2eFYx8hffJO8x0rXl v4TPVsYLD/69pjuuBypPABlko58zN+tjWHOeZkKMboSYmhozNXffhGE4kp+j5wL/ShJf lu+4wS/eyIMpXQ+eCiMnChTNKEWjRFQnIzvSAynJEdLKviOQXNyE5UxVb/MPObBi87Vh sDo3K9igSipSO39diVGAb7k6N2YwBhM75OU29VTIvHrsqsTu4DC9GTlpKT+n1Fqc9LEi EilV9PftzQLzwQKmFuN26svrxV1B7eQnhW3/q61KNUt7Mb3cMvPuJeiO5wDfzI0/z1re IJkg== Received: by 10.180.103.35 with SMTP id ft3mr24082019wib.0.1333366113375; Mon, 02 Apr 2012 04:28:33 -0700 (PDT) Received: from sid.nuvreauspam ([92.86.142.199]) by mx.google.com with ESMTPS id ex2sm54076255wib.8.2012.04.02.04.28.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Apr 2012 04:28:31 -0700 (PDT) Received: by sid.nuvreauspam (Postfix, from userid 1077) id C3417C0353; Mon, 2 Apr 2012 14:28:28 +0300 (EEST) Date: Mon, 2 Apr 2012 14:28:28 +0300 From: Andrei POPESCU To: notmuch@notmuchmail.org Subject: Handling of symlinked maildirs? Message-ID: <20120402112828.GW21443@sid.nuvreauspam> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K5roPakIqCb4O6y8" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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: Mon, 02 Apr 2012 11:28:37 -0000 --K5roPakIqCb4O6y8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, 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=20 my folder view sane I use symlinks to conflate some of them, e.g.=20 =2Edebian.devel-announce -> .debian.devel This works well since mutt simply ignores the symlink(s) so I don't even=20 need to exclude them in the config, but it seems that notmuch does index=20 each of the symlinks as a separate folder[1]. Does it make sense to have this configurable or even completely exclude=20 the symlinks? On a somewhat related note, unless I'm missing something, notmuch is=20 currently indexing only a few header fields, not including List-Id, and=20 there is no way to add custom fields. Am I correct? The reason I'm asking is that in theory one could completely drop any=20 sorting (just drop all mail in one folder) and use something like=20 'list-id: debian-devel' instead. Yes, I'm aware that one could work around it by using To:/Cc:, but I'd=20 like to distinguish between messages received via the mailing list or=20 directly to my private address, otherwise I'd be using Gmail for=20 everything anyway :) [1] this also causes mutt-notmuch to generate a lot of errors when it=20 tries to symlink the same message twice to the cache maildir. Kind regards, Andrei --=20 If you can't explain it simply, you don't understand it well enough. (Albert Einstein) --K5roPakIqCb4O6y8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBCAAGBQJPeY1cAAoJEHNWs3jeoi3pxpMH/25ZJtDN0f8v1t8toDUjn1HN +qn6ICj2tqOTMQczS/pxpSUl3Bkt6i3RZQLi/cGjLeX5Pf06b/io3y+XImmo8aHQ Cjag+AFuaiQ481gQEdIX2qQPaQGUH6R5pGhXtzVS3N+qQBCZouR9Rw0iuoh9qKEE Kh5DLxGsRwLbLxF/5z6GndAyOoObNaOWE4MAbc1TD/5Oftef0LLoUqjAH7fFkbV4 OthodEGvHlhttREluiQihtSmRyYIS3mlWTD8qVYDhluoGq9AZRUXJAYZjux0Kr3Q 0c+P2Bfr0SRB9UjXRnoTy87LSoKj6AYqAs+SCPTq+oCVy9tAULEynr4zaPczYE4= =VyXw -----END PGP SIGNATURE----- --K5roPakIqCb4O6y8--