🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Randy Byers Wed, 20 Nov 1996 00:00
Problem with '+' in group name in moderators file
#12509
Author: Randy Byers
Date: Wed, 20 Nov 1996 00:00
15 lines
804 bytes
Hello,

I'm trying to add an entry to the moderators file for the
comp.lang.c++ group.  It seems that both inncheck and innd do not
like the '+' symbol in this file.

Any help would be appreciated.

Running INN 1.4 unoff4.

Randy


Re: Problem with '+' in group name in moderators file
#12541
Author: Randy Byers
Date: Thu, 21 Nov 1996 00:00
65 lines
2696 bytes
In article <yy3lobwndi1.fsf@velo.pp.vix.com> you write:
>rmbyers@mag1.magmacom.com (Randy Byers) writes:
>
>> I'm trying to add an entry to the moderators file for the
>> comp.lang.c++ group.  It seems that both inncheck and innd do not
>> like the '+' symbol in this file.
>>
>> Any help would be appreciated.
>
>Please be more specific about the problems...
>
>James Brister                                            brister@vix.com 
>Internet Software Consortium       http://www.isc.org    inn@isc.org

Ok,

I try to put the following two lines into the moderators file:

comp.std.c++:std-c++@ncar.ucar.edu
comp.lang.c++.moderated:c++-submit@netlab.cs.rpi.edu

inncheck produces the following output:

/var/news/etc/moderators:9: malformed line.
/var/news/etc/moderators:10: malformed line.

Looking at the code for inncheck, I find:

unless ( ($k, $v) = /^([\w\.\-\*]*):(.*)$/ ) {

indicates that the group name can only have alphabetic characters,
a period, a dash, or an asterisk in the group name.

I tried adding a \+ in there and inncheck doesn't generate any
more errors, but I still can't post to that group:

---------------------------------------------------------------

Thinking that maybe innd may still accept it, I did a 
'ctlinnd reload all ...' on the news server, but then
trying to post an article generates the following message:

The "comp.std.c++" newsgroup is moderated, but has no address;
ask your news administrator to fix this.

I found the following snippet of code in getmodaddr.c:

   /* If it pattern-matches the newsgroup, the second field is a
    * format for mailing, with periods changed to dashes. */
     if (wildmat(name, buff)) { 

Looking at the preceeding code, 'name' is the group name that
we're looking for in the moderators file and 'buff' is the line
just read in from the moderators file.  It looks like wildmat isn't
matching the two.

My next step is to throw some debug printf's in this section of
code and see what 'name' and 'buff' are equal to at this point in 
the code.

Randy


Re: Problem with '+' in group name in moderators file
#12554
Author: James Brister
Date: Thu, 21 Nov 1996 00:00
17 lines
1065 bytes
rmbyers@mag1.magmacom.com (Randy Byers) writes:

> I'm trying to add an entry to the moderators file for the
> comp.lang.c++ group.  It seems that both inncheck and innd do not
> like the '+' symbol in this file.
> 
> Any help would be appreciated.

Please be more specific about the problems...

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium       http://www.isc.org    inn@isc.org 

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