From 302201e9dc480342ba20a6aa38576a15af05c2a9 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Sat, 2 Mar 2013 00:23:32 +0000 Subject: [PATCH] Re: afew filter rules --- 3f/9e61790f694362201528de42ca50d51b74a163 | 165 ++++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 3f/9e61790f694362201528de42ca50d51b74a163 diff --git a/3f/9e61790f694362201528de42ca50d51b74a163 b/3f/9e61790f694362201528de42ca50d51b74a163 new file mode 100644 index 000000000..331732c0f --- /dev/null +++ b/3f/9e61790f694362201528de42ca50d51b74a163 @@ -0,0 +1,165 @@ +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 41634431FAF + for ; Fri, 1 Mar 2013 16:23:38 -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 fSDXFcicsvsL for ; + Fri, 1 Mar 2013 16:23:36 -0800 (PST) +Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com + [209.85.212.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B2699431FAE + for ; Fri, 1 Mar 2013 16:23:36 -0800 (PST) +Received: by mail-wi0-f172.google.com with SMTP id ez12so118088wid.11 + for ; Fri, 01 Mar 2013 16:23:35 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:content-type:mime-version:content-disposition:from + :user-agent:to:references:in-reply-to:message-id:subject:date; + bh=/+CDsR1srBEi48RnIbRDpnj9M4MWuHeql08h4ySVGVM=; + b=CC+E7HQTfOdwl/l4VnP61XBt6H/dEn5dscbjdahKFQmYhjsNyHPyW4UsVhYHM4aIdy + nhaqEE/2wGlQuBmvgbr0mEvz8KVzDVDK0zpWaDtghUgmerT58EW/+YV/6LJooy5uiMVT + 05/njtLwElXkhquBaTOS7QGJI9xV2/VJOmhD4Gy/b96BkulLRu5p0ctb6rbnu7Wsfgff + fzWINAiDSUl2Ld4OEylKGdAB7vaQF+5Zne5Wi8oWbnoxQiOMqFgLYJYktrPdB482x26/ + /D3e5t2Bf7Zbz2CXAfH4QNub9+F3Pq6YAB+jdToq9NdJO7Rehodca8vzuL0+rNxi7HSR + DwlQ== +X-Received: by 10.194.242.163 with SMTP id wr3mr20593297wjc.35.1362183814371; + Fri, 01 Mar 2013 16:23:34 -0800 (PST) +Received: from localhost (cpc14-sgyl28-2-0-cust332.18-2.cable.virginmedia.com. + [82.39.85.77]) + by mx.google.com with ESMTPS id n10sm763041wia.0.2013.03.01.16.23.33 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Fri, 01 Mar 2013 16:23:33 -0800 (PST) +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="pgp-sha1"; boundary="===============8496187029539762966==" +MIME-Version: 1.0 +Content-Disposition: inline +From: Patrick Totzke +User-Agent: alot/0.3.4+ +To: Rainer@krugs.de, Rainer M Krug , + notmuch@notmuchmail.org +References: <512F77DD.8050800@gmail.com> +In-Reply-To: <512F77DD.8050800@gmail.com> +Message-ID: <20130302002332.28716.24564@brick.lan> +Subject: Re: afew filter rules +Date: Sat, 02 Mar 2013 00:23:32 +0000 +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: Sat, 02 Mar 2013 00:23:38 -0000 + +--===============8496187029539762966== +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable + +Hey Reiner, + +Quoting Rainer M Krug (2013-02-28 15:29:33) +> Based on the the filter, it seems that list_id is used to tag the emails = +- correct? + +Seems so, yea [0]. + +> But in +> addition, I have some lists which do not have list_id, but need to be ide= +ntified by their to +> address - how can I add these filters? + +I use some custom filters like this in my setup [1]. +Basically, you can add a custom filter to your filer chain by adding +a section with name "Filer.n" for increasing n.. +Also check out afew's docs [2]. + +Cheers, +/p + + +[0]: https://github.com/teythoon/afew/blob/master/afew/filters/ListMailsFil= +ter.py#L31 +[1]: https://github.com/pazz/configs/blob/master/.config/afew/config +[2]: https://afew.readthedocs.org/en/latest/manual.html#customizing-filters + + +> Thanks, +> = + +> Rainer +> = + +> [1] https://github.com/teythoon/afew +> - -- = + +> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biolog= +y, UCT), Dipl. Phys. +> (Germany) +> = + +> Centre of Excellence for Invasion Biology +> Stellenbosch University +> South Africa +> = + +> Tel : +33 - (0)9 53 10 27 44 +> Cell: +33 - (0)6 85 62 59 98 +> Fax : +33 - (0)9 58 10 27 44 +> = + +> Fax (D): +49 - (0)3 21 21 25 22 44 +> = + +> email: Rainer@krugs.de +> = + +> Skype: RMkrug +> -----BEGIN PGP SIGNATURE----- +> Version: GnuPG v1.4.11 (GNU/Linux) +> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ +> = + +> iQEcBAEBAgAGBQJRL3fcAAoJENvXNx4PUvmCO6oIALNAp5Z2SE6H2EqePpk0kwBc +> NCIK12IEyGzLya2BzCv87sucxyicCeXqBt5pNkGgsxK7pJxXaDQVaDtYZgguVfnB +> /IE1AgDCfgzUx+iPMS4knB9DaKiKHPIpuH1oL7PK3tbc332+zlWFxeeekJj9DvM9 +> 53LZGr9oMQ74obX9vDnFcbHCNq/o2ALcNnnJlDRmTZFpFmSBxk6QxbWqlUZcRyGv +> R9CJEdx3+a1kQhLCwYN7CoX1LQx1y57fm2//qt4m7dn6ZWK1ueRneJRuVr/jobiy +> jKjRAI/fkT/HBk3l0eJ9fkAeOMZT5Ur/FXjipG8kUmwrnBojp6Eykk4NMIg+Mvo=3D +> =3DCoyQ +> -----END PGP SIGNATURE----- +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch + +--===============8496187029539762966== +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Description: signature +Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iEYEABECAAYFAlExRoQACgkQlDQDZ9fWxarSOACgnvCSRD4pA61B3JGTxXYgAVqL +IREAnjastRNqY9h6cJrz3ORL2vxgkl1S +=n/V1 +-----END PGP SIGNATURE----- + +--===============8496187029539762966==-- -- 2.26.2