[leafnode-list] about which groups get read from and posted to a server

Cory C. Albrecht cory+leafnode at fenris.cjb.net
Sat Aug 14 23:28:57 CEST 2004


From:           	Matthias Andree <matthias.andree at gmx.de>
> Cory C. Albrecht schrieb am 2004-08-14:

Ich hawwe net es "geschrieben". Ich sprach nur Pennsylvanie Dutch, so ich 
hawwe es "geschriwwe". :-)

> > Instead of only_groups_pcre, one could have post_groups_pcre and 
> > read_groups_pcre. By default they would be .* which would allow reading 
> > from and posting to any newsgroup. For a post only server one would add

> This is a good idea, but I wonder if this can be generalized even more.

> What leafnode needs to do is a real routing task. It needs to decide
> where a post needs to go, which upstream servers (in which format, UUCP
> is still pending), if it needs to be posted locally, or if it needs to
> be mailed to the moderator instead.

But routing and how something actually gets sent are logically separate 
things. Routing doesn't care how something gets sent, only that it will be 
sent.

> Obviously this won't work for the incoming side, so there would have to
> be things like

> active_pcre
> read_pcre

The read_pcre option would be good in a situation where one has a server that 
has all newsgroups, including binaries, but is on the slow side, making it 
acceptable for getting text-only newsgroups but not binary ones.

However, I can't see what the active_pcre option would be for.

> I wonder if the default would be to route all unmatched groups to all
> known servers - and drop the feedtype parameter. Further thoughts are
> welcome.

The defaulkt should be just as it is now - if a server will accept a post it 
disappears from out.going and th eposting loop for the next server(s) never 
sees it. Why make that different?
--
Cory C. Albrecht
http://cory.doesntexist.com/
Avoid making irrevocable decisions while hungry.
 -- Robert A. Heinlein





More information about the leafnode-list mailing list