🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78265

readers.conf does not catch localhost and allow mailpost to aprove moderation

#78265
From: Jon Bendtsen
Date: Tue, 11 Dec 2007 12:56
41 lines
2335 bytes
Hi

i run inn 2.4.3-1 (debian etch) and i wonder why my readers.conf does not allow approving from localhost?

readers.conf:
--------------------------------------------------------------------------------
auth "localhost" {
    hosts: "localhost, 127.0.0.1, stdin, dknntp.laerdal.global, 192.168.123.235"
    default: "<localhost>"
}

access "localhost" {
    users: "<localhost>"
    newsgroups: "*"
    access: RPA
}

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

access "ALL" {
    users: <PUBLIC>
    newsgroups: *,!junk,!control,!control.*
    access: RPA
}
---------------------------------------------------------------------------------

I had to add A to the access line in ALL.

I was trying to use mailpost to fetch emails and post them as news messages, but i kept on getting this error message:
 
inews failed: inews: cannot send article to server: 441 You are not allowed to approve postings inews: article not posted

I rather quickly found the A flag was needed in readers.conf, but i wonder why it is not enough with adding the local dns name and ip address to the localhost access?




JonB
Technical Details
Message-ID: <fjm1d0$1f5n$1@munin.diku.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.sovam.com!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!munin.diku.dk!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <fjm1d0$1f5n$1@munin.diku.dk>
Subject: readers.conf does not catch localhost and allow mailpost to aprove moderation
Date: Tue, 11 Dec 2007 13:56:01 +0100
From: Jon Bendtsen <noone@example.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.sovam.com!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!munin.diku.dk!not-for-mail
Newsgroups: news.software.nntp
Organization: Department of Computer Science, University of Copenhagen
Lines: 41
NNTP-Posting-Host: tyr.diku.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: munin.diku.dk 1197377760 48311 130.225.96.226 (11 Dec 2007 12:56:00
 GMT)
X-Complaints-To: news@diku.dk
NNTP-Posting-Date: Tue, 11 Dec 2007 12:56:00 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031)