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 28BA8431FB6 for ; Thu, 10 Feb 2011 05:33:40 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 TAf+UFukVMQL for ; Thu, 10 Feb 2011 05:33:38 -0800 (PST) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 03B98431FB5 for ; Thu, 10 Feb 2011 05:33:37 -0800 (PST) Received: by vws8 with SMTP id 8so862966vws.26 for ; Thu, 10 Feb 2011 05:33:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=/pdXuguSnwmLi8AstoTbkcsD98x1VMsQAqEe2AZdQ3M=; b=Yj8OD+KhfnE227CO9WthEIP5uNu3ZrS5h365eigYJyCEF7GY0AL+v8oPma6vOD2Z9j TCVQVh6EAG7CUtjU8YbRc4oWMjXhJy7Vyy7YcMqz4TYZeoBTlyxNpPYSbjP4bJfVYZBX ZYlkD56a2Args+hgPUvCSo8JhSrKS/xLY/leU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; b=R208zijLewC1vgUcxEWVe4Z3+Eo+iNJ2qCW8XjeM359TpaVSowZBxhYGVoIwl5EmSP 5n43jtuhuqzsiY4UmDE5hhTc/HtbjICNjvyHPiyaPUZr8AarYo+HVfreODUXwuvLcS4p 0ahaIxmTpUP5cVwUA4cRZP/03Ta5u8jI6RIyI= Received: by 10.220.195.203 with SMTP id ed11mr1625305vcb.42.1297344815604; Thu, 10 Feb 2011 05:33:35 -0800 (PST) Received: from localhost (physicsnat56.physics.umass.edu [128.119.50.38]) by mx.google.com with ESMTPS id g17sm10261vbv.12.2011.02.10.05.33.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Feb 2011 05:33:34 -0800 (PST) From: Ben Gamari To: Daniel Barlow , notmuch@notmuchmail.org Subject: Re: Spam and mailing list filtering? In-Reply-To: <87ei7ggjx4.fsf@lsip.4a.telent.net> References: <87ei7ggjx4.fsf@lsip.4a.telent.net> User-Agent: Notmuch/0.5-64-gdd23272 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) Date: Thu, 10 Feb 2011 08:33:30 -0500 Message-ID: <87vd0sui8l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 13:33:40 -0000 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. > 2) Is there any way (actual or planned) to filter on X-List-Id or > similar so that I can filter mailing list stuff more accurately > There have been talks of adding support for indexing arbitrary headers although no one has produced any code as far as I know. Patches welcome. Cheers, - Ben