🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by jdub Sun, 19 Sep 2004 02:57
Xnews: kill based on user-agent?
#155866
Author: jdub
Date: Sun, 19 Sep 2004 02:57
18 lines
1965 bytes
Been using Forte Agent for many years now, just today found that they 
released 2.0.  Rather than upgrade, I'm trying Xnews (this is my first 
post.)

In one of the groups that I monitor, there is a sad troll with seeming no 
life beyond his constant annoying postings. He changes names frequently, 
and so I can't killfile him based on that. However, it was suggested to 
filter on the User-Agent header, as he uses OE on a Mac to post and the 
particular group in question is for a Windows-only graphics product.

Can this be done in Xnews? I'm trying to use the score file but can't seem 
to get it to work. Now shows

(group name)
Score:: -9999
XRef: User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022

Thanks!
Re: Xnews: kill based on user-agent?
#155870
Author: »Q«
Date: Sun, 19 Sep 2004 05:19
37 lines
2415 bytes
"jdub@nospamforme.com" <jdub@nospamforme.com> wrote in
<news:Xns9568E9E70A5591956671821@207.115.63.158>:

> it was suggested to filter on the User-Agent header, as he uses OE
> on a Mac to post and the particular group in question is for a
> Windows-only graphics product.
>
> Can this be done in Xnews?

Yes.  It will only work if your server supports the XHDR command;
otherwise Xnews can only score on the headers it gets initially with
XOVER, and they don't include User-Agent.

> I'm trying to use the score file but can't seem to get it to work.
> Now shows
>
> (group name)
> Score:: -9999
> XRef: User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
>
> Thanks!

You don't want the "Xref" in there.

 [group name]
   Score:: -9999
   User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5\.02\.2022

The backslashes are escape characters.  Without them, the dots are
special characters;  the backslashes make them literal dots.

You might want to score them higher than -9999 until you are sure the
rule is working as you wish.

-- 
»Q«
     <http://www.cotse.net/users/putty/help.htm>
Re: Xnews: kill based on user-agent?
#155883
Author: sittingduck
Date: Sun, 19 Sep 2004 06:41
14 lines
1235 bytes
jdub@nospamforme.com wrote:

> Rather than upgrade, I'm trying Xnews (this is my first 
> post.)
> 

Congratulations! Stick with Xnews, if you like usenet, it will pay off big-
time in the long run.



-- 
9/18/2004  
11:40 PM [GMT-8]
Re: Xnews: kill based on user-agent?
#155875
Author: Tech Zero
Date: Sun, 19 Sep 2004 06:48
48 lines
2539 bytes
The voice of "jdub@nospamforme.com" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> Been using Forte Agent for many years now, just today found that
> they released 2.0.  Rather than upgrade, I'm trying Xnews (this is
> my first post.)
> 
> In one of the groups that I monitor, there is a sad troll with
> seeming no life beyond his constant annoying postings. He changes
> names frequently, and so I can't killfile him based on that.
> However, it was suggested to filter on the User-Agent header, as
> he uses OE on a Mac to post and the particular group in question
> is for a Windows-only graphics product. 
> 
> Can this be done in Xnews? 


"Q" steered you right...
But don't fret if it doesn't work.

Since he's using OE his MID is provided by his provider, so you can 
successfully filter on the domain part, for example:

   [groupname]
   Score: -9000
      Message-ID: @news\.prodigy\.com>

And if there are a few "innocence" trapped you can add an exception:

   [groupname]
   Score: -9000
      Message-ID: @news\.prodigy\.com>
      ~From: tom@hickory\.org|dick@yiffline\.ca|harry@bookyars.com


And if you're not afraid to get your "hands dirty" you can achieve the 
desired results with a simple Hamster setup and the following entry:

   [groupname]
   ?-2000 user-agent "Macintosh-Edition/5.02.2022"
OR
   [{Group Regex}]
   ?-2000 user-agent "Macintosh-Edition/5.02.2022"

("Microsoft-Outlook-Express" should not be needed to match.)

-- 
The Tech Zero, Maxx "What's That Score" Pollare...
Re: Xnews: kill based on user-agent?
#155917
Author: DC
Date: Mon, 20 Sep 2004 13:53
30 lines
1850 bytes
jdub@nospamforme.com wrote:
> Been using Forte Agent for many years now, just today found that they 
> released 2.0.  Rather than upgrade, I'm trying Xnews (this is my first 
> post.)
[...]

Xnews *is* an upgrade.  };O)

Here are some good links, to help you on your way:

General Xnews Help:
http://xnews.newsguy.com/manual.html
http://www.geocities.com/d4vidb
http://www.seegras.de/xnews

Xnews and binaries:
http://xnews.newsguy.com/sizer/
http://www.mousetrap.net/%7Emouse/otr/xnewsbin.html
http://www.help4newbies.fsnet.co.uk/xnews_page_1.htm


And, if you want to dress it up a bit, drop in on my site:
http://dcicons.fateback.com

Enjoy!

-- 
DC                          Linux RU #1000111011000111001

Failure is not an option.  It comes bundled with Windows.
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