🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Mildred Ki'Lya Sat, 18 Feb 2017 00:39
Cannot sent approved posts to my INN news server
#87591
Author: Mildred Ki'Lya
Date: Sat, 18 Feb 2017 00:39
37 lines
1826 bytes
Hi,

I am configuring INN v2 as a news server in a controlled environment. I would like everyone who has access to the server to be able to read, post, and send messages with Approved header.

My readers.conf is:

      auth default {
        hosts: *
        default: <PUBLIC>
      }

      access default {
        users: <PUBLIC>
        newsgroups: *
        access: "RPA"
      }

But when I send a message with the headers:

    Control: newgroup alt
    Approved: my.email@example.org

I get the following on the logs:

Feb 18 01:31:09 perrin nnrpd[17682]: fcb0:7cbc:4a57:18f1:3bbe:f9b0:38c5:fe4d post failed You are not allowed to approve postings
Feb 18 01:31:09 perrin nnrpd[17682]: fcb0:7cbc:4a57:18f1:3bbe:f9b0:38c5:fe4d post failed You are not allowed to approve postings


What is wrong here? Why can't posts be approbed. I set the "A" access correctly, didn't I?

Thanks


-- 
Mildred Ki'Lya <mildred@mildred.fr>

Re: Cannot sent approved posts to my INN news server
#87592
Author: Russ Allbery
Date: Sat, 18 Feb 2017 02:55
44 lines
2431 bytes
Mildred Ki'Lya <mildred@mildred.fr> writes:

> I am configuring INN v2 as a news server in a controlled environment. I
> would like everyone who has access to the server to be able to read,
> post, and send messages with Approved header.

> My readers.conf is:

>       auth default {
>         hosts: *
>         default: <PUBLIC>
>       }

>       access default {
>         users: <PUBLIC>
>         newsgroups: *
>         access: "RPA"
>       }

> But when I send a message with the headers:

>     Control: newgroup alt
>     Approved: my.email@example.org

> I get the following on the logs:

> Feb 18 01:31:09 perrin nnrpd[17682]: fcb0:7cbc:4a57:18f1:3bbe:f9b0:38c5:fe4d post failed You are not allowed to approve postings
> Feb 18 01:31:09 perrin nnrpd[17682]: fcb0:7cbc:4a57:18f1:3bbe:f9b0:38c5:fe4d post failed You are not allowed to approve postings

Are you *sure* that's the entirety of your readers.conf and you've
reloaded nnrpd (or it's started dynamically) since you changed it?  A very
similar configuration works fine for me, and I can't see anything wrong
with what you've posted.

(Please don't test by sending control messages, even if you think your
host is isolated from the rest of Usenet.  They tend to leak.)

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: Cannot sent approved posts to my INN news server
#87593
Author: Mildred Ki'Lya
Date: Sat, 18 Feb 2017 18:07
30 lines
2375 bytes
On Fri, 17 Feb 2017 18:55:42 -0800
Russ Allbery <eagle@eyrie.org> wrote:
>
> Are you *sure* that's the entirety of your readers.conf and you've
> reloaded nnrpd (or it's started dynamically) since you changed it?  A very
> similar configuration works fine for me, and I can't see anything wrong
> with what you've posted.

Yes, I have absolutely nothing else in that file, that's why I find this strange that it doesn't work.

I tested again now, and it works. I don't know, perhaps my client (Pan) was buffering messages (I noticed a queue) or perhaps a connection was left over and by now, it was a new connection with the credentials. I thought I had properly closed all connection yesterday during my tests, but apparently not.

> (Please don't test by sending control messages, even if you think your
> host is isolated from the rest of Usenet.  They tend to leak.)

How can I test otherwise?

I'm pretty sure I'm disconnected. The configuration is standard configuration (from debian package). innfeed.conf is empty save for comments, and newsfeeds contains the following configuration:

	ME:!*/!local,!collabra-internal::
	controlchan!\
	        :!*,control,control.*,!control.cancel\
	        :AC,Tc,Wnsm:/usr/lib/news/bin/controlchan

Also, I suppose I have to get approval from other news servers if I want to forward them messages.

-- 
Mildred Ki'Lya <mildred@mildred.fr>

Re: Cannot sent approved posts to my INN news server
#87594
Author: Russ Allbery
Date: Sat, 18 Feb 2017 18:24
34 lines
2291 bytes
Mildred Ki'Lya <mildred@mildred.fr> writes:

>> (Please don't test by sending control messages, even if you think your
>> host is isolated from the rest of Usenet.  They tend to leak.)

> How can I test otherwise?

I would create a local moderated newsgroup (ctlinnd newgroup group.name m)
and then try posting to that.  Control messages are kind of another level
of complexity.

> I'm pretty sure I'm disconnected. The configuration is standard
> configuration (from debian package). innfeed.conf is empty save for
> comments, and newsfeeds contains the following configuration:

> 	ME:!*/!local,!collabra-internal::
> 	controlchan!\
> 	        :!*,control,control.*,!control.cancel\
> 	        :AC,Tc,Wnsm:/usr/lib/news/bin/controlchan

> Also, I suppose I have to get approval from other news servers if I want
> to forward them messages.

Yeah, I'm sure it's fine, but it's just a bad habit to get into since
control messages have special propagation rules and go places you don't
expect if you ever have external feeds.

-- 
Russ Allbery (eagle@eyrie.org)              <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