On Fri, 27 May 2011 07:00:53 +0100 "Dave Sergeant" <[email protected]> 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 <[email protected]> ______________________________________________________________ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:[email protected] This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html

