unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* afew filter rules
@ 2013-02-28 15:29 Rainer M Krug
  2013-03-02  0:23 ` Patrick Totzke
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2013-02-28 15:29 UTC (permalink / raw)
  To: notmuch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I don't know if this is the right mailing list for afew [1] questions, but it is mentioned ion the
notmuch website for tagging.

I want to use afew to tag mailing lists - is there any special rules required to do this, or can I
just run it with the default rules?

Based on the the filter, it seems that list_id is used to tag the emails - correct? 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?

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-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: afew filter rules
  2013-02-28 15:29 afew filter rules Rainer M Krug
@ 2013-03-02  0:23 ` Patrick Totzke
  2013-03-05 14:18   ` Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Totzke @ 2013-03-02  0:23 UTC (permalink / raw)
  To: Rainer, Rainer M Krug, notmuch

[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]

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].

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

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAlExRoQACgkQlDQDZ9fWxarSOACgnvCSRD4pA61B3JGTxXYgAVqL
IREAnjastRNqY9h6cJrz3ORL2vxgkl1S
=n/V1
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: afew filter rules
  2013-03-02  0:23 ` Patrick Totzke
@ 2013-03-05 14:18   ` Rainer M Krug
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer M Krug @ 2013-03-05 14:18 UTC (permalink / raw)
  To: Patrick Totzke, Rainer, notmuch

-----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-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-05 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28 15:29 afew filter rules Rainer M Krug
2013-03-02  0:23 ` Patrick Totzke
2013-03-05 14:18   ` Rainer M Krug

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).