Re: Spam and mailing list filtering?

Subject: Re: Spam and mailing list filtering?

Date: Thu, 10 Feb 2011 10:26:23 -0500

To: Ben Gamari

Cc: notmuch@notmuchmail.org

From: Austin Clements


On Feb 10, 2011 8:33 AM, "Ben Gamari" <bgamari.foss@gmail.com> wrote:
>
> On Thu, 10 Feb 2011 12:20:55 +0000, Daniel Barlow <dan@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.

Thread: