Article View: news.software.readers
Article #114031Re: [Dialog] Filtering on remailer
From: RickM
Date: Fri, 08 Nov 2002 12:33
Date: Fri, 08 Nov 2002 12:33
23 lines
2265 bytes
2265 bytes
On Thu, 7 Nov 2002 23:03:57 +0100, Andreas Loch wrote:
> Thu, 7 Nov 2002 00:39:34 +0100, Marcus M�nnig:
>
>> How likely is it that there is another string "Mail-To-News-Contact:
>> postmaster@nym.alias.net" in the header with this expression:
>>
>> !markread Header "Mail-To-News-Contact: postmaster@nym.alias.net"
>
> Yes, this works fine here. But if you try something like this for the
> To-header in emails, it must fail because of the variety of possible
> strings in that header. I'm still looking for a filter that works for
> To, but none of the filters recommended here and none which I created
> during my tests worked as expected. Any suggestions, anyone?
Just use a regular expression, like
!markread Header {^to: [^\n]*StringToSearchForGoesHere}
which means find "to: " at the start of a line, then as long as there
are no new lines before "StringToSearchForGoesHere", it's a match!
--
Rick
Technical Details
Message-ID:
<1izc6c76d7agb.bvsd0c1son7l.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!skynet.be!skynet.be!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!diablo.theplanet.net!news.theplanet.net!not-for-mailReferences:
<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> <aqergu.rc.1@quant.anchedo.net>Show Full Headers
Complete Article Headers
Message-ID: <1izc6c76d7agb.bvsd0c1son7l.dlg@40tude.net> Subject: Re: [Dialog] Filtering on remailer Date: Fri, 8 Nov 2002 12:33:23 +0000 From: RickM <msuser1@mail.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> <aqergu.rc.1@quant.anchedo.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!skynet.be!skynet.be!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!diablo.theplanet.net!news.theplanet.net!not-for-mail Newsgroups: news.software.readers Lines: 22 NNTP-Posting-Host: 217.135.8.89 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: news7.svr.pol.co.uk 1036758877 15856 217.135.8.89 (8 Nov 2002 12:34:37 GMT) NNTP-Posting-Date: 8 Nov 2002 12:34:37 GMT X-Complaints-To: abuse@theplanet.net User-Agent: 40tude_Dialog/2.0.2.1