🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Jim Turnbull Fri, 30 Jun 2000 00:00
inn, suck and nntpsend
#47202
Author: Jim Turnbull
Date: Fri, 30 Jun 2000 00:00
38 lines
2358 bytes
Our sys admin left recently, having set up a Linux news server.
Having never setup inn before, I have looked over the config and most of it
is fairly self explanatory.
Thing is the directory 'articles' where the sucked news is spooled has
accidentally been deleted. I have initiated a download of the last 150
articles for each group we subscribe to, but now when the news gets sucked
down, it doesn't have a directory structure (e.g.
spool/articles/comp/os/linux/misc) for the messages to go into and it
complains.
How do I go about recreating the structure? Do I have to manually create
each directory or is there a command to do it for me.
Also if I want to subscribe to a new group from my newsfeed, is there an
automated process or do I have to edit the sucknewsrc file manually and
create the relevant directories?

For posting articles the sysadmin used nntpsend, but whenever there are
posts queued (i.e. in the file spool/outgoing/myisp.net), nntpsend appears
to go through the motions but gives a message that it is rewriting the batch
file, and I end up with two files in spool/outgoing. One is empty and is
called myisp.net the other is called myisp.net=n and contains the
information that was held in the file myisp.net before the nntpsend.
I have tried a telnet to port 119 of the server referred to in the mapping
in nntpsend.ctl (i.e. myisp.net:news.myisp.net::) and I get a response back
from it indicating that I am allowed to post. I don't know how to do a news
conversation (like you would to troubleshoot SMTP).

Any light that can be shed on any of these niggles will be gratefully
received. Any sites where I can get info on inn would also be useful. Any
really good Linux sites out there for newbie-ish people.

Thanks.

Jim




Re: inn, suck and nntpsend
#47210
Author: Russ Allbery
Date: Fri, 30 Jun 2000 00:00
46 lines
2335 bytes
Jim Turnbull <jturnbull@cix.co.uk> writes:

> Our sys admin left recently, having set up a Linux news server.  Having
> never setup inn before, I have looked over the config and most of it is
> fairly self explanatory.

> Thing is the directory 'articles' where the sucked news is spooled has
> accidentally been deleted. I have initiated a download of the last 150
> articles for each group we subscribe to, but now when the news gets sucked
> down, it doesn't have a directory structure (e.g.
> spool/articles/comp/os/linux/misc) for the messages to go into and it
> complains.

> How do I go about recreating the structure?

mkdir spool/articles
chown news:news spool/articles

INN should handle creating any needed subdirectories itself.

> Also if I want to subscribe to a new group from my newsfeed, is there an
> automated process or do I have to edit the sucknewsrc file manually

Yes, you have to tell suck to start sucking those new newsgroups.  You
also need to create the newsgroup locally with ctlinnd newgroup.

> and create the relevant directories?

No.

> For posting articles the sysadmin used nntpsend,

That's odd.  Normally with a suck feed, you won't have transfer permission
with your upstream and should be using rpost instead.

> I have tried a telnet to port 119 of the server referred to in the
> mapping in nntpsend.ctl (i.e. myisp.net:news.myisp.net::) and I get a
> response back from it indicating that I am allowed to post.

Sounds like you don't have transfer permission to me.  Try using rpost,
which comes with suck.

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

REPOST: Re: inn, suck and nntpsend
#47223
Author: Russ Allbery reposted because of...
Date: Sun, 02 Jul 2000 00:00
57 lines
3471 bytes
Jim Turnbull <jturnbull@cix.co.uk> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> mkdir spool/articles
>> chown news:news spool/articles

> Did that (except I did chown news.news, I assume : or . don't matter)

Right.

>> INN should handle creating any needed subdirectories itself.

> INN didn't create the directories itself, just kept all the sucked news
> in it's file (from memory I think it was suck.post or something like
> that)

INN definitely didn't keep everything in suck.post; INN doesn't know
anything at all about any file by that name.  It sounds to me like you're
not actually managing to feed the articles to INN, which would be a
problem with the suck part of the system (and I don't know much about how
suck works).  If you successfully feed the article to INN, generally using
rnews or a local NNTP connection, INN will create the necessary
subdirectories to store it or will log errors saying why it can't.

> Which method should I use ? Post to the sick feed, or transfer to the
> news out?

If you have available a feed that allows transfer commands (like IHAVE),
always use that.  Propagating news via POST is a bit of a hack and has
various problems.

> Thanks Russ. Does anyone know of a good web site for information about
> INN.

The best resource is the documentation that comes with INN, in particular
the INSTALL file.

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

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!spool0-milwwi.newsops.execpc.com!newspump.sol.net!news.execpc.com!newspeer.sol.net!wn3feed!worldnet.att.net!63.211.125.72!cyclone2.usenetserver.com!news-out.usenetserver.com!news01!news02.POSTED!not-for-mail
Message-ID: <ap3m28d8r7.acf@windlord.stanford.edu>
Control: cancel <yl4s68w1t2.fsf@windlord.stanford.edu>
Subject: cmsg cancel <yl4s68w1t2.fsf@windlord.stanford.edu>
From: Russ Allbery <rra@stanford.edu>
NewsGroups: news.software.nntp
Lines: 1
Date: Fri, 07 Jul 2000 17:26:06 GMT
NNTP-Posting-Host: 167.206.118.228
X-Trace: news02 962990766 167.206.118.228 (Fri, 07 Jul 2000 13:26:06 EDT)
NNTP-Posting-Date: Fri, 07 Jul 2000 13:26:06 EDT
Organization: Optimum Online

cancel

Re: inn, suck and nntpsend
#47224
Author: Russ Allbery
Date: Sun, 02 Jul 2000 00:00
41 lines
2214 bytes
Jim Turnbull <jturnbull@cix.co.uk> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> mkdir spool/articles
>> chown news:news spool/articles

> Did that (except I did chown news.news, I assume : or . don't matter)

Right.

>> INN should handle creating any needed subdirectories itself.

> INN didn't create the directories itself, just kept all the sucked news
> in it's file (from memory I think it was suck.post or something like
> that)

INN definitely didn't keep everything in suck.post; INN doesn't know
anything at all about any file by that name.  It sounds to me like you're
not actually managing to feed the articles to INN, which would be a
problem with the suck part of the system (and I don't know much about how
suck works).  If you successfully feed the article to INN, generally using
rnews or a local NNTP connection, INN will create the necessary
subdirectories to store it or will log errors saying why it can't.

> Which method should I use ? Post to the sick feed, or transfer to the
> news out?

If you have available a feed that allows transfer commands (like IHAVE),
always use that.  Propagating news via POST is a bit of a hack and has
various problems.

> Thanks Russ. Does anyone know of a good web site for information about
> INN.

The best resource is the documentation that comes with INN, in particular
the INSTALL file.

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

Re: inn, suck and nntpsend
#47225
Author: Jim Turnbull
Date: Sun, 02 Jul 2000 00:00
79 lines
3336 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:yln1k2d9vp.fsf@windlord.stanford.edu...
> Jim Turnbull <jturnbull@cix.co.uk> writes:
>
> > Our sys admin left recently, having set up a Linux news server.  Having
> > never setup inn before, I have looked over the config and most of it is
> > fairly self explanatory.
>
> > Thing is the directory 'articles' where the sucked news is spooled has
> > accidentally been deleted. I have initiated a download of the last 150
> > articles for each group we subscribe to, but now when the news gets
sucked
> > down, it doesn't have a directory structure (e.g.
> > spool/articles/comp/os/linux/misc) for the messages to go into and it
> > complains.
>
> > How do I go about recreating the structure?
>
> mkdir spool/articles
> chown news:news spool/articles

Did that (except I did chown news.news, I assume : or . don't matter)

>
> INN should handle creating any needed subdirectories itself.
>

INN didn't create the directories itself, just kept all the sucked news in
it's file (from memory I think it was suck.post or something like that)

> > Also if I want to subscribe to a new group from my newsfeed, is there an
> > automated process or do I have to edit the sucknewsrc file manually
>
> Yes, you have to tell suck to start sucking those new newsgroups.  You
> also need to create the newsgroup locally with ctlinnd newgroup.
>

Thanks, I looked at ctlinnd, but wasn't sure.

> > and create the relevant directories?
>
> No.
>

Good!

> > For posting articles the sysadmin used nntpsend,
>
> That's odd.  Normally with a suck feed, you won't have transfer permission
> with your upstream and should be using rpost instead.
>
Ah! We do have a server from the ISP for News In (our suck feed) and there
is a server for News Out, which is a different IP Address. I assume we have
to transfer news that way. I didn't realise there was a difference between
transfer and post.
The firewall currently doesn't let traffic go to the News Out server, but I
can fix that quickly enough.
Which method should I use ? Post to the sick feed, or transfer to the news
out?

> > I have tried a telnet to port 119 of the server referred to in the
> > mapping in nntpsend.ctl (i.e. myisp.net:news.myisp.net::) and I get a
> > response back from it indicating that I am allowed to post.
>
> Sounds like you don't have transfer permission to me.  Try using rpost,
> which comes with suck.
>
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Thanks Russ. Does anyone know of a good web site for information about INN.

Jim




Re: inn, suck and nntpsend
#47265
Author: Frank Slootweg
Date: Wed, 05 Jul 2000 00:00
17 lines
1416 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Jim Turnbull <jturnbull@cix.co.uk> writes:
[deleted] 
>> For posting articles the sysadmin used nntpsend,
> 
> That's odd.  Normally with a suck feed, you won't have transfer permission
> with your upstream and should be using rpost instead.

  Well, it can be 'normal': I am a leafnode and do have tranfer
permission with my upstream. I suck articles from my upstream so *I* can
determine which groups I do (not) get. I use nntpsend/innxmit to feed
our articles to my upstream, because they are a little bit 'cleaner'
than rpost (i.e. no problems with NNTP-Posting-Host:, Xref:, etc.).
Because I use nntpsend/innxmit, I have disabled the rpost section of
get.news.innxmit (i.e. the "# now upload messages" part).

Re: inn, suck and nntpsend
#47266
Author: Frank Slootweg
Date: Wed, 05 Jul 2000 00:00
18 lines
1578 bytes
Russ Allbery <rra@stanford.edu> wrote:
> INN definitely didn't keep everything in suck.post; INN doesn't know
> anything at all about any file by that name.  It sounds to me like you're
> not actually managing to feed the articles to INN, which would be a
> problem with the suck part of the system (and I don't know much about how
> suck works).  If you successfully feed the article to INN, generally using
> rnews or a local NNTP connection, INN will create the necessary
> subdirectories to store it or will log errors saying why it can't.

Jim,

  See the sample/get.news.innxmit script supplied with suck. That is a
template for using suck with INN. Ignore the .innxmit postfix. It is
confusing because the script does not use innxmit (directly nor
indirectly), but, as Russ mentioned, it uses rpost. See my other
response on rpost.

Re: inn, suck and nntpsend
#47267
Author: Jim Turnbull
Date: Wed, 05 Jul 2000 00:00
70 lines
3599 bytes
The suck problem is now fixed - not sure what fixed it, but I think it was
this:
There is a dir called Msgs , where it appears that each news message is
sucked into, in a format indicating which message out of how many; i.e. if
suck is sucking 200 messages, each file is called 01-200, 02-200, 03-200
etc...
the file suck.post has some kind of reference to each message and where it
needs to go in spool/articles.

This dir had too many entries to do an ls in a reasonable time (I waited 10
mins!). The dir shouldn't have anything in after a successful feed. I can
only assume some kind of clash somewhere, Anyway I deleted all files in Msgs
and re-downloaded last 150 messages for each of the groups I want in my
feed.
Everything now okay.

Awaiting configuration details from our ISP to suss out the posting issues,
but I reckon they won't be too difficult to sort, thanks to the advice I've
had in this ng.
I recommend anyone with inn problems looks at http://www.isc.org/


Thanks.

"Jim Turnbull" <jturnbull@cix.co.uk> wrote in message
news:8jitu4$7sq$1@uranium.btinternet.com...
> Our sys admin left recently, having set up a Linux news server.
> Having never setup inn before, I have looked over the config and most of
it
> is fairly self explanatory.
> Thing is the directory 'articles' where the sucked news is spooled has
> accidentally been deleted. I have initiated a download of the last 150
> articles for each group we subscribe to, but now when the news gets sucked
> down, it doesn't have a directory structure (e.g.
> spool/articles/comp/os/linux/misc) for the messages to go into and it
> complains.
> How do I go about recreating the structure? Do I have to manually create
> each directory or is there a command to do it for me.
> Also if I want to subscribe to a new group from my newsfeed, is there an
> automated process or do I have to edit the sucknewsrc file manually and
> create the relevant directories?
>
> For posting articles the sysadmin used nntpsend, but whenever there are
> posts queued (i.e. in the file spool/outgoing/myisp.net), nntpsend appears
> to go through the motions but gives a message that it is rewriting the
batch
> file, and I end up with two files in spool/outgoing. One is empty and is
> called myisp.net the other is called myisp.net=n and contains the
> information that was held in the file myisp.net before the nntpsend.
> I have tried a telnet to port 119 of the server referred to in the mapping
> in nntpsend.ctl (i.e. myisp.net:news.myisp.net::) and I get a response
back
> from it indicating that I am allowed to post. I don't know how to do a
news
> conversation (like you would to troubleshoot SMTP).
>
> Any light that can be shed on any of these niggles will be gratefully
> received. Any sites where I can get info on inn would also be useful. Any
> really good Linux sites out there for newbie-ish people.
>
> Thanks.
>
> Jim
>
>
>



REPOST: Re: inn, suck and nntpsend
#47269
Author: Jim Turnbull reposted because of...
Date: Wed, 05 Jul 2000 00:00
84 lines
4955 bytes
The suck problem is now fixed - not sure what fixed it, but I think it was
this:
There is a dir called Msgs , where it appears that each news message is
sucked into, in a format indicating which message out of how many; i.e. if
suck is sucking 200 messages, each file is called 01-200, 02-200, 03-200
etc...
the file suck.post has some kind of reference to each message and where it
needs to go in spool/articles.

This dir had too many entries to do an ls in a reasonable time (I waited 10
mins!). The dir shouldn't have anything in after a successful feed. I can
only assume some kind of clash somewhere, Anyway I deleted all files in Msgs
and re-downloaded last 150 messages for each of the groups I want in my
feed.
Everything now okay.

Awaiting configuration details from our ISP to suss out the posting issues,
but I reckon they won't be too difficult to sort, thanks to the advice I've
had in this ng.
I recommend anyone with inn problems looks at http://www.isc.org/


Thanks.

"Jim Turnbull" <jturnbull@cix.co.uk> wrote in message
news:8jitu4$7sq$1@uranium.btinternet.com...
> Our sys admin left recently, having set up a Linux news server.
> Having never setup inn before, I have looked over the config and most of
it
> is fairly self explanatory.
> Thing is the directory 'articles' where the sucked news is spooled has
> accidentally been deleted. I have initiated a download of the last 150
> articles for each group we subscribe to, but now when the news gets sucked
> down, it doesn't have a directory structure (e.g.
> spool/articles/comp/os/linux/misc) for the messages to go into and it
> complains.
> How do I go about recreating the structure? Do I have to manually create
> each directory or is there a command to do it for me.
> Also if I want to subscribe to a new group from my newsfeed, is there an
> automated process or do I have to edit the sucknewsrc file manually and
> create the relevant directories?
>
> For posting articles the sysadmin used nntpsend, but whenever there are
> posts queued (i.e. in the file spool/outgoing/myisp.net), nntpsend appears
> to go through the motions but gives a message that it is rewriting the
batch
> file, and I end up with two files in spool/outgoing. One is empty and is
> called myisp.net the other is called myisp.net=n and contains the
> information that was held in the file myisp.net before the nntpsend.
> I have tried a telnet to port 119 of the server referred to in the mapping
> in nntpsend.ctl (i.e. myisp.net:news.myisp.net::) and I get a response
back
> from it indicating that I am allowed to post. I don't know how to do a
news
> conversation (like you would to troubleshoot SMTP).
>
> Any light that can be shed on any of these niggles will be gratefully
> received. Any sites where I can get info on inn would also be useful. Any
> really good Linux sites out there for newbie-ish people.
>
> Thanks.
>
> Jim
>
>
>

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!spool0-chcgil.newsops.execpc.com!newspump.sol.net!news.execpc.com!newspeer.sol.net!news-peer.gip.net!news.gsl.net!gip.net!cyclone2.usenetserver.com!news-out.usenetserver.com!news01!news02.POSTED!not-for-mail
Message-ID: <6l676o$fe7$3@neptunium.btinternet.com>
Control: cancel <8k017r$ed0$1@neptunium.btinternet.com>
Subject: cmsg cancel <8k017r$ed0$1@neptunium.btinternet.com>
From: "Jim Turnbull" <jturnbull@cix.co.uk>
NewsGroups: news.software.nntp
Lines: 1
Date: Fri, 07 Jul 2000 17:25:47 GMT
NNTP-Posting-Host: 167.206.118.228
X-Trace: news02 962990747 167.206.118.228 (Fri, 07 Jul 2000 13:25:47 EDT)
NNTP-Posting-Date: Fri, 07 Jul 2000 13:25:47 EDT
Organization: Optimum Online

cancel

REPOST: Re: inn, suck and nntpsend
#47271
Author: Frank Slootweg reposted because ...
Date: Wed, 05 Jul 2000 00:00
33 lines
2702 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Jim Turnbull <jturnbull@cix.co.uk> writes:
[deleted] 
>> For posting articles the sysadmin used nntpsend,
> 
> That's odd.  Normally with a suck feed, you won't have transfer permission
> with your upstream and should be using rpost instead.

  Well, it can be 'normal': I am a leafnode and do have tranfer
permission with my upstream. I suck articles from my upstream so *I* can
determine which groups I do (not) get. I use nntpsend/innxmit to feed
our articles to my upstream, because they are a little bit 'cleaner'
than rpost (i.e. no problems with NNTP-Posting-Host:, Xref:, etc.).
Because I use nntpsend/innxmit, I have disabled the rpost section of
get.news.innxmit (i.e. the "# now upload messages" part).

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!newspump.sol.net!news.execpc.com!newspeer.sol.net!cyclone.i1.net!news.infoave.net!telocity-west!TELOCITY!cyclone2.usenetserver.com!news-out.usenetserver.com!news01!news02.POSTED!not-for-mail
Message-ID: <4bktdi$j8y$4@news.neth.hp.com>
Control: cancel <8juquh$t0k$2@news.neth.hp.com>
Subject: cmsg cancel <8juquh$t0k$2@news.neth.hp.com>
From: Frank Slootweg <franks@neth.hp.com>
Newsgroups: news.software.nntp
Lines: 1
Date: Fri, 07 Jul 2000 17:25:48 GMT
NNTP-Posting-Host: 167.206.118.228
X-Trace: news02 962990748 167.206.118.228 (Fri, 07 Jul 2000 13:25:48 EDT)
NNTP-Posting-Date: Fri, 07 Jul 2000 13:25:48 EDT
Organization: Optimum Online

cancel

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