🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by foxidrive Fri, 07 Nov 2003 14:00
[Dialog] Filtering on the To: field
#137053
Author: foxidrive
Date: Fri, 07 Nov 2003 14:00
7 lines
1324 bytes
I have my sent email filed in an outgoing folder - is there a way to
implement this kind of action?

[outgoing]
!move(george) to "george@hotmail.com"
Re: [Dialog] Filtering on the To: field
#137083
Author: Enrico Bauer
Date: Fri, 07 Nov 2003 20:49
13 lines
1517 bytes
07.11.2003 15:00:49, *foxidrive*:

> I have my sent email filed in an outgoing folder - is there a way to
> implement this kind of action?
> 
> [outgoing]
> !move(george) to "george@hotmail.com"

No AFAICS.

Help --> Mantis --> feature request. :-)

Enrico B.
Re: [Dialog] Filtering on the To: field
#137107
Author: foxidrive
Date: Sat, 08 Nov 2003 07:18
13 lines
1525 bytes
On Fri, 7 Nov 2003 21:49:33 +0100, Enrico Bauer wrote:

> 07.11.2003 15:00:49, *foxidrive*:
> 
>> [outgoing]
>> !move(george) to "george@hotmail.com"
> 
> No AFAICS.
> 
> Help --> Mantis --> feature request. :-)
> 

Done.   Thanks Enrico.
Re: [Dialog] Filtering on the To: field
#137121
Author: foxidrive
Date: Sat, 08 Nov 2003 11:12
37 lines
2265 bytes
On Sat, 08 Nov 2003 07:18:07 GMT, foxidrive wrote:

> On Fri, 7 Nov 2003 21:49:33 +0100, Enrico Bauer wrote:
> 
>> 07.11.2003 15:00:49, *foxidrive*:
>> 
>>> [outgoing]
>>> !move(george) to "george@hotmail.com"
>> 
>> No AFAICS.
>> 
>> Help --> Mantis --> feature request. :-)
>> 
> 
> Done.   Thanks Enrico.

Enrico, 
The use of the Header keyword was pointed out to me and I have been playing
around with it.  Is this a supported syntax and should it only score msgs
TO an address that contains george?

[outgoing]
+20 Header (To) "george"


In my tests it scores as 20 the emails that are addressed to george as well
as messages that are from george, but addressed to someone else (and which
does not contain george).  

IE: The sample contained messages from myself to myself ("george") as well
as messages from myself to another person, and all of them were scored as
20.


Seeking enlightenment,
foxidrive
Re: [Dialog] Filtering on the To: field
#137135
Author: Enrico Bauer
Date: Sat, 08 Nov 2003 16:55
68 lines
4098 bytes
08.11.2003 12:12:02, *foxidrive*:
> On Sat, 08 Nov 2003 07:18:07 GMT, foxidrive wrote:
>> On Fri, 7 Nov 2003 21:49:33 +0100, Enrico Bauer wrote:
>>> 07.11.2003 15:00:49, *foxidrive*:
>>>> [outgoing]
>>>> !move(george) to "george@hotmail.com"
>>> No AFAICS.
> The use of the Header keyword was pointed out to me and I have been playing
> around with it.  Is this a supported syntax and should it only score msgs
> TO an address that contains george?

I don't think so. AFAIS you cannot score or connect an action to the
To-Header.

>From the helpfile:

,---- [dialog.chm::/scoringactionsyntax.htm] 
| When retrieving article headers in an XOver operation you can score on
| the following headers: 
| 
| From         The From header field 
| Subject      The Subject of the message 
| Date         The Date of the message 
| Message-ID   The Message-ID of the message 
| References   The contents of the References header field 
| Bytes        The number of bytes of the message 
| Lines        The number of lines of the message 
| XRef         The contents of the XRef header field 
| XPost        A virtual, numerical field holding the number of groups
|              this message was posted to. 
| Age          A virtual, numerical field holding the age of the article
|              in numbers of days. 
| Score        The score of the message
`----

Two things: The To-Header is not mentioned and the help file speaks of
"retrieving" only. Scoring on these headers works *without* the
header-keyword.

> [outgoing]
> +20 Header (To) "george"
> In my tests it scores as 20 the emails that are addressed to george as well
> as messages that are from george, but addressed to someone else (and which
> does not contain george).  
> IE: The sample contained messages from myself to myself ("george") as well
> as messages from myself to another person, and all of them were scored as
> 20.


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.

,---- [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!

So - what you're trying to achieve is just not possible at the moment
(as I said from the beginning ;-)). Your scoring rule will match every
time there's a "george" somewhere in any header.

Enrico B.
Re: [Dialog] Filtering on the To: field
#137168
Author: 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.
[ Dialog ] {^To:.*george@.*$}
#137173
Author: Jeff Relf
Date: Sun, 09 Nov 2003 11:40
4 lines
1514 bytes
Hi  foxidrive ,  You come up with :
  " !move(george) Header  {^To:.*george@.*$} "

Very clever !
Re: [Dialog] Filtering on the To: field
#137174
Author: Enrico Bauer
Date: Sun, 09 Nov 2003 13:31
18 lines
2017 bytes
09.11.2003 09:41:15, *foxidrive*:
> On Sat, 8 Nov 2003 17:55:33 +0100, Enrico Bauer wrote:
>> 08.11.2003 12:12:02, *foxidrive*:
> Ahh, yes.  RE.  Again I owe you thanks.
> [outgoing]
> !move(george) Header  {^To:.*george@.*$}
> works just fine.

So, at the end, I was just...

,---- [Message-ID: <13uccbzv39ycf$.dlg@ID-5349.user.dfncis.de>] 
| So - what you're trying to achieve is just not possible at the moment
| (as I said from the beginning ;-)).
`----

...wrong.

Enrico B.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads