🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.free.newsservers
23 messages
23 total messages Started by Tor Mr. Fixit Fri, 26 Apr 2013 22:10
Newsgroup carry request for mixmin
#149800
Author: Tor Mr. Fixit
Date: Fri, 26 Apr 2013 22:10
4 lines
1192 bytes
So far as I can tell, there's no mixmin-specific support newsgroup, so I'll
ask here:

Steve Crook, could you please consider maybe carrying alt.windows7.general?
Re: Newsgroup carry request for mixmin
#149793
Author: Sir Gregory Hall, Esq·
Date: Fri, 26 Apr 2013 22:14
14 lines
1451 bytes
"[Tor] Mr. Fixit" <fixit182@nowhere.tosend.yourspam.invalid> wrote in message 
news:kleu04$heo$1@news.mixmin.net...
> So far as I can tell, there's no mixmin-specific support newsgroup, so I'll
> ask here:
>
> Steve Crook, could you please consider maybe carrying alt.windows7.general?


He's got no time for that. He's too busy writing filters for Cleanfeed!

-- 
Sir Gregory 

Re: Newsgroup carry request for mixmin
#149797
Author: Steve Crook
Date: Sat, 27 Apr 2013 09:25
12 lines
1380 bytes
On Fri, 26 Apr 2013 18:10:11 -0400,  Tor  Mr  Fixit wrote in
Message-Id: <kleu04$heo$1@news.mixmin.net>:

> So far as I can tell, there's no mixmin-specific support newsgroup, so I'll
> ask here:
>
> Steve Crook, could you please consider maybe carrying alt.windows7.general?

No problem.  Enjoy!  :)

-- 
And with glasses high we raised a cry for freedom had arrived
Re: Newsgroup carry request for mixmin
#149798
Author: Avatar
Date: Sat, 27 Apr 2013 11:56
6 lines
1448 bytes
Steve Crook wrote on Sat, 27 Apr 2013 09:25:58 +0000:

> No problem.  Enjoy!

I wish I could get mixmin to work on Linux.
Re: Newsgroup carry request for mixmin
#149799
Author: I Bought DataBasix
Date: Sat, 27 Apr 2013 14:21
13 lines
1394 bytes
On Sat, 27 Apr 2013 11:56:22 +0000 (UTC), Avatar
<Avatar@hbgyisasesaew.com> wrote:

>Steve Crook wrote on Sat, 27 Apr 2013 09:25:58 +0000:
>
>> No problem.  Enjoy!
>
>I wish I could get mixmin to work on Linux.

Why couldn't you?
-- 
owner@databasix.com
Re: Newsgroup carry request for mixmin
#149804
Author: telsar
Date: Sat, 27 Apr 2013 17:47
15 lines
1820 bytes
On 4/27/2013 6:56 AM, Avatar wrote:
> Steve Crook wrote on Sat, 27 Apr 2013 09:25:58 +0000:
> 
>> No problem.  Enjoy!
> 
> I wish I could get mixmin to work on Linux.
> 
It do after you get past the certificate issue with Thunderbird,
assuming you use that.  It works from Tor on Linux as well.  Its really
quite wonderful.

-- 
Steal a little and go to jail, steal a lot and become King.

http://twovoyagers.com/improve-usenet.org/
Re: Newsgroup carry request for mixmin
#149805
Author: Steve Crook
Date: Sat, 27 Apr 2013 19:18
11 lines
1373 bytes
On Sat, 27 Apr 2013 11:56:22 +0000 (UTC), Avatar wrote in
Message-Id: <klged6$bh$1@news.albasani.net>:

>> No problem.  Enjoy!
>
> I wish I could get mixmin to work on Linux.

It doesn't work at all or you cannot post?

-- 
And with glasses high we raised a cry for freedom had arrived
Re: Newsgroup carry request for mixmin
#149807
Author: Tor Mr. Fixit
Date: Sat, 27 Apr 2013 21:21
13 lines
1530 bytes
On Sat, 27 Apr 2013 09:25:58 +0000 (UTC), Steve Crook wrote:

> On Fri, 26 Apr 2013 18:10:11 -0400,  Tor  Mr  Fixit wrote in
> Message-Id: <kleu04$heo$1@news.mixmin.net>:
> 
>> So far as I can tell, there's no mixmin-specific support newsgroup, so I'll
>> ask here:
>>
>> Steve Crook, could you please consider maybe carrying alt.windows7.general?
> 
> No problem.  Enjoy!  :)

Thanks kindly.
Re: Newsgroup carry request for mixmin
#149820
Author: Avatar
Date: Sun, 28 Apr 2013 21:05
18 lines
1936 bytes
I Bought DataBasix wrote on Sat, 27 Apr 2013 10:21:07 -0400:

> Why couldn't you?

Well, if I knew why, it would be working. :)

I set the right port in Pan (news.mixmin.net,Port:563)
And, I installed stunnel & set up /etc/stunnel/stunnel.conf 
 [nntp]
 accept = localhost:119
 connect = news.mixmin.net:563
 
But Pan won't connect to the port 563 necessary for mixmin to work.

There are no DIYs on the net for how to set up Pan for Stunnel, 
so, I failed - but I can't tell you why.

Mixmin failed, is all I can say with certainty.
Re: Newsgroup carry request for mixmin
#149819
Author: Avatar
Date: Sun, 28 Apr 2013 21:07
16 lines
1887 bytes
Steve Crook wrote on Sat, 27 Apr 2013 19:18:56 +0000:

> It doesn't work at all or you cannot post?

Nothing happens when I try to read/post with mixmin.
All my other newservers work just fine.

Mixmin has some secret setup on Centos that nobody I know 
can get it to work on.

It's as if nobody ever wrote a DIY that anyone else can 
follow.

I'd write that DIY, if I could only get Mixmin to work, 
but I gave up after days of trying.
Re: Newsgroup carry request for mixmin
#149821
Author: Avatar
Date: Sun, 28 Apr 2013 21:26
47 lines
2944 bytes
Avatar wrote on Sun, 28 Apr 2013 21:07:22 +0000:

> I'd write that DIY, if I could only get Mixmin to work,
> but I gave up after days of trying.

Here's what I'd write (but it's obviously wrong because
it doesn't work).

Install the Pan newsreader:
$ sudo yum --enablerepo rpmforge install pan -y

Test Pan by adding a newsserver (e.g., aioe):
[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: aioe.org
     Port: 119

Test Pan by adding a user (e.g., foo@bar.com):
[Pan]Edit->Edit Posting Profiles->Add->(see below)->OK
     Profile Name: New Profile
     Full Name: Foo Bar
     Email Address: foo@bar.com
     Post Articles Via: aioe.org

Test Pan by reading & sending a message.
That should immediately be successful (and always is).

Now attempt to set up Mixmin:
[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: news.mixmin.net
     Port: 563

Obtain stunnel & reboot:
$ sudo yum install stunnel -y

$ sudo cp /usr/share/doc/stunnel-4.29/stunnel.conf-sample /etc/stunnel/stunnel.conf
$ sudo vi  /etc/stunnel/stunnel.conf
           [nntp]
           accept = localhost:119
           connect = news.mixmin.net:563
$ sudo reboot

The problem with Mixmin is that there are no installation guides that 
anyone can actually follow to get Pan to work on Centos with Mixmin.

The missing steps are probably the ones I don't know, starting
where I left off above and should include a simple testing sequence.
Re: Newsgroup carry request for mixmin
#149835
Author: Nadegda
Date: Sun, 28 Apr 2013 23:12
53 lines
3109 bytes
On Sun, 28 Apr 2013 21:26:03 +0000, Avatar wrote:

> Avatar wrote on Sun, 28 Apr 2013 21:07:22 +0000:
> 
>> I'd write that DIY, if I could only get Mixmin to work, but I gave up
>> after days of trying.
> 
> Here's what I'd write (but it's obviously wrong because it doesn't
> work).
> 
> Install the Pan newsreader:
> $ sudo yum --enablerepo rpmforge install pan -y
> 
> Test Pan by adding a newsserver (e.g., aioe): [Pan]Edit->Edit News
> Servers->Add->(see below)->OK
>      Address: aioe.org
>      Port: 119
> 
> Test Pan by adding a user (e.g., foo@bar.com): [Pan]Edit->Edit Posting
> Profiles->Add->(see below)->OK
>      Profile Name: New Profile
>      Full Name: Foo Bar
>      Email Address: foo@bar.com
>      Post Articles Via: aioe.org
> 
> Test Pan by reading & sending a message. That should immediately be
> successful (and always is).
> 
> Now attempt to set up Mixmin:
> [Pan]Edit->Edit News Servers->Add->(see below)->OK
>      Address: news.mixmin.net
>      Port: 563
> 
> Obtain stunnel & reboot:
> $ sudo yum install stunnel -y
> 
> $ sudo cp /usr/share/doc/stunnel-4.29/stunnel.conf-sample
> /etc/stunnel/stunnel.conf $ sudo vi  /etc/stunnel/stunnel.conf
>            [nntp]
>            accept = localhost:119
>            connect = news.mixmin.net:563
> $ sudo reboot

Try this instead:

[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: localhost
     Port: 119

The Pan bone's connected to the ... stunnel bone, the stunnel bone's 
connected to the ... mixmin bone ...

HTH.
Re: Newsgroup carry request for mixmin
#149838
Author: Harold.D.Wilson
Date: Sun, 28 Apr 2013 23:38
37 lines
2470 bytes
On Sat, 27 Apr 2013 09:25:58 +0000 (UTC), Steve Crook <steve@mixmin.net>
wrote in:
<slrnknn6d6.1im.steve@snorky.mixmin.net>:

>On Fri, 26 Apr 2013 18:10:11 -0400,  Tor  Mr  Fixit wrote in
>Message-Id: <kleu04$heo$1@news.mixmin.net>:
>
>> So far as I can tell, there's no mixmin-specific support newsgroup, so I'll
>> ask here:
>>
>> Steve Crook, could you please consider maybe carrying alt.windows7.general?
>
>No problem.  Enjoy!  :)

gee thanks Steve!

------------------------------------------------------------------------
From: "Mr. Fixit" <fixit182@nowhere.tosend.yourspam.invalid>
Newsgroups: alt.windows7.general
Subject: Re: SSD & Anti Virus software
Date: Sat, 27 Apr 2013 19:28:54 -0400
Organization: Mixmin
Message-ID: <klhmvp$k90$1@news.mixmin.net>
 posting-host="+9AtrYdPkKHNOgKRSitC+s0dw7g";
	

*guffaw*

You replaced a drive with a WD Caviar because you wanted *reliability*?

*chuckle*

*snicker*
------------------------------------------------------------------------

... and of course *you* cannot connect this idiot with any of the other
known idiots using your service. Right?
Re: Newsgroup carry request for mixmin
#149842
Author: Paul
Date: Mon, 29 Apr 2013 01:24
24 lines
2134 bytes
Steve Crook wrote:
> On Fri, 26 Apr 2013 18:10:11 -0400,  Tor  Mr  Fixit wrote in
> Message-Id: <kleu04$heo$1@news.mixmin.net>:
> 
>> So far as I can tell, there's no mixmin-specific support newsgroup, so I'll
>> ask here:
>>
>> Steve Crook, could you please consider maybe carrying alt.windows7.general?
> 
> No problem.  Enjoy!  :)
> 

Yes, Mr.Fixit has just made his first contribution to alt.windows7.general .
Thanks I guess... Helpful.

http://al.howardknight.net/msgid.cgi?STYPE=msgid&A=0&MSGI=%3Cklhmvp%24k90%241%40news.mixmin.net%3E

And now the other alt.free.newsservers socks are over there as well.
In the same thread.

Maybe you could remove the group again and close the door ?

    Paul
Re: Newsgroup carry request for mixmin
#149844
Author: TOSEM
Date: Mon, 29 Apr 2013 02:24
28 lines
2477 bytes
Paul <nospam@needed.com> wrote;
>Steve Crook wrote:
>> On Fri, 26 Apr 2013 18:10:11 -0400,  Tor  Mr  Fixit wrote in
>> Message-Id: <kleu04$heo$1@news.mixmin.net>:
>> 
>>> So far as I can tell, there's no mixmin-specific support newsgroup, so I'll
>>> ask here:
>>>
>>> Steve Crook, could you please consider maybe carrying alt.windows7.general?
>> 
>> No problem.  Enjoy!  :)
>> 
>
>Yes, Mr.Fixit has just made his first contribution to alt.windows7.general .
>Thanks I guess... Helpful.
>
>http://al.howardknight.net/msgid.cgi?STYPE=msgid&A=0&MSGI=%3Cklhmvp%24k90%241%40news.mixmin.net%3E
>
>And now the other alt.free.newsservers socks are over there as well.
>In the same thread.
>
You did not think that would happen when you made the request?

>Maybe you could remove the group again and close the door ?
>
>    Paul

yeh, you fucked up again, Paul.
Re: Newsgroup carry request for mixmin
#149847
Author: Avatar
Date: Mon, 29 Apr 2013 03:31
83 lines
4289 bytes
Nadegda wrote on Sun, 28 Apr 2013 23:12:20 +0000:

> Try this instead:
> 
> [Pan]Edit->Edit News Servers->Add->(see below)->OK
>      Address: localhost
>      Port: 119

Given that, here's the installation instructions for
installing Pan + Mixmin (see bottom for failure).

Install the Pan newsreader:
$ sudo yum --enablerepo rpmforge install pan -y

Test Pan by adding a newsserver (e.g., aioe):
[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: aioe.org
     Port: 119

Test Pan by adding a user (e.g., foo@bar.com):
[Pan]Edit->Edit Posting Profiles->Add->{see below}->OK
     Profile Name: New Profile
     Full Name: Foo Bar
     Email Address: foo@bar.com
     Post Articles Via: aioe.org

Test Pan setup by reading & sending a message to alt.test.
[Pan]Post->Post to Newsgroup->alt.test
That should immediately be successful (and always is).

Now attempt to set up Mixmin:
[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: news.mixmin.net
     Port: 563

Then obtain stunnel & set up stunnel:
     $ sudo yum install stunnel -y
     $ sudo cp /usr/share/doc/stunnel-4.29/stunnel.conf-sample /etc/stunnel/stunnel.conf
     $ sudo vi  /etc/stunnel/stunnel.conf
                [nntp]
                accept = localhost:119
                connect = news.mixmin.net:563
     $ sudo reboot (to start the stunnel services)
[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: localhost
     Port: 119

Then refresh groups:
[Pan]Groups->Refresh Group List

Then try to post to alt.test using the Mixmin news server:
Test Pan setup by reading & sending a message to alt.test.
[Pan]Post->Post to Newsgroup->alt.test

The error will always be:
  There were problems with this post.
  Warning: The posting profile's server doesn't carry newsgroup alt.test.

At this point, I have no error message.
So, seeking an error message, I look here:

$ sudo tail -f /var/log/stunnel/stunnel.log
: Created pid file /stunnel.pid
: nntp accepted FD=13 from ::1:47349
: nntp started
: FD 13 in non-blocking mode
: TCP_NODELAY option set on local socket
: Waiting for a libwrap process
: Acquired libwrap process #0
: Releasing libwrap process #0
: Released libwrap process #0
: nntp permitted by libwrap from ::1:47349
: nntp accepted connection from ::1:47349
: Error resolving 'news.mixmin.net': 
  Neither nodename nor servname known (EAI_NONAME)
: No host resolved
: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
: nntp finished (0 left)

But, at this point, I am stumped. It would be nice if someone
who knows what they're doing would see if it works for them
and what their stunnel log messages say in turn.
Re: Newsgroup carry request for mixmin
#149852
Author: Nadegda
Date: Mon, 29 Apr 2013 03:58
87 lines
4707 bytes
On Mon, 29 Apr 2013 03:31:31 +0000, Avatar wrote:

> Nadegda wrote on Sun, 28 Apr 2013 23:12:20 +0000:
> 
>> Try this instead:
>> 
>> [Pan]Edit->Edit News Servers->Add->(see below)->OK
>>      Address: localhost
>>      Port: 119
> 
> Given that, here's the installation instructions for installing Pan +
> Mixmin (see bottom for failure).
> 
> Install the Pan newsreader:
> $ sudo yum --enablerepo rpmforge install pan -y
> 
> Test Pan by adding a newsserver (e.g., aioe): [Pan]Edit->Edit News
> Servers->Add->(see below)->OK
>      Address: aioe.org
>      Port: 119
> 
> Test Pan by adding a user (e.g., foo@bar.com): [Pan]Edit->Edit Posting
> Profiles->Add->{see below}->OK
>      Profile Name: New Profile
>      Full Name: Foo Bar
>      Email Address: foo@bar.com
>      Post Articles Via: aioe.org
> 
> Test Pan setup by reading & sending a message to alt.test.
> [Pan]Post->Post to Newsgroup->alt.test That should immediately be
> successful (and always is).
> 
> Now attempt to set up Mixmin:
> [Pan]Edit->Edit News Servers->Add->(see below)->OK
>      Address: news.mixmin.net
>      Port: 563
> 
> Then obtain stunnel & set up stunnel:
>      $ sudo yum install stunnel -y
>      $ sudo cp /usr/share/doc/stunnel-4.29/stunnel.conf-sample
>      /etc/stunnel/stunnel.conf $ sudo vi  /etc/stunnel/stunnel.conf
>                 [nntp]
>                 accept = localhost:119
>                 connect = news.mixmin.net:563
>      $ sudo reboot (to start the stunnel services)
> [Pan]Edit->Edit News Servers->Add->(see below)->OK
>      Address: localhost
>      Port: 119
> 
> Then refresh groups:
> [Pan]Groups->Refresh Group List
> 
> Then try to post to alt.test using the Mixmin news server: Test Pan
> setup by reading & sending a message to alt.test. [Pan]Post->Post to
> Newsgroup->alt.test
> 
> The error will always be:
>   There were problems with this post.
>   Warning: The posting profile's server doesn't carry newsgroup
>   alt.test.
> 
> At this point, I have no error message. So, seeking an error message, I
> look here:
> 
> $ sudo tail -f /var/log/stunnel/stunnel.log
> : Created pid file /stunnel.pid
> : nntp accepted FD=13 from ::1:47349
> : nntp started
> : FD 13 in non-blocking mode
> : TCP_NODELAY option set on local socket : Waiting for a libwrap process
> : Acquired libwrap process #0
> : Releasing libwrap process #0
> : Released libwrap process #0
> : nntp permitted by libwrap from ::1:47349 : nntp accepted connection from
> ::1:47349 : Error resolving 'news.mixmin.net':
>   Neither nodename nor servname known (EAI_NONAME)
> : No host resolved
> : Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket : nntp
> finished (0 left)
> 
> But, at this point, I am stumped. It would be nice if someone who knows
> what they're doing would see if it works for them and what their stunnel
> log messages say in turn.

Looks like a DNS problem to me.

I don't know why Pan would resolve names successfully while stunnel didn't, though; sorry.
Re: Newsgroup carry request for mixmin
#149855
Author: Avatar
Date: Mon, 29 Apr 2013 04:21
15 lines
2135 bytes
Nadegda wrote on Mon, 29 Apr 2013 03:58:53 +0000:

> I don't know why Pan would resolve names successfully 
> while stunnel didn't, though; sorry.

I'm thinking stunnel isn't set up right; but that's just a hunch.
What we need are simple and basic debugging steps for when 
Mixmin fails.

To that end, I posted a separate question so we can move the 
conversation to there as it's really OT for this thread.

Hopefully, someone on Linux has Mixmin working so we can
compare log file results.
Re: Newsgroup carry request for mixmin
#149856
Author: Avatar
Date: Mon, 29 Apr 2013 04:24
16 lines
2216 bytes
Nadegda wrote on Mon, 29 Apr 2013 03:58:53 +0000:

> Looks like a DNS problem to me.

I forgot to mention that a ping works fine:

$ ping news.mixmin.net
PING news.mixmin.net (188.40.76.149) 56(84) bytes of data.
64 bytes from snorky.mixmin.net (188.40.76.149): icmp_seq=1 ttl=47 time=175 ms
64 bytes from snorky.mixmin.net (188.40.76.149): icmp_seq=2 ttl=47 time=193 ms
64 bytes from snorky.mixmin.net (188.40.76.149): icmp_seq=3 ttl=47 time=184 ms
... 

If only I had debugging steps, I could write the first installation
guide for using Mixmin with Linux on the net that works. :(
Re: Newsgroup carry request for mixmin
#149891
Author: Steve Crook
Date: Mon, 29 Apr 2013 09:33
47 lines
3080 bytes
On Mon, 29 Apr 2013 04:21:29 +0000 (UTC), Avatar wrote in
Message-Id: <klksg8$eiv$3@news.albasani.net>:

> I'm thinking stunnel isn't set up right; but that's just a hunch.
> What we need are simple and basic debugging steps for when 
> Mixmin fails.
>
> To that end, I posted a separate question so we can move the 
> conversation to there as it's really OT for this thread.
>
> Hopefully, someone on Linux has Mixmin working so we can
> compare log file results.

I have it working on Linux but I'm using a newsreader that talks native
NNTPS.  That makes life a lot easier.  Here's my advice for setting up a
non-native NNTPS reader:-

First of all, check you have telnet installed.  It makes a very useful
debugging tool.  Try connecting to Mixmin on the usual port:
telnet news.mixmin.net 119

The server should return a message confirming you're connected.  Enter
the 'quit' command to exit telnet.

Now install stunnel and configure it.  I'm a bit out of touch with
stunnel but I think you want a configuration like this:

client = yes

[nntp]
accept = 127.0.0.1:119
connect = news.mixmin.net:563

Run stunnel with this config.  If no errors show, you should have a
functioning local proxy.  Not you can test connecting to the proxy:
telnet localhost 119

After a pause (while SSL negotiation happens) you should see the same
connection screen as you did on the previous connection.  If you do,
SSL is now working.  Type 'quit' to disconnect.

Now you need to fire up your preferred Newsreader.  Configure it to
point to a server of localhost (or 127.0.0.1) and a port of 119.
Hopefully it should connect you to news.mixmin.net and allow posting.

-- 
And with glasses high we raised a cry for freedom had arrived
--
#149900
Author: Jeff-Relf.Me
Date: Mon, 29 Apr 2013 11:36
11 lines
1745 bytes
As Steveâ‹…Crook so rightly noted:

  stunnel should be tested using "telnet localhost 119", not Pan.

To enable telnet on my 64 bit copy of Windows 8, I had to:

1. Install telnet using "Turn Windows Features On or Off".
2. Install the 64â‹…bit version of "Console 2":
http://sourceforge.net/projects/console/files/console-devel/2.00/Console-2.00b148-Beta_64bit.zip/download

A 32â‹…bit commandâ‹…prompt won't run the 64â‹…bit version of telent.
Re: Newsgroup carry request for mixmin
#150000
Author: Avatar
Date: Tue, 30 Apr 2013 05:52
24 lines
2535 bytes
Steve Crook wrote on Mon, 29 Apr 2013 09:33:32 +0000:

> Run stunnel with this config.  If no errors show, you should have a
> functioning local proxy.  Note you can test connecting to the proxy:
> telnet localhost 119

Thanks Steve,

I finally got stunnel, mixmin, and Pan to play nicely together.
The problem appears to have been these lines in the stunnel.conf:
   setuid = nobody
   setgid = nobody

When I removed those two lines, everything worked fine.
When I added them back, stunnel failed to connect to mixmin via Pan.
So, I removed them again, and now Pan posts via stunnel to Mixmin.

I will write up a log file and append separately, but like all things
that don't work until finally they work, the log file may be confusing.

But, it's the best I have by way of an installation manual.

Stay tuned ...
Re: Newsgroup carry request for mixmin
#150005
Author: Avatar
Date: Tue, 30 Apr 2013 06:06
317 lines
11713 bytes
Avatar wrote on Tue, 30 Apr 2013 05:52:06 +0000:

> I will write up a log file and append separately, but like all things
> that don't work until finally they work, the log file may be confusing.

Here's the log file of 'my' installation on Centos 6 of Mixmin 
working with Pan to post to alt.test. 

Stunnel is much harder to install than it should be, mostly because 
there are no decent Linux installation instructions extant. So, 
you end up downloading separate init scripts from bug reports; and
you end up guessing what the configuration file should contain.

Anyway, here's my log for setting up Stunnel on Centos for 
Mixmin, & Pan.

Install the Pan newsreader:
$ sudo yum --enablerepo rpmforge install pan -y

Test Pan by adding a newsserver (e.g., aioe):
[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: aioe.org
     Port: 119

Test Pan by adding a user (e.g., foo@bar.com):
[Pan]Edit->Edit Posting Profiles->Add->
     Profile Name: New Profile
     Full Name: Foo Bar
     Email Address: foo@bar.com
     Post Articles Via: aioe.org
     OK

Test Pan setup by reading & sending a message to alt.test.
[Pan]Post->Post to Newsgroup->alt.test

That should immediately be successful (and always is).
Now attempt to set up the Mixmin newsserver, which requires stunnel:
     $ sudo yum install stunnel -y
     $ sudo cp /usr/share/doc/stunnel-4.29/stunnel.conf-sample \
       /etc/stunnel/stunnel.conf
     $ sudo vi  /etc/stunnel/stunnel.conf
                [nntp]
                accept = localhost:119
                connect = news.mixmin.net:563
       Note: When I used the following two lines, stunnel failed:
                setuid = nobody
                setgid = nobody
     $ sudo mkdir /var/log/stunnel
     $ sudo touch /var/log/stunnel/stunnel.log

Now comes the tricky part about setting up stunnel services

Download this stunnel daemon init script:
     http://bugzilla.redhat.com/attachment.cgi?id=325164 
Which came from this stunnel bug report (stunnel lacks an init script):
     https://bugzilla.redhat.com/show_bug.cgi?id=455815

I'm guessing at these installation instructions as there are none available:
     $ sudo cp /tmp/stunnel /etc/init.d/stunnel
     $ sudo chown root /etc/init.d/stunnel
     $ sudo chmod 755 /etc/init.d/stunnel

     $ sudo view /etc/init.d/stunnel
       I see that the following were called but none of these exist:
       /var/run/stunnel (directory)
       /var/run/stunnel/stunnel.pid (process-id file)
       /var/lock/subsys/stunnel (file)
       /usr/sbin/stunnel (executable)

So, I will manually create the /var/run/stunnel directory after
looking for expected ownership in the stunnel.conf file:
     $ grep set.id /etc/stunnel/stunnel.conf
     ==> setuid = nobody
     ==> setgid = nobody

I then made the stunnel directory and changed ownership to that owner:
     $ sudo mkdir /var/run/stunnel
     $ sudo chown nobody /var/run/stunnel
     $ ls -ld /var/run/stunnel

And I modified that init.d script to point to the stunnel executable
which was installed ing /usr/bin/stunnel by the yum command:
     $ which stunnel
       ==> /usr/bin/stunnel
     $ sudo vi /etc/init.d/stunnel
       Change the location of the stunnel execution:
FROM:
daemon --check $servicename '/usr/sbin/stunnel /etc/stunnel/stunnel.conf
&>/dev/null'
TO:
daemon --check $servicename '/usr/bin/stunnel /etc/stunnel/stunnel.conf
&>/dev/null'

As a doublecheck, the following directories & files are called out in the
(slightly modified) default configuration:
$ grep stunnel /etc/{stunnel/stunnel.conf,init.d/stunnel}
REPORTED the following files and directories are needed:
- chroot = /var/run/stunnel/
- output = /var/log/stunnel/stunnel.log
- servicename=stunnel
- processname=stunnel
- pidfile=/var/run/stunnel/stunnel.pid
- /usr/bin/stunnel
- /etc/stunnel/stunnel.conf

Since all of those exist at this point, I then re-tried the suggested command
but it failed this time:
$ su root
# cd /
# chkconfig -add stunnel
REPORTED:
-add: unknown option

Hmmm... Maybe it's already there?
# chkconfig|grep stunnel
REPORTS:
stunnel 0:off 1:off 2:off 3:on 4:on 5:on 6:off

I'll assume that indicates that this step above is no longer needed.
Moving onward, let's now start the stunnel service:
# service stunnel start
REPORTS:
Starting stunnel services: [ OK ]

$ /sbin/chkconfig --list | awk '{ print $1 }' | sort | grep stunnel
REPORTS (installed services):
stunnel

$ /sbin/chkconfig --list | grep :on | grep stunnel
REPORTS (services configured to run):
stunnel 0:off 1:off 2:off 3:on 4:on 5:on 6:off

$ for S in $(/sbin/chkconfig --list | awk '/:on/ { print $1 }' | sort); do
echo $S; /sbin/service $S status; echo; done | grep stunnel
REPORTS:
stunnel
stunnel (pid 2825) is running...

# service --status-all | grep stunnel
REPORTS:
stunnel (pid 2825) is running...

# netstat -tulpn | grep stunnel
REPORTS:
tcp 0 0 ::1:119 :::* LISTEN 2825/stunnel

# ntsysv
REPORTS: stunnel is automatically started.

$ telnet 127.0.0.1 119
REPORTS: 
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

Repeat that command as folks have reported the second time works 
(mine didn't work no matter how many times I repeated it):
$ !!
$ !!
$ !!

Looking at my hosts file, I have:
$ head /etc/hosts
127.0.0.1 NAME localhost localhost.localdomain localhost4 localhost4.localdomain4

$ grep -i mixmin /etc/hosts
  REPORTS: nothing

$ netstat -antp | grep 119
REPORTS: 
  netstat -antp | grep 119
  (Not all processes could be identified, non-owned process info
   will not be shown, you would have to be root to see it all.)
  tcp 0 0 ::1:119 :::* LISTEN -                   

$ sudo netstat -antp | grep 119
REPORTS: 
  tcp 0 0 ::1:119 :::* LISTEN 2723/stunnel       

---- skipping over to Pan setup -----

[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: news.mixmin.net
     Port: 563

[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: localhost
     Port: 119

Then refresh groups:
[Pan]Groups->Refresh Group List

Then try to post to alt.test using the Mixmin news server:
Test Pan setup by reading & sending a message to alt.test.
[Pan]Post->Post to Newsgroup->alt.test

The error will always be:
  There were problems with this post.
  Warning: The posting profile's server doesn't carry newsgroup alt.test.

At this point, I have no error message.
So, seeking an error message, I look at the log file:

$ sudo tail -f /var/log/stunnel/stunnel.log
: Created pid file /stunnel.pid
: nntp accepted FD=13 from ::1:47349
: nntp started
: FD 13 in non-blocking mode
: TCP_NODELAY option set on local socket
: Waiting for a libwrap process
: Acquired libwrap process #0
: Releasing libwrap process #0
: Released libwrap process #0
: nntp permitted by libwrap from ::1:47349
: nntp accepted connection from ::1:47349
: Error resolving 'news.mixmin.net': 
  Neither nodename nor servname known (EAI_NONAME)
: No host resolved
: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
: nntp finished (0 left)

The first error says stunnel can't resolve news.mixmin.net.

I test if my DNS server can resolve it, and it can:

$ ping news.mixmin.net
PING news.mixmin.net (188.40.76.149) 56(84) bytes of data.
64 bytes from snorky.mixmin.net (188.40.76.149): icmp_seq=1 ttl=47 time=175 ms
64 bytes from snorky.mixmin.net (188.40.76.149): icmp_seq=2 ttl=47 time=193 ms
64 bytes from snorky.mixmin.net (188.40.76.149): icmp_seq=3 ttl=47 time=184 ms

$ openssl s_client -connect news.mixmin.net:563
  REPORTS: 
   CONNECTED(00000003)
   ... stuff ... 
   200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20120622 prerelease)
   ready (posting ok)
post
   340 Ok, recommended message-ID <krr5gb$mbf$1@news.mixmin.net>
From: foo <foo@bar.com>
Newsgroups: alt.test
Subject: test

Test?
..
   240 Article received <krr5gb$mbf$1@news.mixmin.net>
quit
   205 Bye!
closed

At this point I decided to minimize my stunnel.conf file to the following:

$ cat /etc/stunnel/stunnel.conf
REPORTS:
client = yes
[nntp]
accept = localhost:2119
connect = news.mixmin.net:563

To test using Telnet, try this first:
$ telnet news.mixmin.net 119
  Trying 188.40.76.149...
  Connected to news.mixmin.net.
  Escape character is '^]'.
  200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20120622 prerelease)
  ready (posting ok)
quit
  205 Bye!
  Connection closed by foreign host.

If that works, try this:
$ telnet localhost 2119 <== use whatever port you used in stunnel.conf
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20120622 prerelease)
  ready (posting ok)
quit
  205 Bye!
  Connection closed by foreign host.

If that worked, then you can create an actual post:
$ telnet localhost 2119 
  Trying ::1...
  telnet: connect to address ::1: Connection refused
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20120622 prerelease)
  ready (posting ok)
post
  340 Ok, recommended message-ID <knlm4l$e57$1@news.mixmin.net>
From: foo <foo@bar.com>
Newsgroups: alt.test
Subject: This is a test
  
This is a test of stunnel to mixmin.
..
240 Article received <knlm4l$e57$1@news.mixmin.net>
quit
205 Bye!
Connection closed by foreign host.

---- skipping back to Pan setup -----

[Pan]Edit->Edit News Servers->Add->(see below)->OK
     Address: localhost
     Port: 2119

Then refresh groups:
[Pan]Groups->Refresh Group List

Test Pan setup by reading & sending a message to alt.test.
[Pan]Post->Post to Newsgroup->alt.test

This finally worked for me at this point!
Woo hoo!
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