On Feb 10, 2011 8:33 AM, "Ben Gamari" <bgamari.foss at gmail.com> wrote: > > On Thu, 10 Feb 2011 12:20:55 +0000, Daniel Barlow <dan at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110210/ff3276f8/attachment.html>