🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137168

Re: [Dialog] Filtering on the To: field

#137168
From: foxidrive
Date: Sun, 09 Nov 2003 08:41
33 lines
2533 bytes
On Sat, 8 Nov 2003 17:55:33 +0100, Enrico Bauer wrote:

> 08.11.2003 12:12:02, *foxidrive*:

> From the helpfile:
> ,---- [dialog.chm::/scoringactionsyntax.htm] 
> Two things: The To-Header is not mentioned

That in itself means little, as the helpfile is not up to date.  However I
am guilty of failing to consult the help file and I thank you for pointing
that out to me.

> If you use the header-keyword in scoring and actions Dialog won't look
> for your entry in a specific header anymore, but in all headers from the
> XOver.

That explains the behaviour.
 
> ,---- [dialog.chm::/scoringactionsyntax.htm] 
>| When retrieving bodies for articles or when receiving emails all headers
>| are available for scoring. You can then additionally score on "Header".
>| The variable "Header" holds the complete list of header fields of the
>| message, separated by CRLF pairs. To score on this you might need to use
>| regular expressions.
> `----
> Pay attention to the second sentence!

Ahh, yes.  RE.  Again I owe you thanks.

[outgoing]
!move(george) Header  {^To:.*george@.*$}

works just fine.
Technical Details
Message-ID: <lu5mu1t9gl9x.6bgav2abebbd$.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.20140922.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
References: <1munzpn05wrus$.snsiemab0rt0$.dlg@40tude.net> <w0d8xja206th$.dlg@ID-5349.user.dfncis.de> <168nbzsiwfbbo.ew8pz0ywkze5$.dlg@40tude.net> <gfz3jpe8b0iq.a6q2lbjhte7p.dlg@40tude.net> <13uccbzv39ycf$.dlg@ID-5349.user.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <lu5mu1t9gl9x.6bgav2abebbd$.dlg@40tude.net>
Subject: Re: [Dialog] Filtering on the To: field
Date: Sun, 09 Nov 2003 08:41:15 GMT
From: foxidrive <foxidrive@Shotmail.com>
References: <1munzpn05wrus$.snsiemab0rt0$.dlg@40tude.net> <w0d8xja206th$.dlg@ID-5349.user.dfncis.de> <168nbzsiwfbbo.ew8pz0ywkze5$.dlg@40tude.net> <gfz3jpe8b0iq.a6q2lbjhte7p.dlg@40tude.net> <13uccbzv39ycf$.dlg@ID-5349.user.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.8.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 220.240.69.40
X-Original-Trace: 9 Nov 2003 19:41:14 +1000, 220.240.69.40
Lines: 33
NNTP-Posting-Host: 203.194.27.1
X-Complaints-To: abuse@comindico.com.au
X-Trace: news.optus.net.au 1068367275 203.194.27.1 (Sun,
NNTP-Posting-Date: Sun, 09 Nov 2003 19:41:15 EST
Organization: Comindico Australia - reports relating to abuse should be sent
 to abuse@comindico.com.au