Article View: news.software.readers
Article #50190Hack to post Gnus articles via slrnpull
From: Sherilyn
Date: Wed, 28 Jul 1999 00:00
Date: Wed, 28 Jul 1999 00:00
45 lines
2171 bytes
2171 bytes
-----BEGIN PGP SIGNED MESSAGE-----
As I mentioned a few days ago, I've been experimenting with Gnus as an
alternative to slrn. I was happy with slrnpull as a means of
obtaining articles so I didn't see any need to configure innd or
leafnode, or anything like that; my SuSE 5.3 system already had inews,
so the articles were ending up in /var/spool/news/in.coming.
My slrnpull system expects to find articles to be posted to be in
/var/spool/slrnpull/out.going, and there is a slight format
difference and the filenames must start with "X". You also need to
add yourself to the news group in /etc/group so you can delete the
news articles as you transfer them to the slrnpull directory. This
script runs on UNIX systems under bash, and should also work under
Korn shell
#!/bin/bash
SERVER=${1:-insert.posting.news.server.here}
SLRNPULL_DIR=${2:-/var/spool/slrnpull}
for F in /var/spool/news/in.coming/*
do
if [ -f $F ]
then
G=${SLRNPULL_DIR}/out.going/X$(basename $F)
echo "<<"$F
echo ">>"$G
sed -e 's/^\./\.\./' $F >$G
rm $F
fi
done
slrnpull -d $SLRNPULL_DIR -h $SERVER --post-only
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.5.2, an Emacs/PGP interface
iQCVAwUBN59TotSR8rI01qX9AQGJaQP9HVvTtyfnp2wIdgFfXPYFD+alyMFOcvBV
Yx3FpsMiy7T0WFI5Eat0Yai/XIjlhbciNm7k1V+mBzI0TBa3lIpgoR2wIoLZwExg
1Tqx4HyKUavt64cN0vLckkX6yG6Ddvyf7MIaTn6OuxVISsV/Q8YOY9Y2BAb0h8wG
EmJzyYYdiK4=
=bLcT
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<86btcw1tub.fsf@sidaway.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <86btcw1tub.fsf@sidaway.demon.co.uk> Subject: Hack to post Gnus articles via slrnpull Date: Wed, 28 Jul 1999 00:00:00 +0000 From: Sherilyn <sherilyn@sidaway.demon.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 506304996 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 933190899 23363 (none) Organization: None X-Access: 16 [7050] Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: news.software.readers