Thread View: news.software.nntp
3 messages
3 total messages
Started by GrimJack
Wed, 31 May 1995 00:00
HELP!: How do you get INN to take the news in from Suck?
Author: GrimJack
Date: Wed, 31 May 1995 00:00
Date: Wed, 31 May 1995 00:00
58 lines
2863 bytes
2863 bytes
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
awk -f /usr/lib/news/forME/split.awk < $1
/usr/lib/news/bin/innxmit localhost /usr/lib/news/forME/batch
rm [1-9]
rm [1-9][0-9]
rm [1-9][0-9][0-9]
rm [1-9][0-9][0-9][0-9]
echo "done!"
But innxmit says "Transfer permission denied"
Here's split.awk:
BEGIN { outfile = "1" }
{ if ((substr($0,1,1)==".")&&(substr($0,2,1)!=".")) print "\n" >> outfile }
{ if ((substr($0,1,1)==".")&&(substr($0,2,1)!=".")) close (outfile) }
{ if ((substr($0,1,1)==".")&&(substr($0,2,1)!=".")) print outfile }
{ if ((substr($0,1,1)==".")&&(substr($0,2,1)!=".")) \
printf ("/usr/lib/news/forME/%s\n",outfile) >> "batch" }
{ if ((substr($0,1,1)==".")&&(substr($0,2,1)!=".")) outfile++ }
{ if ((!((substr($0,1,1)==".")&&(substr($0,2,1)!=".")))&&(substr($0,1,3)
!= "220") \
&&(substr($0,1,3) != "223")&&(substr($0,1,3) != "200") \
&&(substr($0,1,3) != "211")&&(substr($0,1,6) != "Trying") \
&&(substr($0,1,9) != "Connected") \
&&(substr($0,1,6) != "Escape")) print $0 >> outfile }
END { close("batch") }
What config files do I need to set up?
HELP ME!
--
-------------------------------------
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-----
================================================================
-------------------------------------
Re: HELP!: How do you get INN to take the news in from Suck?
Author: Clark B
Date: Thu, 01 Jun 1995 00:00
Date: Thu, 01 Jun 1995 00:00
33 lines
1407 bytes
1407 bytes
GrimJack (dcarmich@MCS.COM) wrote: : I think I have Suck mastered, but how do you get INN to take the news in : from suck? alcohol, dinner, and slow dancing..... :) : But innxmit says "Transfer permission denied" check your /usr/lib/news/hosts.nntp -> you must have suck there.... ie.... #--START-- suck: #--END-- G'luck with your suck.... :) -=-clark -- / clark@bcgi.com \ / Just in case you don't know \ | Better Communications Group | what to do when the sun | \ http://www.bcgi.com/houston / \ <-- goes down in Houston! /
Re: HELP!: How do you get INN to take the news in from Suck?
Author: 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-----
: ================================================================
: -------------------------------------
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