Article View: news.software.nntp
Article #78267Re: readers.conf does not catch localhost and allow mailpost to aprove moderation
From: Julien ÉLIE
Date: Tue, 11 Dec 2007 13:24
Date: Tue, 11 Dec 2007 13:24
55 lines
2853 bytes
2853 bytes
Hi Jon,
> i run inn 2.4.3-1 (debian etch) and i wonder why my readers.conf
> does not allow approving from localhost?
Note that INN 2.4.3-1 in Debian is in fact a 2.4.2.
You have in Lenny (2.4.3+20070806-1) a real 2.4.3.
There was a change in 2.4.3 :
Fixed yet another problem with verifying that a user has permissions
to approve posts to a moderated group. Thanks, Jens Schlegel.
I do not know whether this is exactly your problem which was fixed.
> 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.
Oh! It is perhaps another problem: when matching auth groups, the last auth group
in the file that matches a given connection and username/password combination is used.
So you should try to invert the order of your two auth groups.
Regards,
--
Julien ÉLIE
« La science consiste à passer d'un étonnement à l'autre. » (Aristote)
Technical Details
Message-ID:
<fjm337$1l5$1@news.trigofacile.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!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mailReferences:
<fjm1d0$1f5n$1@munin.diku.dk>Show Full Headers
Complete Article Headers
Message-ID: <fjm337$1l5$1@news.trigofacile.com> Subject: Re: readers.conf does not catch localhost and allow mailpost to aprove moderation Date: Tue, 11 Dec 2007 14:24:41 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <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!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 55 NNTP-Posting-Host: dhcp-246.wifi-auth.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1197379495 1701 138.195.36.246 (11 Dec 2007 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Tue, 11 Dec 2007 13:24:55 +0000 (UTC) In-Reply-To: <fjm1d0$1f5n$1@munin.diku.dk> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16480 X-MIMEOLE: Produced By Microsoft MimeOLE V6.0.6000.16545