🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Dialup Thu, 21 Aug 2008 22:35
[Xnews] filtering
#224974
Author: Dialup
Date: Thu, 21 Aug 2008 22:35
20 lines
1285 bytes
I am trying to make my score file delete headers with both "rar" and 
yenc" in the subject.  Possibly having "zip" included would be a good 
thing as well. There seem to be people that want to flood certain 
groups with files.

Below is an example header:
Wondershare YouTube Downloader v1.3.1.16.rar" yEnc (18/18)

I have tried this to flag the messages:

[.]
	Score:: -1000
	Subject: yEnc|rar

This seems to flag the message with EITHER word.  Can someone help with 
the syntax to filter on BOTH with the possible addition of "zip"?

Thanks
Dave
Re: [Xnews] filtering
#224973
Author: Mike Yetto
Date: Thu, 21 Aug 2008 23:53
46 lines
2918 bytes
Bada bing Dialup <dialupconnection@hotmailDOTcom> bada bang:
> I am trying to make my score file delete headers with both "rar" and 
> yenc" in the subject.  Possibly having "zip" included would be a good 
> thing as well. There seem to be people that want to flood certain 
> groups with files.
>
> Below is an example header:
> Wondershare YouTube Downloader v1.3.1.16.rar" yEnc (18/18)
>
> I have tried this to flag the messages:
>
> [.]
> 	Score:: -1000
> 	Subject: yEnc|rar
>
> This seems to flag the message with EITHER word.  Can someone help with 
> the syntax to filter on BOTH with the possible addition of "zip"?
>
>

Your filter is working just as you requested.  The double colon
(::) means socre on any of the following conditions.  A single
(:) means score on all the conditions.  

Since you only have one condition there is no difference to be
found there.

However, the vertical bar (|) is also aqn 'or' condition looking
for either string.

Try the following.

[.]
	Score: -1000
	Subject: yEnc
	Subject: rar

With this both strings must be present in the subject.

It's time to RTFM and the scoring.txt file.  Study up on regular
expressions and go for it.

Mike "should only take 4 or 5 years" Yetto
-- 
Pluralitas non est ponenda sine necessitas.
 - William of Ockham
Re: [Xnews] filtering
#224975
Author: Guy
Date: Fri, 22 Aug 2008 00:37
55 lines
2908 bytes
Mike Yetto wrote:

> Bada bing Dialup <dialupconnection@hotmailDOTcom> bada bang:
>> I am trying to make my score file delete headers with both "rar"
>> and yenc" in the subject.  Possibly having "zip" included would
>> be a good thing as well. There seem to be people that want to
>> flood certain groups with files.
>> 
>> Below is an example header:
>> Wondershare YouTube Downloader v1.3.1.16.rar" yEnc (18/18)
>> 
>> I have tried this to flag the messages:
>> 
>> [.]
>>      Score:: -1000
>>      Subject: yEnc|rar
>> 
>> This seems to flag the message with EITHER word.  Can someone
>> help with the syntax to filter on BOTH with the possible addition
>> of "zip"? 
>> 
>> 
> 
> Your filter is working just as you requested.  The double colon
> (::) means socre on any of the following conditions.  A single
> (:) means score on all the conditions.  
> 
> Since you only have one condition there is no difference to be
> found there.
> 
> However, the vertical bar (|) is also aqn 'or' condition looking
> for either string.
> 
> Try the following.
> 
> [.]
>      Score: -1000
>      Subject: yEnc
>      Subject: rar
>


 [.]
      Score: -1000
      Subject: yEnc
      Subject: \.rar|\.zip

You don't want to miss out on a...

Rare_Yellow-Crowned_Night-Heron_Photo.jpg" yEnc (1/1)

-- 
Guy
Xnews Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Re: [Xnews] filtering
#224978
Author: Dialup
Date: Fri, 22 Aug 2008 01:36
47 lines
2272 bytes
Mike Yetto wrote:

> Bada bing Dialup <dialupconnection@hotmailDOTcom> bada bang:
>> I am trying to make my score file delete headers with both "rar"
>> and yenc" in the subject.  Possibly having "zip" included would
>> be a good thing as well. There seem to be people that want to
>> flood certain groups with files.
>>
>> Below is an example header:
>> Wondershare YouTube Downloader v1.3.1.16.rar" yEnc (18/18)
>>
>> I have tried this to flag the messages:
>>
>> [.]
>>      Score:: -1000
>>      Subject: yEnc|rar
>>
>> This seems to flag the message with EITHER word.  Can someone
>> help with the syntax to filter on BOTH with the possible addition
>> of "zip"? 
>>
>>
> 
> Your filter is working just as you requested.  The double colon
> (::) means socre on any of the following conditions.  A single
> (:) means score on all the conditions.  
> 
> Since you only have one condition there is no difference to be
> found there.
> 
> However, the vertical bar (|) is also aqn 'or' condition looking
> for either string.
> 
> Try the following.
> 
> [.]
>      Score: -1000
>      Subject: yEnc
>      Subject: rar
> 
> With this both strings must be present in the subject.
> 
> It's time to RTFM and the scoring.txt file.  Study up on regular
> expressions and go for it.

Believe it or not, I had RTFM.  I guess I missed the part about the 
double colon.  Thanks for your help.
Re: [Xnews] filtering
#224977
Author: Dialup
Date: Fri, 22 Aug 2008 01:37
54 lines
2321 bytes
Guy wrote:

> Mike Yetto wrote:
> 
>> Bada bing Dialup <dialupconnection@hotmailDOTcom> bada bang:
>>> I am trying to make my score file delete headers with both "rar"
>>> and yenc" in the subject.  Possibly having "zip" included would
>>> be a good thing as well. There seem to be people that want to
>>> flood certain groups with files.
>>> 
>>> Below is an example header:
>>> Wondershare YouTube Downloader v1.3.1.16.rar" yEnc (18/18)
>>> 
>>> I have tried this to flag the messages:
>>> 
>>> [.]
>>>      Score:: -1000
>>>      Subject: yEnc|rar
>>> 
>>> This seems to flag the message with EITHER word.  Can someone
>>> help with the syntax to filter on BOTH with the possible addition
>>> of "zip"? 
>>> 
>>> 
>> 
>> Your filter is working just as you requested.  The double colon
>> (::) means socre on any of the following conditions.  A single
>> (:) means score on all the conditions.  
>> 
>> Since you only have one condition there is no difference to be
>> found there.
>> 
>> However, the vertical bar (|) is also aqn 'or' condition looking
>> for either string.
>> 
>> Try the following.
>> 
>> [.]
>>      Score: -1000
>>      Subject: yEnc
>>      Subject: rar
>>
> 
> 
>  [.]
>       Score: -1000
>       Subject: yEnc
>       Subject: \.rar|\.zip
> 
> You don't want to miss out on a...
> 
> Rare_Yellow-Crowned_Night-Heron_Photo.jpg" yEnc (1/1)

Thanks Guy.
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