purebred-mua / purebred

A terminal based mail user agent based on notmuch
GNU Affero General Public License v3.0
139 stars 19 forks source link

Filtering on arbitrary headers #6

Open romanofski opened 7 years ago

romanofski commented 7 years ago

This might be not something for a client, but rather for notmuch as a patch itself. But I thought we better track it.

The corresponding notmuch feature request is here: https://www.mail-archive.com/notmuch@notmuchmail.org/msg44527.html

frasertweedale commented 7 years ago

Nice to have. Remember that notmuch tagging hooks can tag messages according to such properties.

romanofski commented 7 years ago

Oh really? Maybe this is not an issue at all? So you can match on X- headers and tag accordingly?

frasertweedale commented 7 years ago

On Wed, Jul 19, 2017 at 12:50:15AM +0000, Roman Joost wrote:

Oh really? Maybe this is not an issue at all? So you can match on X- headers and tag accordingly?

Yeah. But it's an extra thing the user must configure, up front. I still think it would be nice to have the option to filter on arbitrary headers post-facto, even if it means nm has to build a custom index. But we depend on nm implementing that.

Given the existing workaround I don't think we need to make this a baseline feature.