🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86323

Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu

#86323
From: Steve Crook
Date: Tue, 08 Jul 2014 08:54
55 lines
2808 bytes
On Mon, 7 Jul 2014 18:56:44 +0000 (UTC), Daniel Webster wrote in
Message-Id: <lpeqhc$ae3$1@speranza.aioe.org>:

> On Mon, 07 Jul 2014 08:29:28 +0000, Steve Crook wrote:
>
>> This command will download the cert into a file mixmin.pem:
>> openssl s_client -showcerts -connect news.mixmin.net:563 < /dev/null > mixmin.pem
>
> I'm thoroughly confused.
>
> To properly set up a newsreader with stunnel for Mixmin, do we generate our
> own certificates (which are pointed to in the stunnel.conf)?
> $ openssl genrsa -out privatekey.pem
> $ openssl req -new -x509 -key privatekey.pem -out certificate.pem -days 1095
> $ cat privatekey.pem certificate.pem >> stunnel.pem
>
> Or do we download the mixmin certificate & use *that* in stunnel.conf instead?
> $ openssl s_client -showcerts -connect news.mixmin.net:563 < /dev/null > mixmin.pem

I've just installed stunnel on another machine and connected to
news.mixmin.net.  Here are the steps:-

Install Stunnel:-
apt-get update
apt-get install stunnel

Create a config file:-
vi /etc/stunnel/nntp.conf
[nntp]
client = yes
accept = 127.0.0.1:119
connect = news.mixmin.net:563

Enable Stunnel:-
vi /etc/default/stunnel
ENABLED=1

Start Stunnel:-
/etc/init.d/stunnel start

Test connectivity:-
$ telnet localhost 119
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20140315
prerelease) ready (posting ok)
quit
205 Bye!

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?
Technical Details
Message-ID: <slrnlrncd8.a1l.steve@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
References: <loikqq$lgi$1@speranza.aioe.org> <lokou8$pe4$1@solani.org> < lokq4r$8md$1@speranza.aioe.org> <lpbkfg$no5$1@speranza.aioe.org> < slrnlrio5l.a1l.steve@snorky.mixmin.net> <lpd4om$42m$1@n102.xanadu-bbs.net> <slrnlrkmj8.a1l.steve@snorky.mixmin.net> <lpeqhc$ae3$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnlrncd8.a1l.steve@snorky.mixmin.net>
Subject: Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Date: Tue, 08 Jul 2014 08:54:00 +0000
From: Steve Crook <steve@mixmin.net>
References: <loikqq$lgi$1@speranza.aioe.org> <lokou8$pe4$1@solani.org> < lokq4r$8md$1@speranza.aioe.org> <lpbkfg$no5$1@speranza.aioe.org> < slrnlrio5l.a1l.steve@snorky.mixmin.net> <lpd4om$42m$1@n102.xanadu-bbs.net> <slrnlrkmj8.a1l.steve@snorky.mixmin.net> <lpeqhc$ae3$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Injection-Date: Tue, 8 Jul 2014 08:54:00 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4";
 logging-data="6801"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.2-18 (Linux)
Lines: 54