David Aldred | 3 Sep 2005 11:27
Picon

Request -moderated groups


I have a problem - the news server upstream from here is bad at dealing with 
moderated groups (about 1 in 5 posts seem to make it!), and the ISP doesn't 
seem interested (or possibly can't work out what the problem is).

I was hoping that using a local server on my system would get round this, and 
leafnode looks good - but all it does is pass the moderated posts upstream, 
so straight back to the problem server!

Is there any chance of any development to leafnode so that it would (perhaps 
optionally) mail moderated group posts to the moderation address rather than 
send them on to the upstream newsserver?  

I'd be glad to help, but my programming skills are, well, amateur: so far, 
looking at the code, I haven't even worked out where the leafnode suite 
identifies moderated posts to flag them for posting only once!

--

-- 
David Aldred
Matthias Andree | 3 Sep 2005 11:48
Picon
Picon

Re: Request -moderated groups

David Aldred <nr@...> writes:

> I have a problem - the news server upstream from here is bad at dealing with 
> moderated groups (about 1 in 5 posts seem to make it!), and the ISP doesn't 
> seem interested (or possibly can't work out what the problem is).
>
> I was hoping that using a local server on my system would get round this, and 
> leafnode looks good - but all it does is pass the moderated posts upstream, 
> so straight back to the problem server!
>
> Is there any chance of any development to leafnode so that it would (perhaps 
> optionally) mail moderated group posts to the moderation address rather than 
> send them on to the upstream newsserver?  

You might want to try leafnode-2 (alpha version, but should work OK) and
configure the moderator address explicitly (see README.html for
information on the moderators file format). leafnode-2 address:
<http://home.pages.de/~mandree/leafnode/beta/>

Let me know if that helps.

--

-- 
Matthias Andree
David Aldred | 3 Sep 2005 12:06
Picon

Re: Request -moderated groups

On Saturday 03 Sep 2005 10:48, Matthias Andree wrote:
> David Aldred <nr@...> writes:
> > I have a problem - the news server upstream from here is bad at dealing
> > with moderated groups (about 1 in 5 posts seem to make it!), and the ISP
> > doesn't seem interested (or possibly can't work out what the problem is).
> >
> > I was hoping that using a local server on my system would get round this,
> > and leafnode looks good - but all it does is pass the moderated posts
> > upstream, so straight back to the problem server!
> >
> > Is there any chance of any development to leafnode so that it would
> > (perhaps optionally) mail moderated group posts to the moderation address
> > rather than send them on to the upstream newsserver?
>
> You might want to try leafnode-2 (alpha version, but should work OK) and
> configure the moderator address explicitly (see README.html for
> information on the moderators file format). leafnode-2 address:
> <http://home.pages.de/~mandree/leafnode/beta/>
>
> Let me know if that helps.
>
Thanks for the suggestion - before compiling it (I've got something else in 
the middle of a compile at the moment!), I've looked at readme.html.   This 
seems to indicate that moderators can only be set for *local* groups - is 
that not the case?

If not (ie if explicitly setting a moderators address for an external group 
will work), then this sounds exactly what I need!  Not the first time I've 
asked a Linux programmer about a feature only to find someone else has 
already made it work :-)
(Continue reading)

Joerg Dietrich | 3 Sep 2005 13:00
Gravatar

Re: Request -moderated groups

On Sat, Sep 03, 2005 at 11:06:13AM +0100, David Aldred wrote:
> Thanks for the suggestion - before compiling it (I've got something else in 
> the middle of a compile at the moment!), I've looked at readme.html.   This 
> seems to indicate that moderators can only be set for *local* groups - is 
> that not the case?

The moderators file was added for local groups but supports
non-local groups as well.

-- Jo:rg

--

-- 
       ---===  Encrypted mail preferred. Key-ID: 1024D/2B693EBF  ===---
Fortune cookie of the day:
No amount of careful planning will ever replace dumb luck.
David Aldred | 3 Sep 2005 13:39
Picon

Re: Request -moderated groups

On Saturday 03 Sep 2005 12:00, Joerg Dietrich wrote:
> On Sat, Sep 03, 2005 at 11:06:13AM +0100, David Aldred wrote:
> > Thanks for the suggestion - before compiling it (I've got something else
> > in the middle of a compile at the moment!), I've looked at readme.html.  
> > This seems to indicate that moderators can only be set for *local* groups
> > - is that not the case?
>
> The moderators file was added for local groups but supports
> non-local groups as well.

Thankyou - I'm trying it and it seems to be working exactly as I need it to.

A question: how difficult would it be to add functionality to make this happen 
for any moderated group, without having to add addresses manually 
to /etc/leafnode/moderators?  What I'm thinking is this: a format for a line 
in the moderators file something like

uk*:  <at> usenet.org.uk

... to apply to moderated groups in the whole uk.* hierarchy, simply adding 
' <at> usenet.org.uk' to the newsgroup name for the moderation address. 

From a very quick look at the code in moderated.c, I think I could manage to 
write something to parse this sort of line and add it in there - if 
getmoderator() only gets called for moderated groups, then I think that would 
make this work.  

--

-- 
David Aldred
(Continue reading)

Joerg Dietrich | 3 Sep 2005 13:58
Gravatar

Re: Request -moderated groups

On Sat, Sep 03, 2005 at 12:39:10PM +0100, David Aldred wrote:
> A question: how difficult would it be to add functionality to make this happen 
> for any moderated group, without having to add addresses manually 
> to /etc/leafnode/moderators?  What I'm thinking is this: a format for a line 
> in the moderators file something like
> 
> uk*:  <at> usenet.org.uk
> 
> ... to apply to moderated groups in the whole uk.* hierarchy, simply adding 
> ' <at> usenet.org.uk' to the newsgroup name for the moderation address. 

Again, it's already there. The line for this would read

uk.*:%s <at> usenet.org.uk

> From a very quick look at the code in moderated.c, 

Check lines 47-59 again :-)

-- Jo:rg

--

-- 
       ---===  Encrypted mail preferred. Key-ID: 1024D/2B693EBF  ===---
Fortune cookie of the day:
No amount of careful planning will ever replace dumb luck.
David Aldred | 3 Sep 2005 15:18
Picon

Re: Request -moderated groups

On Saturday 03 Sep 2005 12:58, Joerg Dietrich wrote:
> On Sat, Sep 03, 2005 at 12:39:10PM +0100, David Aldred wrote:
> > A question: how difficult would it be to add functionality to make this
> > happen for any moderated group, without having to add addresses manually
> > to /etc/leafnode/moderators?  What I'm thinking is this: a format for a
> > line in the moderators file something like
> >
> > uk*:  <at> usenet.org.uk
> >
> > ... to apply to moderated groups in the whole uk.* hierarchy, simply
> > adding ' <at> usenet.org.uk' to the newsgroup name for the moderation address.
>
> Again, it's already there. The line for this would read
>
> uk.*:%s <at> usenet.org.uk
>
Great!  

> > From a very quick look at the code in moderated.c,
>
> Check lines 47-59 again :-)

Ah, yes.   I thought it was just a standard printf format string token being 
used in a way I hadn't fully grasped!

Thanks - this is exactly what I needed. 

--

-- 
David Aldred

(Continue reading)

Matthias Andree | 3 Sep 2005 17:34
Picon
Picon

Re: Request -moderated groups

David Aldred <nr@...> writes:

> Thanks for the suggestion - before compiling it (I've got something else in 
> the middle of a compile at the moment!), I've looked at readme.html.   This 
> seems to indicate that moderators can only be set for *local* groups - is 
> that not the case?

It can only be set for *moderated* groups, whatever their origin.

--

-- 
Matthias Andree
Matthias Andree | 8 Sep 2005 09:21
Picon
Picon

Re: xinetd per_source limit routinely exceeded by certain hosts

"Bulgrien, Kevin" <Kevin.Bulgrien@...> writes:

> I know this borders on off-topic, but does anyone have any ideas about
> whether there is a way to configure Outlook Express to not be so heavy-
> handed?  Yes, I know, do not use Outlook Express... but you know how
> that goes over sometimes.  Most hosts do not cause trouble, but a few
> are regular rabble-rousers.

As no-one has responded yet, and stating the obvious: the Microsoft
Knowledgebase might have information on that. Perhaps there is an
explicit or hidden registry option or something to limit the amount of
connections per server.

>         instances       = 7
>         per_source      = 3
> }
>
> "per_source" is the culprit.  I can jack this setting up, but it almost
> seems that for some clients, per_source has to be set to the total number
> of local newsgroups - which seems ridiculous.  I do not think I want
> clients opening over a hundred connections just to check for
> messages...

per_source = 3 is a bit low and lower than what's recommended for IMAP,
for instance - I'd set this to 6 if possible, and bump instances
accordingly (perhaps 15) if your server can stand the memory load.

> One note.  This did not occur on the same hardware platform running RH7.2.
> At the time we were not running a firewall on the server.  Now that we are
> on a Mandriva 10.1 installation (security updates all applied) and using a
(Continue reading)

Robert Marshall | 9 Sep 2005 21:08
Picon
Picon

groupinfo has lost some moderated flags

[leafnode version 2.0.0.alpha20050810a]

I recently did a fetchnews -f in order to solve a problem and I've just
noticed that various moderated groups are now not moderated according to
the groupinfo file (I've no evidence that it was the -f that did it but I'm
pretty sure it was ok until very recently)

So I have (starting at the end)

200 Leafnode NNTP daemon, version 2.0.0.alpha20050810a ...
list active za.net.maps
215 Newsgroups in form "group high low flags".
za.net.maps 0000000001 0000000001 y

but the upstream servers have
za.net.maps 0000001004 0000001002 m (ntlworld)

za.net.maps 0000000005 0000000004 m (news.individual.net)

there are various others locally that are similarly incorrect, but some are
fine e.g.

200 Leafnode NNTP daemon, version 2.0.0.alpha20050810a ....
list active wales.usenet.announce
215 Newsgroups in form "group high low flags".
wales.usenet.announce 0000000001 0000000001 m

should I try another fetchnews -f - is a debugmode setting at the same time
recommended in case it's a leafnode problem?

(Continue reading)


Gmane