Article View: news.software.nntp
Article #3628Re: HELP!: How do you get INN to take the news in from Suck?
From: Gus Nwosu
Date: Fri, 02 Jun 1995 00:00
Date: Fri, 02 Jun 1995 00:00
84 lines
4060 bytes
4060 bytes
I used suck-2.1.1 successfully with Cnews and lpost but for reasons I
could not figure out, lpost suddenly couldn't feed Cnews after I did my
first 'expire' job on the system. I have since switched to INN, Slurp,
and part of suck-2.1.1. It took three steps:
1. Install INN and set up the newsfeeds file carefully allowing an entry for
local posts as well. The version of INN I found easy to install was the
linux package (version 0.1) prepared by Arjan de Vet. It's readily
available at most sites and at ftp.win.tue.nl:/pub/ports/INN ....
2. Compile and install slurp-1.8 for my system. Termify slurp and do what
the instruction says about the slurp.sys file and the NNTPSERVER file.
3. Get the suck-2.1.1 package. Edit the rpost.c file and put in the
correct strings for your ORGANIZATION and DOMAIN as you would like to see
them on your articles. For use with articles I post from tin-1.22, I had
to comment out lines 51 to 57 to avoid having problems with "From: ".
Then just "make" the package... only rpost is interesting here.
So what I do is:
Make the term connection as usual and launch slurp to start pulling the
selected newsgroups in. INND automatically puts the arriving articles in
the right newsgroups ready for reading. I use tin.
Meanwhile I go ahead with other things.
At my convenience (off-line) I read the news and followup as necessary. I
post with tin and the articles are put in my out.going batch by INND. The
out.going batch is just a collection of article filenames (full path
names) and their message-id's.
I then post the articles quite simply:
if ( -f ./artlist ) then
rm ./artlist
endif
set SPOOLDIR=/var/spool/news
awk '{print $1}' /var/spool/news/out.going/snlsu1 >artlist
foreach art (`cat artlist`)
cat ${SPOOLDIR}/${art}|rpost snlsu1
end
NOTE: snlsu1 is my NNTP server. That's where I get news from.
I use a more elaborate set of scripts to make news activity easier. Would
be glad to send by e-mail if you wish.
Hope this helps.
Gus
GrimJack (dcarmich@MCS.COM) wrote:
: I think I have Suck mastered, but how do you get INN to take the news in
: from suck?
: Suck comes with an "lpost2inn" script that takes the news to INN. It goes
: like this:
: dcarmich:~/suck# cat lpost2inn
: #!/bin/sh
: #Extract articles from suck output file and use innxmit from inn-1.4
: #to make them locally available.
: #Usage: lpost2inn <newsbatchfile>
: #Direct questions about this to huber@iamexwi.unibe.ch
: --
: -------------------------------------
: Ne auderis delere orbem rigidum meum!
: Flamma war! Flamma war! Stop it!
: =================================================================
: -----BEGIN PGP PUBLIC KEY BLOCK-----
: Version: 2.6.1
: mQCNAy6O8fEAAAEEAKG4htNRbpTr2s9lU5vUf/p5RSmKl51rEZBGC+/n97LsOItV
: kHjmzYRNFXz8zpvGZLBjem6Nff/1dRefG3nLTI/yDXTt3mnloc8SQ2QC6BrisbdA
: RacA3p/klegIlyxR2vcBl4HjbhWWE0kPv/1dLKunWqJVLLtdks4i/GACec/lAAUR
: tBtHcmltSmFjayA8ZGNhcm1pY2hAbWNzLmNvbT4=
: =sZd7
: -----END PGP PUBLIC KEY BLOCK-----
: ================================================================
: -------------------------------------
Technical Details
Message-ID:
<3qltq8$71@gusnx.private.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.help.mbox.zip!not-for-mailReferences:
<3qj5ai$ee6@Mars.mcs.com>Show Full Headers
Complete Article Headers
Message-ID: <3qltq8$71@gusnx.private.org> Subject: Re: HELP!: How do you get INN to take the news in from Suck? Date: Fri, 02 Jun 1995 00:00:00 +0000 From: nwosu@clamart.wireline.slb.com (Gus Nwosu) References: <3qj5ai$ee6@Mars.mcs.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.help.mbox.zip!not-for-mail X-Deja-AN: 103604451 Distribution: inet Followup-to: news.software.nntp,comp.os.linux.networking,comp.os.linux.help,comp.os.linux.setup Organization: Schlumberger Reply-to: nwosu@clamart.wireline.slb.com Newsgroups: news.software.nntp,comp.os.linux.networking,comp.os.linux.help,comp.os.linux.setup