From: Andrei POPESCU <andreimpopescu@gmail.com>
To: notmuch@notmuchmail.org
Subject: Handling of symlinked maildirs?
Date: Mon, 2 Apr 2012 14:28:28 +0300 [thread overview]
Message-ID: <20120402112828.GW21443@sid.nuvreauspam> (raw)
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
Hi,
Im sorting my mailing lists with generic maildrop rules like this one:
if (/^List-Id:.*<debian-(.*)\.lists.debian.org>/)
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?
On a somewhat related note, unless I'm missing something, notmuch is
currently indexing only a few header fields, not including List-Id, and
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
sorting (just drop all mail in one folder) and use something like
'list-id: debian-devel' instead.
Yes, I'm aware that one could work around it by using To:/Cc:, but I'd
like to distinguish between messages received via the mailing list or
directly to my private address, otherwise I'd be using Gmail for
everything anyway :)
[1] this also causes mutt-notmuch to generate a lot of errors when it
tries to symlink the same message twice to the cache maildir.
Kind regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
next reply other threads:[~2012-04-02 11:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 11:28 Andrei POPESCU [this message]
2012-04-02 16:02 ` Handling of symlinked maildirs? Svend Sorensen
2012-04-02 17:54 ` Jameson Graef Rollins
2012-04-03 20:35 ` Mark Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120402112828.GW21443@sid.nuvreauspam \
--to=andreimpopescu@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).