Article View: news.software.nntp
Article #3626HELP!: How do you get INN to take the news in from Suck?
From: 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-----
================================================================
-------------------------------------
Technical Details
Message-ID:
<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-mailShow Full Headers
Complete Article Headers
Message-ID: <3qj5ai$ee6@Mars.mcs.com> Subject: HELP!: How do you get INN to take the news in from Suck? Date: Wed, 31 May 1995 00:00:00 +0000 From: dcarmich@MCS.COM (GrimJack) 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: 103604429 Distribution: inet Organization: MCSNet Subscriber Account, Chicago's First Public-Access Internet! Newsgroups: news.software.nntp,comp.os.linux.networking,comp.os.linux.help,comp.os.linux.setup