🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Adam Thu, 29 May 2003 01:28
connection to INN problems I think readers.conf
#65554
Author: Adam
Date: Thu, 29 May 2003 01:28
9 lines
1169 bytes
I can telnet to port 119 on my server but can't connect to the news
server with a client.  I think the problem is with the readers.conf
but could not make enough sense of the directions.  I want to allow
anyone to be able to read the messages and authenticated users to be
able to post from all domains.  How is this done?

Thanks,
Adam
Re: connection to INN problems I think readers.conf
#65546
Author: Jeffrey M. Vinocur
Date: Thu, 29 May 2003 01:34
36 lines
1872 bytes
In article <cd8f2d8b.0305281728.4e4a2067@posting.google.com>,
Adam <adaml@jbase.com> wrote:
>I can telnet to port 119 on my server but can't connect to the news
>server with a client.  I think the problem is with the readers.conf
>but could not make enough sense of the directions.  I want to allow
>anyone to be able to read the messages and authenticated users to be
>able to post from all domains.  How is this done?

You haven't described an authentication scheme, but something
like this should do it (untested):

auth {
    hosts: "*"
    default: "<public>"
}

auth {
    hosts: "*"
    auth: "ckpasswd -f /usr/local/news/userdatabase"
}

access {
    users: "*"
    newsgroups: "*,!junk,!control,!control.*"
}

access {
    users: "<public>"
    read: "*,!junk,!control,!control.*"
    post: "!*"
}

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: connection to INN problems I think readers.conf
#65548
Author: Adam Lipson
Date: Thu, 29 May 2003 02:02
48 lines
2259 bytes
Jeff,

I hope to integrate this into mailman.  Any idea if this is possible?  Also,
is this all I need in my readers.conf?  Anything else I need to monkey with?
I will admit I am new to INN (you could not guess huh?).

Thanks,
Adam
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:bb3o2o$5jg$1@puck.litech.org...
> In article <cd8f2d8b.0305281728.4e4a2067@posting.google.com>,
> Adam <adaml@jbase.com> wrote:
> >I can telnet to port 119 on my server but can't connect to the news
> >server with a client.  I think the problem is with the readers.conf
> >but could not make enough sense of the directions.  I want to allow
> >anyone to be able to read the messages and authenticated users to be
> >able to post from all domains.  How is this done?
>
> You haven't described an authentication scheme, but something
> like this should do it (untested):
>
> auth {
>     hosts: "*"
>     default: "<public>"
> }
>
> auth {
>     hosts: "*"
>     auth: "ckpasswd -f /usr/local/news/userdatabase"
> }
>
> access {
>     users: "*"
>     newsgroups: "*,!junk,!control,!control.*"
> }
>
> access {
>     users: "<public>"
>     read: "*,!junk,!control,!control.*"
>     post: "!*"
> }
>
> -- 
> Jeffrey M. Vinocur
> jeff@litech.org


Re: connection to INN problems I think readers.conf
#65549
Author: Jeffrey M. Vinocur
Date: Thu, 29 May 2003 02:17
23 lines
1726 bytes
In article <bb3pn4$rii$1@bob.news.rcn.net>,
Adam Lipson <adaml@jbase.com> wrote:
>
>I hope to integrate this into mailman.  Any idea if this is possible?

In my experience, the Mailman news-mail gateway stuff works just
fine.  (If you're using a version where it calls the gateway
script from cron, and the news server is down, you get an email
every however many minutes, which is a bit of a surprise the
first time.)


>is this all I need in my readers.conf?

I think so.  Obviously, you need to generate the file for
ckpasswd to work with (see the manpage, but Apache's htpasswd
utility will do it easily).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: connection to INN problems I think readers.conf
#65550
Author: Adam Lipson
Date: Thu, 29 May 2003 02:17
68 lines
2776 bytes
FYI when I put in your code I got this using outlook express as the news
agent:

503 NNTP server unavailable. Try later.

Configuration:
   Account: listserver.xxx.com
   Server: listserver.xxx.com
   Protocol: NNTP
   Port: 119
   Secure(SSL): 0
   Error Number: 503
   Code: 800ccca0

"Adam Lipson" <adaml@jbase.com> wrote in message
news:bb3pn4$rii$1@bob.news.rcn.net...
> Jeff,
>
> I hope to integrate this into mailman.  Any idea if this is possible?
Also,
> is this all I need in my readers.conf?  Anything else I need to monkey
with?
> I will admit I am new to INN (you could not guess huh?).
>
> Thanks,
> Adam
> "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
> news:bb3o2o$5jg$1@puck.litech.org...
> > In article <cd8f2d8b.0305281728.4e4a2067@posting.google.com>,
> > Adam <adaml@jbase.com> wrote:
> > >I can telnet to port 119 on my server but can't connect to the news
> > >server with a client.  I think the problem is with the readers.conf
> > >but could not make enough sense of the directions.  I want to allow
> > >anyone to be able to read the messages and authenticated users to be
> > >able to post from all domains.  How is this done?
> >
> > You haven't described an authentication scheme, but something
> > like this should do it (untested):
> >
> > auth {
> >     hosts: "*"
> >     default: "<public>"
> > }
> >
> > auth {
> >     hosts: "*"
> >     auth: "ckpasswd -f /usr/local/news/userdatabase"
> > }
> >
> > access {
> >     users: "*"
> >     newsgroups: "*,!junk,!control,!control.*"
> > }
> >
> > access {
> >     users: "<public>"
> >     read: "*,!junk,!control,!control.*"
> >     post: "!*"
> > }
> >
> > -- 
> > Jeffrey M. Vinocur
> > jeff@litech.org
>
>


Re: connection to INN problems I think readers.conf
#65551
Author: Jeffrey M. Vinocur
Date: Thu, 29 May 2003 03:14
16 lines
1518 bytes
In article <bb3qke$19a$1@bob.news.rcn.net>,
Adam Lipson <adaml@jbase.com> wrote:
>FYI when I put in your code I got this using outlook express as the news
>agent:
>
>503 NNTP server unavailable. Try later.

Huh, maybe I did something stupid, but I don't see what.

What do you get in the logs (news.notice, news.err, news.crit)?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: connection to INN problems I think readers.conf
#65553
Author: Adam
Date: Thu, 29 May 2003 12:59
41 lines
2803 bytes
The only log that has anything in it is news.crit:

[root@listserver news]# cat news.notice
May 29 04:02:05 listserver innd: SERVER servermode paused
May 29 04:02:05 listserver innd: SERVER running
May 29 04:02:37 listserver innd: SERVER paused Expiring process 4894
May 29 04:02:37 listserver innd: SERVER running
May 29 04:02:38 listserver innd: localhost connected 16
May 29 04:02:38 listserver innd: localhost:16 closed seconds 0
accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate
size 0
May 29 05:01:02 listserver innd: localhost connected 16
May 29 05:01:02 listserver innd: localhost:16 closed seconds 0
accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate
size 0
May 29 06:01:01 listserver innd: localhost connected 16
May 29 06:01:01 listserver innd: localhost:16 closed seconds 0
accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate
size 0
May 29 07:01:01 listserver innd: localhost connected 16
May 29 07:01:01 listserver innd: localhost:16 closed seconds 0
accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate
size 0
May 29 08:01:02 listserver innd: localhost connected 16
May 29 08:01:02 listserver innd: localhost:16 closed seconds 0
accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate
size 0


jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<bb3tuf$8jf$1@puck.litech.org>...
> In article <bb3qke$19a$1@bob.news.rcn.net>,
> Adam Lipson <adaml@jbase.com> wrote:
> >FYI when I put in your code I got this using outlook express as the news
> >agent:
> >
> >503 NNTP server unavailable. Try later.
> 
> Huh, maybe I did something stupid, but I don't see what.
> 
> What do you get in the logs (news.notice, news.err, news.crit)?
Re: connection to INN problems I think readers.conf
#65561
Author: Adam
Date: Thu, 29 May 2003 13:08
6 lines
1126 bytes
I just connected again and got this error.

syntax error in /etc/news/readers.conf(58), Expected '{'

Adam
Re: connection to INN problems I think readers.conf
#65555
Author: Jeffrey M. Vinocur
Date: Thu, 29 May 2003 15:16
35 lines
1766 bytes
In article <cd8f2d8b.0305290508.77060961@posting.google.com>,
Adam <adaml@jbase.com> wrote:
>
>syntax error in /etc/news/readers.conf(58), Expected '{'

Oh!  Oy!  (Completely misleading error message, but whatever.)

Try this:

auth "open" {
    hosts: "*"
    default: "<public>"
}

auth "password" {
    hosts: "*"
    auth: "ckpasswd -f /usr/local/news/userdatabase"
}

access "general" {
    users: "*"
    newsgroups: "*,!junk,!control,!control.*"
}

access "read-only" {
    users: "<public>"
    read: "*,!junk,!control,!control.*"
    post: "!*"
}


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: connection to INN problems I think readers.conf
#65556
Author: Adam Lipson
Date: Thu, 29 May 2003 16:05
47 lines
2113 bytes
that worked!  any where to find documentation on this I feel bad asking for
all this help if there is a FAQ that I did not see.

Also, you mentioned integration with htpasswd and a faq for that, do you
have a URL?

Thanks,
Adam
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:bb589b$s4r$1@puck.litech.org...
> In article <cd8f2d8b.0305290508.77060961@posting.google.com>,
> Adam <adaml@jbase.com> wrote:
> >
> >syntax error in /etc/news/readers.conf(58), Expected '{'
>
> Oh!  Oy!  (Completely misleading error message, but whatever.)
>
> Try this:
>
> auth "open" {
>     hosts: "*"
>     default: "<public>"
> }
>
> auth "password" {
>     hosts: "*"
>     auth: "ckpasswd -f /usr/local/news/userdatabase"
> }
>
> access "general" {
>     users: "*"
>     newsgroups: "*,!junk,!control,!control.*"
> }
>
> access "read-only" {
>     users: "<public>"
>     read: "*,!junk,!control,!control.*"
>     post: "!*"
> }
>
>
> -- 
> Jeffrey M. Vinocur
> jeff@litech.org


Re: connection to INN problems I think readers.conf
#65566
Author: Jeffrey M. Vinocur
Date: Fri, 30 May 2003 03:39
26 lines
1934 bytes
In article <vdcbu9k8qnb9b3@corp.supernews.com>,
Adam Lipson <adaml@jbase.com> wrote:
>that worked!  any where to find documentation on this I feel bad asking for
>all this help if there is a FAQ that I did not see.

Well, the readers.conf manpage is fairly detailed...figuring out
that error message is only possible by staring at the config
until you see where it looks wrong.

BTW, the INN FAQ is http://www.eyrie.org/~eagle/faqs/inn.html if
you haven't seen it.


>Also, you mentioned integration with htpasswd and a faq for that, do you
>have a URL?

Ah, no FAQ, just the ckpasswd manpage.  (The desired file format
is like /etc/passwd, with colon-delimited fields and crypt()ed
passwords -- which happens to be exactly the format that htpasswd
produces.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: connection to INN problems I think readers.conf
#65572
Author: Adam Lipson
Date: Fri, 30 May 2003 20:02
38 lines
2189 bytes
Thanks,

I will give those a good reading and if I have any more questions I will let
you know.

Regards,
Adam
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:bb6jpn$kl1$2@puck.litech.org...
> In article <vdcbu9k8qnb9b3@corp.supernews.com>,
> Adam Lipson <adaml@jbase.com> wrote:
> >that worked!  any where to find documentation on this I feel bad asking
for
> >all this help if there is a FAQ that I did not see.
>
> Well, the readers.conf manpage is fairly detailed...figuring out
> that error message is only possible by staring at the config
> until you see where it looks wrong.
>
> BTW, the INN FAQ is http://www.eyrie.org/~eagle/faqs/inn.html if
> you haven't seen it.
>
>
> >Also, you mentioned integration with htpasswd and a faq for that, do you
> >have a URL?
>
> Ah, no FAQ, just the ckpasswd manpage.  (The desired file format
> is like /etc/passwd, with colon-delimited fields and crypt()ed
> passwords -- which happens to be exactly the format that htpasswd
> produces.)
>
>
> -- 
> Jeffrey M. Vinocur
> jeff@litech.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