🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Matthew Wiggins Thu, 28 Nov 2002 01:22
INN 2.3.3 Question: How to allow control messages like newgroup
#62140
Author: Matthew Wiggins
Date: Thu, 28 Nov 2002 01:22
22 lines
1796 bytes
I've set up a little local inn server, and i want to allow some of my users to
send control newgroup messages to automatically create groups,though running
into some difficulties.  When I post a message to control.newgroup with a header of
	Control: newgroup foo.local.bar  
(tin is invoking inews -h < message)

Then i get this message: 
Ask your news administrator to do the "newgroup" for you.
(Article not posted.)

I have also tried setting the sender field in control.ctl to one that matches
but i get the same result, any input would be appreciated.


here are the related lines from @prefix@/etc

etc/inn.conf:		usecontrolchan:         true

etc/newsfeeds:		controlchan!:!*,control,control.*:Tc,Wnsm:/usr/pkg/inn/bin/controlchan

etc/control.ctl:	newgroup:*:foo.local.*:doit
Re: INN 2.3.3 Question: How to allow control messages like newgroup
#62141
Author: Russ Allbery
Date: Thu, 28 Nov 2002 01:48
27 lines
2011 bytes
Matthew Wiggins <lithium@lists.rubiks.org> writes:

> I've set up a little local inn server, and i want to allow some of my
> users to send control newgroup messages to automatically create
> groups,though running into some difficulties.  When I post a message to
> control.newgroup with a header of

> 	Control: newgroup foo.local.bar

> (tin is invoking inews -h < message)

> Then i get this message: 
> Ask your news administrator to do the "newgroup" for you.
> (Article not posted.)

Quick solution:  Post the control messages as the news user.

Better solution:  Don't use INN's inews program for user news clients.
Instead, build and use one of the many mini-inews programs that are out
there.  INN's inews program checks more things than you want it to.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN 2.3.3 Question: How to allow control messages like newgroup
#62145
Author: Matthew Wiggins
Date: Thu, 28 Nov 2002 08:15
25 lines
2287 bytes
I was perhaps too ambiguous;
I wish to allow any nnrpd user who has access to post to control.newgroup to
have these messages with a Control: header to be sent out and the newgroup
actually created.  I had assumed that the controlchan! feed would have been
getting these articles and then executing the control command if it matched
access given in control.ctl, but posting locally over tcp with telnet shows me
that its just posting the messages as usual and no action is being taken.
I assumed that the controlchan program did this work for me, will I need to write 
a feed script that will execute my desire actions?

/Matthew Wiggins

Russ Allbery <rra@stanford.edu> wrote:
> Quick solution:  Post the control messages as the news user.

> Better solution:  Don't use INN's inews program for user news clients.
> Instead, build and use one of the many mini-inews programs that are out
> there.  INN's inews program checks more things than you want it to.

> -- 
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

>           Please post questions rather than mailing me directly.
>      <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN 2.3.3 Question: How to allow control messages like newgroup
#62146
Author: Russ Allbery
Date: Thu, 28 Nov 2002 08:20
24 lines
2027 bytes
Matthew Wiggins <lithium@lists.rubiks.org> writes:

> I wish to allow any nnrpd user who has access to post to
> control.newgroup to have these messages with a Control: header to be
> sent out and the newgroup actually created.

They need to not use INN's inews.

> I had assumed that the controlchan! feed would have been getting these
> articles and then executing the control command if it matched access
> given in control.ctl, but posting locally over tcp with telnet shows me
> that its just posting the messages as usual and no action is being
> taken.

Do they have Approved headers?  (Note that you'll also have to allow those
users to approve messages, using an access: "RPA" key or the like in
readers.conf.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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