Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DC76C431FB6 for ; Thu, 10 Feb 2011 07:26:25 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37za-5hYjCX1 for ; Thu, 10 Feb 2011 07:26:25 -0800 (PST) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 54DCC431FB5 for ; Thu, 10 Feb 2011 07:26:25 -0800 (PST) Received: by vxc38 with SMTP id 38so777826vxc.26 for ; Thu, 10 Feb 2011 07:26:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:cc:content-type; bh=yTpE/QDBLiMOgEgoeU+SwVRDpwxOexq4jjxZ9dNHM9Q=; b=l++szHNybkFnSy4EpxkG5A7lUqfkA+FQrVr0ExLjC8A6MX9H9xoBa4SbPUs5lAZM4g Zmdjp2TePMKetMIZyBSt0dIdYVe6C3UoDhoich88Fiao8lwym0Tw6e/u62tRFFwIeyPM eiop8saTXg6jTNLBwRsQXs1G7JC4qRVkaVX0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; b=BOMf+eKcO1Owj+feTN4JUMmUCGfzyH6mpME08BlGxFfArA9onvb2grzynYhWVtV50Q 75RnmN6LE9GqoJxEXKfzJEW4riIPEa06c7gyq2HPpsvgZXBoF8mypqPBABWoGrIj/CE2 hQ2+9g0kSaMnYuP/hyPV0SFfH6R7GMKC09Wdk= MIME-Version: 1.0 Received: by 10.229.95.200 with SMTP id e8mr6457940qcn.116.1297351583570; Thu, 10 Feb 2011 07:26:23 -0800 (PST) Sender: amdragon@gmail.com Received: by 10.229.97.143 with HTTP; Thu, 10 Feb 2011 07:26:23 -0800 (PST) Received: by 10.229.97.143 with HTTP; Thu, 10 Feb 2011 07:26:23 -0800 (PST) Date: Thu, 10 Feb 2011 10:26:23 -0500 X-Google-Sender-Auth: QauZR0xudvItRiY4T3p85EvfC90 Message-ID: Subject: Re: Spam and mailing list filtering? From: Austin Clements To: Ben Gamari Content-Type: multipart/alternative; boundary=0016364ee32a499bd5049bef344b Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 15:26:26 -0000 --0016364ee32a499bd5049bef344b Content-Type: text/plain; charset=ISO-8859-1 On Feb 10, 2011 8:33 AM, "Ben Gamari" wrote: > > On Thu, 10 Feb 2011 12:20:55 +0000, Daniel Barlow 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. --0016364ee32a499bd5049bef344b Content-Type: text/html; charset=ISO-8859-1


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.

--0016364ee32a499bd5049bef344b--