1 Return-Path: <dan@telent.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 7A07B431FB6
\r
6 for <notmuch@notmuchmail.org>; Thu, 10 Feb 2011 05:04:59 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Improper folded header field made up
\r
9 entirely of whitespace (char 20 hex): X-Spam-Report: ...that system
\r
10 for details.\n \n Content previ[...]
\r
14 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
16 Received: from olra.theworths.org ([127.0.0.1])
\r
17 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
18 with ESMTP id Rz3H3eLf-k4q for <notmuch@notmuchmail.org>;
\r
19 Thu, 10 Feb 2011 05:04:59 -0800 (PST)
\r
20 Received: from bytemark.telent.net (btyemark.telent.net [80.68.95.139])
\r
21 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
22 (No client certificate requested)
\r
23 by olra.theworths.org (Postfix) with ESMTPS id CA4CA431FB5
\r
24 for <notmuch@notmuchmail.org>; Thu, 10 Feb 2011 05:04:58 -0800 (PST)
\r
25 Received: from 82-68-20-86.dsl.in-addr.zen.co.uk ([82.68.20.86]
\r
26 helo=lsip.4a.telent.net)
\r
27 by bytemark.telent.net with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
\r
28 (Exim 4.72) (envelope-from <dan@telent.net>) id 1PnVW6-00074x-6e
\r
29 for notmuch@notmuchmail.org; Thu, 10 Feb 2011 12:20:59 +0000
\r
30 Received: from dan by lsip.4a.telent.net with local (Exim 4.72)
\r
31 (envelope-from <dan@telent.net>) id 1PnVW4-00005q-Qt
\r
32 for notmuch@notmuchmail.org; Thu, 10 Feb 2011 12:20:57 +0000
\r
33 From: Daniel Barlow <dan@telent.net>
\r
34 To: notmuch@notmuchmail.org
\r
35 Subject: Spam and mailing list filtering?
\r
36 User-Agent: Notmuch/0.5-63-g62725a5 (http://notmuchmail.org) Emacs/23.2.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Thu, 10 Feb 2011 12:20:55 +0000
\r
39 Message-ID: <87ei7ggjx4.fsf@lsip.4a.telent.net>
\r
41 Content-Type: text/plain; charset=us-ascii
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Thu, 10 Feb 2011 13:04:59 -0000
\r
58 I've been running notmuch for only a couple of days now and am still
\r
59 getting to grips with it, but I am very very happy to be back in Emacs
\r
60 again for mail after two years in the Thunderbird wilderness. So, thank
\r
63 I like my mail tagged on reception so that my mailing lists and spam
\r
64 only show up when (or if) I actually want to read them. To this end
\r
65 I've done as I suspect most people do: wrote a small shell script that
\r
66 runs 'notmuch add' and then a succession of 'notmuch tag' to identify
\r
67 the mails I'll deal with later. For example
\r
70 notmuch tag +inbox -- to:dan and is:unread
\r
71 notmuch tag +office-work -- folder:Work/Shared.office and is:unread
\r
72 notmuch tag +tech-work -- folder:Work/Shared.technotes and is:unread
\r
73 notmuch tag +work -- folder:Work and is:unread
\r
74 notmuch tag +work -- from:office@work.com and is:unread
\r
75 notmuch tag +ruby-talk -inbox -- to:ruby-talk and is:unread
\r
76 notmuch tag +lrug -inbox -- to:ruby-talk and is:unread
\r
77 notmuch tag +work-figures -inbox -- '(from:figures@work.com or to:figures@work.com) and is:unread
\r
82 1) (How) can I filter on the X-Spam-Bar header to chop out spam and
\r
85 2) Is there any way (actual or planned) to filter on X-List-Id or
\r
86 similar so that I can filter mailing list stuff more accurately
\r
88 3) Ditto for filtering on Envelope-To, which I know is not a real
\r
89 SMTP header but appears in my mail archives anyway
\r