unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Handling of symlinked maildirs?
@ 2012-04-02 11:28 Andrei POPESCU
  2012-04-02 16:02 ` Svend Sorensen
  2012-04-02 17:54 ` Jameson Graef Rollins
  0 siblings, 2 replies; 4+ messages in thread
From: Andrei POPESCU @ 2012-04-02 11:28 UTC (permalink / raw)
  To: notmuch

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-03 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 11:28 Handling of symlinked maildirs? Andrei POPESCU
2012-04-02 16:02 ` Svend Sorensen
2012-04-02 17:54 ` Jameson Graef Rollins
2012-04-03 20:35   ` Mark Anderson

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).