From d5d36238b7053ca0232b8799b9662a2a828c329e Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 21 Dec 2011 09:53:23 +0100 Subject: [PATCH] Re: [afew] announcing afew, an universal tagging solution with some fancy features --- 23/2947e6286fb6547e41db343c269e2a9399e206 | 124 ++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 23/2947e6286fb6547e41db343c269e2a9399e206 diff --git a/23/2947e6286fb6547e41db343c269e2a9399e206 b/23/2947e6286fb6547e41db343c269e2a9399e206 new file mode 100644 index 000000000..bf3e63470 --- /dev/null +++ b/23/2947e6286fb6547e41db343c269e2a9399e206 @@ -0,0 +1,124 @@ +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 1C330429E26 + for ; Wed, 21 Dec 2011 00:53:29 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.001 +X-Spam-Level: +X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 + tests=[UNPARSEABLE_RELAY=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 N+lHzk4gOssi for ; + Wed, 21 Dec 2011 00:53:28 -0800 (PST) +Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5288B431FB6 + for ; Wed, 21 Dec 2011 00:53:28 -0800 (PST) +Received: from mail.jade-hamburg.de (unknown [85.183.11.228]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mail.cryptobitch.de (Postfix) with ESMTPSA id 1538950FF53 + for ; Wed, 21 Dec 2011 09:53:27 +0100 (CET) +Received: by mail.jade-hamburg.de (Postfix, from userid 401) + id 785DDDF2A2; Wed, 21 Dec 2011 09:53:26 +0100 (CET) +Received: from thinkbox.jade-hamburg.de (unknown + [IPv6:fe80::216:d3ff:fe3e:5058%br0]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) (Authenticated sender: teythoon) + by mail.jade-hamburg.de (Postfix) with ESMTPSA id 9A432DF29F; + Wed, 21 Dec 2011 09:53:24 +0100 (CET) +Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77) + (envelope-from ) + id 1RdHvP-00026h-Dg; Wed, 21 Dec 2011 09:53:23 +0100 +Content-Type: multipart/mixed; boundary="===============6636773958585818615==" +MIME-Version: 1.0 +References: + <4ee8d62a.596ee30a.1833.ffffc33e@mx.google.com> + + <87k45so36b.fsf@servo.finestructure.net> + <4eef7faa.c1cae30a.0802.ffffaffb@mx.google.com> +To: Patrick Totzke , + Jameson Graef Rollins , notmuch@notmuchmail.org +In-Reply-To: <4eef7faa.c1cae30a.0802.ffffaffb@mx.google.com> +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Subject: Re: [afew] announcing afew, + an universal tagging solution with some fancy features +Date: Wed, 21 Dec 2011 09:53:23 +0100 +Message-Id: +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: Wed, 21 Dec 2011 08:53:29 -0000 + +--===============6636773958585818615== +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable + +Hey Pazz, + +Quoting Patrick Totzke (2011-12-19 19:17:12) +>Also, should i not get some output when calling afew with -vv ? + +Yes you should ;). Here's an example run on my box: + +teythoon@thinkbox ~/repos/afew (git)-[master] % python3.2 bin/afew -vv --ta= +g --new +INFO:root:Tagging spam messages +DEBUG:root:Executing query '(tag:new)' +INFO:root:Committing changes to 0 messages +INFO:root:Tagging via classification +DEBUG:root:Executing query '(tag:new)' +DEBUG:root:executing ['dbacl', '-c', ..., '-n'] +INFO:root:Committing changes to 1 messages +INFO:root:Looking for messages in killed threads that are not yet killed +DEBUG:root:Executing query '((tag:new)) AND (NOT tag:killed)' +DEBUG:root:Executing query 'thread:"0000000000005d6e" AND tag:killed' +DEBUG:root:Executing query 'thread:"0000000000005d6d" AND tag:killed' +INFO:root:Committing changes to 0 messages +INFO:root:Tagging mailing list posts +DEBUG:root:Executing query '((tag:new)) AND (NOT tag:lists)' +INFO:root:Committing changes to 0 messages +INFO:root:No message specified for filter +DEBUG:root:Executing query '((tag:new)) AND (subject:"[Mafia]")' +INFO:root:Committing changes to 0 messages +INFO:root:Archiving all mails sent by myself +DEBUG:root:Executing query '((tag:new)) AND (from:"4winter@informatik.uni-h= +amburg.de" OR from:"teythoon@jade-hamburg.de")' +INFO:root:Committing changes to 0 messages +INFO:root:Retags all messages not tagged as junk or killed as inbox +DEBUG:root:Executing query '((tag:new)) AND ((tag:new))' +DEBUG:root:Removing tags new from "Fachschaftsratsvernetzung" (new unread) (2011-12-21) +DEBUG:root:Adding tags inbox to "Fachschaftsratsvernetzung" (new unread) (2011-12-21) +INFO:root:Committing changes to 1 messages + +If you don't get any output at all you might try using the strace +hammer again. + +Justus + +--===============6636773958585818615== +Content-Type: application/octet-stream +MIME-Version: 1.0 +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename=".signature" + +bG92ZSB1IGFsb3QgQCxACgo= + +--===============6636773958585818615==-- -- 2.26.2