Re: Hi all
[notmuch-archives.git] / 87 / ff751ddd09d35fef1ec5584d332c65643e5d09
1 Return-Path: <Sebastian@SSpaeth.de>\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 4475640BC7C\r
6         for <notmuch@notmuchmail.org>; Tue, 17 Aug 2010 00:15:52 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,\r
12         DKIM_SIGNED=0.1, DKIM_VALID=-0.1,       DKIM_VALID_AU=-0.1] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id st5U-1w0rHwC for <notmuch@notmuchmail.org>;\r
16         Tue, 17 Aug 2010 00:15:40 -0700 (PDT)\r
17 Received: from homiemail-a20.g.dreamhost.com (caiajhbdcahe.dreamhost.com\r
18         [208.97.132.74])\r
19         by olra.theworths.org (Postfix) with ESMTP id 52F5640BC74\r
20         for <notmuch@notmuchmail.org>; Tue, 17 Aug 2010 00:15:40 -0700 (PDT)\r
21 Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1])\r
22         by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id BD8267EC072\r
23         for <notmuch@notmuchmail.org>; Tue, 17 Aug 2010 00:15:20 -0700 (PDT)\r
24 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject\r
25         :in-reply-to:references:date:message-id:mime-version:\r
26         content-type; q=dns; s=sspaeth.de; b=NpMAsiPj0B2G8hPOBVOfO8g4/vy\r
27         T+H+paDYhxfjZvurUpoCQD6JZpuikufhjAEllJrf3esTKhBRz/rf212tuDcyvuGo\r
28         cVghhEVtziWASXoSo1ybMHdgto3vsm6Mnt6yTEWpxYyjgNdky5RPuDQ0Px0KlqZq\r
29         XtOIw+Kd4geuesI8=\r
30 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to\r
31         :subject:in-reply-to:references:date:message-id:mime-version:\r
32         content-type; s=sspaeth.de; bh=al2Sh3qkoWB8vIDbGU4Y6j1WIbQ=; b=E\r
33         3Ib//qY76mtIDLLdHNQYdyEg5HCu7aZ4ZI1t1BUrPd8EoOv7EX16+cgNscOp9Lmc\r
34         OwLb9k4P7x3z3sJHPvCTxby0RnkfIdZgQtP1lHemb0X3ASDYnk7HKLw1KXx8uoUq\r
35         lag9rg1wvfiMakl6tGfmRpR21NlNEATU4eZSnmQejA=\r
36 Received: from spaetzbook.sspaeth.de (unknown [62.48.118.26])\r
37         (Authenticated sender: fax@sspaeth.de)\r
38         by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPA id 55D4A7EC069\r
39         for <notmuch@notmuchmail.org>; Tue, 17 Aug 2010 00:15:17 -0700 (PDT)\r
40 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
41         Tue, 17 Aug 2010 09:15:15 +0200\r
42 From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: Re: Integration with training-based bayesian filters\r
45 In-Reply-To: <877hjqtvng.fsf@auriga.deep>\r
46 References: <AANLkTinuEAhRo5vAjF0e9k8JGt9gVooLNimrBVyGuZtZ@mail.gmail.com>\r
47         <877hjqtvng.fsf@auriga.deep>\r
48 User-Agent: Notmuch/0.3.1-16-g417274d (http://notmuchmail.org) Emacs/23.1.50.1\r
49         (X86_64-pc-linux-gnu)\r
50 Date: Tue, 17 Aug 2010 09:15:15 +0200\r
51 Message-ID: <87pqxhk8vw.fsf@SSpaeth.de>\r
52 MIME-Version: 1.0\r
53 Content-Type: text/plain; charset=us-ascii\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Tue, 17 Aug 2010 07:15:52 -0000\r
67 \r
68 > The easy way is to expect the user enter the spam thread, which contains\r
69 > exactly one message (never seen longer spam threads, still wondering\r
70 > why...), and then press some key and confirm the destination, station\r
71 > purple hell.  Then you exit the thread.  To enter another one...\r
72 \r
73 I just have a saved view where all possible junk mails are shown. Most\r
74 of the time they really all are spam as I can see from the subjects and\r
75 I simply press "*" and "+spam" to tag all those mails as spam.\r
76 \r
77 A cron script occassionally passes all spam-tagged mails to a bayesian filter.\r
78 \r
79 Something like this does not require me to fudge a lot with elisp (which\r
80 I am not good with).\r
81 \r
82 > So, the crux is, to pipe the file to the classifier you need the filename,\r
83 > and the filename appears to be easily available only in the 'show' mode.\r
84 \r
85 An within elisp solution would be elegant for sure. I've found that\r
86 tagging messages and then later processing those messages outside of\r
87 emacs works nicely for me. Here is the 5 line python script that shows\r
88 all filenames for messages matching a certain query:\r
89 http://notmuchmail.org/howto/\r
90 \r
91 Sebastian\r