unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* filter for List-Id ?
@ 2016-09-30 14:00 ng0
  2016-09-30 14:51 ` Jani Nikula
  2016-09-30 17:53 ` Guyzmo
  0 siblings, 2 replies; 4+ messages in thread
From: ng0 @ 2016-09-30 14:00 UTC (permalink / raw)
  To: notmuch

Hello,

I have a problem with filtering/tagging debbugs on gnu.org.

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 )


However reading `info notmuch-search-terms(7)' and trying to just search
for list:bug-guix.gnu.org or without the list: prefix, not much turns up
as result (only unrelated results). Is this not implemented in notmuch,
and if it is not, how could it be achieved?

Thanks.

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

* Re: filter for List-Id ?
  2016-09-30 14:00 filter for List-Id ? ng0
@ 2016-09-30 14:51 ` Jani Nikula
  2016-09-30 15:10   ` ng0
  2016-09-30 17:53 ` Guyzmo
  1 sibling, 1 reply; 4+ messages in thread
From: Jani Nikula @ 2016-09-30 14:51 UTC (permalink / raw)
  To: ng0; +Cc: Notmuch Mail

On Fri, Sep 30, 2016 at 5:00 PM, ng0 <ngillmann@runbox.com> wrote:
> However reading `info notmuch-search-terms(7)' and trying to just search
> for list:bug-guix.gnu.org or without the list: prefix, not much turns up
> as result (only unrelated results). Is this not implemented in notmuch,
> and if it is not, how could it be achieved?

Please see https://notmuchmail.org/faq/

BR,
Jani.

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

* Re: filter for List-Id ?
  2016-09-30 14:51 ` Jani Nikula
@ 2016-09-30 15:10   ` ng0
  0 siblings, 0 replies; 4+ messages in thread
From: ng0 @ 2016-09-30 15:10 UTC (permalink / raw)
  To: Notmuch Mail

Jani Nikula <jani@nikula.org> writes:

> On Fri, Sep 30, 2016 at 5:00 PM, ng0 <ngillmann@runbox.com> wrote:
>> However reading `info notmuch-search-terms(7)' and trying to just search
>> for list:bug-guix.gnu.org or without the list: prefix, not much turns up
>> as result (only unrelated results). Is this not implemented in notmuch,
>> and if it is not, how could it be achieved?
>
> Please see https://notmuchmail.org/faq/
>
> BR,
> Jani.
>

Oh, I'm sorry. I've read the FAQ but it's been some time since I last
did so. Thanks for reminding me of this.

Thanks
-- 

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

* Re: filter for List-Id ?
  2016-09-30 14:00 filter for List-Id ? ng0
  2016-09-30 14:51 ` Jani Nikula
@ 2016-09-30 17:53 ` Guyzmo
  1 sibling, 0 replies; 4+ messages in thread
From: Guyzmo @ 2016-09-30 17:53 UTC (permalink / raw)
  To: notmuch

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

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

end of thread, other threads:[~2016-09-30 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30 14:00 filter for List-Id ? ng0
2016-09-30 14:51 ` Jani Nikula
2016-09-30 15:10   ` ng0
2016-09-30 17:53 ` Guyzmo

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