filter for List-Id ?
Guyzmo
guyzmo+notmuch at m0g.net
Fri Sep 30 10:53:31 PDT 2016
Hi,
On Fri, Sep 30, 2016 at 02:00:50PM +0000, ng0 wrote:
> Ricardo told me:
> > Notmuch should be able to filter by list. With mu4e I match for
> > “list:bug-guix.gnu.org”. All emails to the bug-* lists contain a header
> > for “List-Id”, which you may be able to match on.
> ( https://lists.gnu.org/archive/html/help-guix/2016-09/msg00082.html )
to get around that issue, what I do is that I added an afew rule that
checks for the presence of `List-Id` and if there is, it's automagically
adding the `ml` tag.
Then when comes the time for searching, you can just select all mails
that has a to/cc of gnu.org and the tag ml (which will exclude your
direct correspondence with gnu members ☺).
You can also add the content of the List-Id as a tag, but that can be
dangerous… You never know what can of crazy 1000 characters thing you'll
get in a spam (because some spamlists are using the `List-Id:` header!)
HTH,
--
Guyzmo
More information about the notmuch
mailing list