🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45403

Re: News routing software

#45403
From: Joe Greco
Date: Thu, 30 Mar 2000 00:00
42 lines
3101 bytes
In news.software.nntp article <38e44efa.118505996@news.nntpserver.com>, mouse@NOSPAM.nibble.net (Steve Walker) wrote:
:>> In the feedout example it opens 4 streams to the non standard port and
:>> sends all articles <150000 bytes and articles that match the listed
:>> header deny patterns.  Can Diablo select articles to feed based on
:>> header fields like Subject, MessageID, From, and Newsgroups?
:>
:>    I can't really see a reason why you'd want to select on arbitrary 
:>headers.  It can select based on distribution, newsgroup(s), and article 
:>size (minimum and/or maximum), and those are really the only factors 
:>that I consider to be of importance.
:
:My idea was to allow the ability and let others find uses for it.  I
:can think of several uses for incoming/outgoing/spool filters like
:this.  For example, what if site you feed doesn't want cancel
:messages.  You could use "DenySubject cmsg cancel" just for that
:outbound feed.   Another example would be what if you didn't want to
:route articles from a certain adult web site spam factory and they use
:different nntp account every week, but they always use the same From
:field or the same domain name in the MessageID.  You could use a
:global Deny rule drop any article from them.  Then you wouldn't route
:the article or even store it in your spool.  It's just nice to be able
:to do stuff like this.  It's one of those things I think people will
:like the more they use it.

And those few that do actually want to do this, certainly do so... they
just pop it into the filter, which was explicitly designed to allow more
complex policy-driven stuff to go on.  Using "DenySubject cmsg cancel"
is certainly wrong, in any case, as that does not work the way you
suggest.  As long as you're chugging away, though, you should also
consider ways to filter stuff like body text, or content within encoded
files...  filtering based just on headers is not too useful for the
long term.

I think if I believed that there was a wide interest in this, that I'd
probably put support into Diablo for it.  But I don't, so...

Diablo allows you to eliminate (or select) control messages, incidentally,
just "{del,add}group control.*".

... JG

Technical Details
Message-ID: <38e38103$0$1391@news.execpc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <38dc7c3a$1_1@news.nntpserver.com> <38e2872c.67348366@news.nntpserver.com> <brad-B813AF.02500530032000@news.skynet.be> <38e44efa.118505996@news.nntpserver.com>

Show Full Headers
Complete Article Headers
Message-ID: <38e38103$0$1391@news.execpc.com>
Subject: Re: News routing software
Date: Thu, 30 Mar 2000 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <38dc7c3a$1_1@news.nntpserver.com> <38e2872c.67348366@news.nntpserver.com> <brad-B813AF.02500530032000@news.skynet.be> <38e44efa.118505996@news.nntpserver.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 604395656
Sender: jgreco@earth.execpc.com
X-Trace: aa947GC]WWo<>B:AIRX>eabfNiaEHUgJgRYcgIRLSUEm4;ZONm6JCfmcC]WZ`7_6Rl21Vkhja922fl=jlCRBl;3c4dTgmFn@Shg
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com