On Feb 10, 2011 8:33 AM, "Ben Gamari" <bgamari.f...@gmail.com> wrote: > > On Thu, 10 Feb 2011 12:20:55 +0000, Daniel Barlow <d...@telent.net> wrote: > > My questions > > > > 1) (How) can I filter on the X-Spam-Bar header to chop out spam and > > suspected spam? > > > I simply run new mail through bogofilter in my sorting script and tag > junk with a junk tag. I then add "not tag:junk" to each of my saved searches.
One of my plans for after the custom query parser patches get reviewed is to make it possible to exclude certain tags from queries by default, unless the query specifically mentions the tag. This should make it easier to handle spam tags like this.
_______________________________________________ notmuch mailing list firstname.lastname@example.org http://notmuchmail.org/mailman/listinfo/notmuch