From: Rainer M Krug Date: Tue, 5 Mar 2013 14:18:08 +0000 (+0100) Subject: Re: afew filter rules X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=99a5041169dc771fbe05a952edcfa2976c577077;p=notmuch-archives.git Re: afew filter rules --- diff --git a/49/a83596454775ddd0901ba2c79e7c403d4595c9 b/49/a83596454775ddd0901ba2c79e7c403d4595c9 new file mode 100644 index 000000000..5ed743527 --- /dev/null +++ b/49/a83596454775ddd0901ba2c79e7c403d4595c9 @@ -0,0 +1,164 @@ +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 C586F431FBC + for ; Tue, 5 Mar 2013 06:18:15 -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 ZrU3vok+azHb for ; + Tue, 5 Mar 2013 06:18:15 -0800 (PST) +Received: from mail-we0-f176.google.com (mail-we0-f176.google.com + [74.125.82.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id D90E2431FAE + for ; Tue, 5 Mar 2013 06:18:14 -0800 (PST) +Received: by mail-we0-f176.google.com with SMTP id s43so6049761wey.21 + for ; Tue, 05 Mar 2013 06:18:12 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:message-id:date:from:reply-to:user-agent:mime-version:to + :subject:references:in-reply-to:x-enigmail-version:content-type + :content-transfer-encoding; + bh=DM7HZcJIG7O9mNjS5Oj+pmU+HHi7zu2rGJ20pNt7qGw=; + b=HynPwTHevmJ4xvv9X6nJl6jjtaQIRys6aMhgTlzPAN+SzFaxCd9hUhEhI9GR1RWOW5 + ++IwWrBpuHJaL4KOK7YfQH0TuEF+givJE3x74ArGDRi/1KPqmMuEOFtpjzQFPY3MC+SG + vc1p9A2qRKgxlkvAkA/8iiFxGiAGDFM6mb0er/ltWMn4z7cvptxVMii/YhFNmrgzEdhy + KJRxF7/x9teb/+J3ncrxuIIUN8F4G9AZcFgqcfuTs0+J3GTYG+7imf0rM/PrBeZqYiww + XpgxVsBf1cdq0zuQh2NWs6O/jlf/HuMGvuVqTV0hbQut6G8Z8Xlezlp7UNYCewj+sP9E + S/Kw== +X-Received: by 10.194.235.196 with SMTP id uo4mr39408422wjc.30.1362493092167; + Tue, 05 Mar 2013 06:18:12 -0800 (PST) +Received: from ?IPv6:2a01:e35:8baa:b070:c1f2:2c0:d4bb:99b6? + ([2a01:e35:8baa:b070:c1f2:2c0:d4bb:99b6]) + by mx.google.com with ESMTPS id er3sm20662449wib.1.2013.03.05.06.18.09 + (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); + Tue, 05 Mar 2013 06:18:10 -0800 (PST) +Message-ID: <5135FEA0.30500@gmail.com> +Date: Tue, 05 Mar 2013 15:18:08 +0100 +From: Rainer M Krug +User-Agent: Mozilla/5.0 (X11; Linux i686; + rv:19.0) Gecko/20130125 Thunderbird/19.0 +MIME-Version: 1.0 +To: Patrick Totzke , Rainer@krugs.de, + notmuch@notmuchmail.org +Subject: Re: afew filter rules +References: <512F77DD.8050800@gmail.com> + <20130302002332.28716.24564@brick.lan> +In-Reply-To: <20130302002332.28716.24564@brick.lan> +X-Enigmail-Version: 1.5.1 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 7bit +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: Rainer@krugs.de +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 05 Mar 2013 14:18:16 -0000 + +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +On 02/03/13 01:23, Patrick Totzke wrote: +> 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 identified 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]. + + +Thanks a lot for the info - it gave me quite a clear picture on what I could do. + +Thanks, + +Rainer + +> +> Cheers, /p +> +> +> [0]: https://github.com/teythoon/afew/blob/master/afew/filters/ListMailsFilter.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 Biology, 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= =CoyQ -----END PGP +>> SIGNATURE----- _______________________________________________ notmuch mailing list +>> notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch + + +- -- +Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 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/ + +iQEcBAEBAgAGBQJRNf6gAAoJENvXNx4PUvmCNrAH/Rq2jroL9IfCb+GTT3iXhnkT +5YRBkkpoc+EmeHqkFCg4G7mE1MmDZnwnsxvTaU7HcJMYrtceEhBGGbdUArk106/F +toYaxzZAAppLrBT7DP/n9JPwopAj6lWD+1ZLiC1XQZbN9pgqR0gLy0zXsFVlSIcc +1FSj445t7AbcHKM7buqhTxLqbilUUhuWXJzddjvq6JVeL0LSABs0zbeZMvDavBHq +3wS1DrxM8aJRBmCNcFiIOcWHByGyCBmongUxTqhyiDqZ05eQsJ16RMACF4L3j9J/ +u3eFK/EYgSmJ/wU4TmkH8/5+TH0hRWoPcWgU+XyfEvE9SDCHxo6cwR4+1xlS1FY= +=aZCO +-----END PGP SIGNATURE-----