🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #114067

Re: [Dialog] Filtering on remailer

#114067
From: Tarkus
Date: Fri, 08 Nov 2002 23:48
48 lines
3941 bytes
On Fri, 8 Nov 2002 18:08:07 -0500, Bob Frank wrote:

> On Fri, 08 Nov 2002 22:23:43 GMT, Tarkus wrote:
> 
>> Are you saying this doesn't work:
>> 
>> !move(Fake) Header (To) "list@fake.com"
> 
> Yes it does.  But, as discussed earlier in this thread this filter will 
> match as long as there is a "To" header and as long as there is a string 
> "list@fake.com" even if these two items are not connected.  Such as a 
> header "To:  bob@mydomain.com" and a header "Reply-To: list@fake.com".

But is that a problem for you in this case?  Is there any reason why the 
list address would be in another message that you don't want matched?

>> Or perhaps this, if you want to make sure you don't want to match another 
>> "To" header.
>> 
>> !move(Fake) Header ({^To:}) "list@fake.com"
> 
> You yourself suggested that I avoid regular expressions where ever possible 
> due to the additional overhead.

True, but I only meant that if you can get by with a simple filter, 
that's the way to go.  I didn't mean that you should avoid RegEx at all 
costs.  If RegEx better fits your needs, by all means use it.  It's not 
like Dialog will slow down to a crawl.  You may not even notice the 
difference.

I myself use RegEx filters for many like subjects.  For example, I have 
no interest in Zone Alarm, and in the GRC groups there's numerous ways 
it's referred to in a subject.  So instead of creating a bunch of 
different simple filters, I have one that looks like this:

-1 Subject {zone.?(alarm|labs|log)|za(f|p)}

Matches Zone Alarm, ZoneAlarm, Zone Labs, ZoneLabs, Zone Log, ZoneLog, 
ZAF and ZAP.  :)

I could do the same thing with simple filters, but in this case I think 
RegEx is a better fit for what I'm trying to do.  Not sure if it's faster 
or slower, but it's fast enough.
-- 
The UNofficial 40tude Dialog mailing list:
Email:  40tude_Dialog-subscribe@yahoogroups.com
Web:  http://groups.yahoo.com/group/40tude_Dialog/
Technical Details
Message-ID: <ijhrqu3sqft.dlg@tarkus.karnevil9.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!p01!news1.west.cox.net.POSTED!53ab2750!not-for-mail
References: <aq6ojm$j99$1@bob.news.rcn.net> <1x3erda0iaepw.is6oiwfsaieb.dlg@40tude.net> <19fc58coybbts.dlg@tarkus.karnevil9.com> <aqbi3i.1mo.1@quant.anchedo.net> <15c4x22qiu44p.dlg@tarkus.karnevil9.com> <1i77gy2lx7qot.dlg@nhoffmann.dialin.t-online.de> <1hmczxahzggvj.gask946ldqj8.dlg@40tude.net> <1cyq9gpwt567m$.dlg@40tude.com> <py4vtvmxcvcp$.1rdb6tscdkuo8$.dlg@40tude.net> <l2gqgp8q04o.dlg@nhoffmann.dialin.t-online.de> <zguynowcsvk9.1i0u8ii1u865s.dlg@40tude.net> <1em8c2ofvrzz0$.dlg@tarkus.karnevil9.com> <1hr2wchu6xbl3.19727ot9l03ea.dlg@40tude.net> <1cket892sxvju$.dlg@tarkus.karnevil9.com> <zest2o1omo1.1qndcxhtwvzoy.dlg@40tude.net> <1xkncf4ikuj8t.dlg@tarkus.karnevil9.com> <v513ngu9p8s7.1r1g7xjnku2an.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <ijhrqu3sqft.dlg@tarkus.karnevil9.com>
Subject: Re: [Dialog] Filtering on remailer
Date: Fri, 08 Nov 2002 23:48:40 GMT
From: Tarkus <karnevil9@beer.com>
References: <aq6ojm$j99$1@bob.news.rcn.net> <1x3erda0iaepw.is6oiwfsaieb.dlg@40tude.net> <19fc58coybbts.dlg@tarkus.karnevil9.com> <aqbi3i.1mo.1@quant.anchedo.net> <15c4x22qiu44p.dlg@tarkus.karnevil9.com> <1i77gy2lx7qot.dlg@nhoffmann.dialin.t-online.de> <1hmczxahzggvj.gask946ldqj8.dlg@40tude.net> <1cyq9gpwt567m$.dlg@40tude.com> <py4vtvmxcvcp$.1rdb6tscdkuo8$.dlg@40tude.net> <l2gqgp8q04o.dlg@nhoffmann.dialin.t-online.de> <zguynowcsvk9.1i0u8ii1u865s.dlg@40tude.net> <1em8c2ofvrzz0$.dlg@tarkus.karnevil9.com> <1hr2wchu6xbl3.19727ot9l03ea.dlg@40tude.net> <1cket892sxvju$.dlg@tarkus.karnevil9.com> <zest2o1omo1.1qndcxhtwvzoy.dlg@40tude.net> <1xkncf4ikuj8t.dlg@tarkus.karnevil9.com> <v513ngu9p8s7.1r1g7xjnku2an.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!p01!news1.west.cox.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: dialog.20.karnevil9@xoxy.net
Organization: Brain Salad Surgery
X-Face: jX#]dcy06XG/h]^S&Es)j+i^|l951>b?6ay9h6At)oOt&%aIgP.i.B!kbX)aJIWrQai,TY& L^34eskI;v%'~i|gLTrPhTV4vOT92b2D,@Z44*M"y`0b&X>m+6Sz2h96KnB"'@+'{G@yJsSnTM908| z>0"2&l\d6s~W8KXWxHSPUdZiy_6tn;|?'~6_B6Z1HGh@mh
User-Agent: 40tude_Dialog/2.0.2.23
Lines: 47
NNTP-Posting-Host: 68.96.229.128
X-Complaints-To: abuse@cox.net
X-Trace: news1.west.cox.net 1036799320 68.96.229.128 (Fri, 08 Nov 2002 18:48:40 EST)
NNTP-Posting-Date: Fri, 08 Nov 2002 18:48:40 EST