[Elecraft] OT - Why so much Off topic??
Pierfrancesco Caci
pf at tippete.net
Fri May 27 03:19:24 EDT 2011
On Fri, 27 May 2011 07:00:53 +0100
"Dave Sergeant" <dave at davesergeant.com> wrote:
> If only people would use these properly in their subject lines the
> filtering would do the job. Unfortunately they don't. We have for
> instance KX3, KX-3, KX 3 - and I see today we even have CK722 and
> CK-722. It becomes harder and harder to set up a regular expression
> to cope with all the variants, and very few see to put brackets []
> round it.
>
These are the procmail rules I use to split this list into separate
folders. Hopefully it is of inspiration for anyone who wants to do a
similar thing on their own mail client. Sieve rules should be fairly
similar (sieve supports regular expressions as well).
Note that order is relevant, and usually first match wins.
Most (all?) mail clients have some filtering options. Learning to use
them sure add to our bag of knowledge. It's not harder than learning
to use DSP :-)
:0:
* $ LISTID ?? .*<elecraft\.mailman\\.qth\\.net>
* $^Subject:.*[\[ ]KPA-?500
.radio.elecraft.KPA500/
:0:
* $ LISTID ?? .*<elecraft\.mailman\\.qth\\.net>
* $^Subject:.*[\[ ](K3|K144XV)
.radio.elecraft.K3/
:0:
* $ LISTID ?? .*<elecraft\.mailman\\.qth\\.net>
* $^Subject:.*[\[ ](KX3|KXPA100)
.radio.elecraft.KX3/
:0:
* $ LISTID ?? .*<elecraft\\.mailman\\.qth\\.net>
* $^Subject:.*[\[ ]P3
.radio.elecraft.P3/
:0:
* $ LISTID ?? .*<elecraft\\.mailman\\.qth\\.net>
* $^Subject:.*[\[ ]K2
.radio.elecraft.K2/
:0:
* $ LISTID ?? .*<elecraft\\.mailman\\.qth\\.net>
* $^Subject:.*[\[ ](K-?1|KX-?1)
.radio.elecraft.K1-KX1/
:0:
* $ LISTID ?? .*<elecraft\\.mailman\\.qth\\.net>
.radio.elecraft/
--
Pierfrancesco Caci, ik5pvx <pf at tippete.net>
More information about the Elecraft
mailing list