🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264516

Re: stunnel

#264516
From: Tekkie©
Date: Wed, 25 Nov 2020 21:45
99 lines
4889 bytes
On Thu, 19 Nov 2020 22:28:07 +1300, Ralph Fox posted for all of us to digest...

> 
> On Tue, 17 Nov 2020 17:16:29 -0500, Tekkie© wrote:
> 
> > I use Microplanet Gravity and it posts to groups fine. But emailing is a 
> > problem. Pouring over the docs it seems that I need to run stunnel or OpenSSL 
> > for it to connect through to the mail server. Can anyone guide me through this?
> 
> 
> 1.  The general idea is that 
>       1.1  You install STunnel;
>       1.1  You configure your email client to connect to STunnel, 
>            instead of to your mail server;
>       1.2  You configure STunnel to accept the connection from your 
>            email client and to forward the connection to your mail 
>            server.
> 
>     [Diagram best viewed in a fixed-pitch font]
> 
>    |===================== YOUR COMPUTER =====================|        |============ THE INTERNET ============|
> 
>     +---------+  OUTBOUND MAIL SERVER         +---------+  FORWARD TO                  +--------------------+
>     ?         ?------------------------------>?         ?----------------------------->?  SMTP mail server  ?
>     ?  Email  ?  localhost port 8025, no SSL  ?         ?  smtp.xyz.com port 465, SSL  +--------------------+
>     ?  client ?                               ? STunnel ?
>     ?         ?  INBOUND MAIL SERVER          ?         ?  FORWARD TO                  +--------------------+
>     ?         ?------------------------------>?         ?----------------------------->?  POP3 mail server  ?
>     +---------+  localhost port 8110, no SSL  +---------+  pop3.xyz.com port 995, SSL  +--------------------+
> 
> 
>  2.  Download the STunnel installer for your operating
>      system from <https://www.stunnel.org/downloads.html>
>      and install it.
> 
>      Do not start STunnel yet - you first need to create an
>      stunnel.conf configuration file.
> 
> 
>  3.  To configure your email client, see its documentation.
> 
>      In the diagram above 
>      *  Configure the server settings for sending and receiving email 
>         to be your local computer (server name localhost or 127.0.0.1).
>      *  Configure the port number for sending email to be 8025
>      *  Configure the port number for receiving email to be 8110
> 
> 
>  4.  To configure stunnel, first create a text file named "stunnel.conf"
>      with contents like below.
>      The "client = yes" is very important.
>      In the "accept =" lines, the port numbers 8025 and 8110  must match
>      the port numbers which you have configured your email client to use.  
>      On Linux, these port numbers must also be greater than 1023.
>      Replace "smtp.xyz.com" and "pop3.xyz.com" with the actual 
>      names for your sending and receiving mail servers.
> 
>       ~~~~~~~~~~~~~~~ stunnel.conf ~~~~~~~~~~~~~~~
> 
>       foreground = no
> 
>       [OUTBOUND-MAIL]
>       client = yes
>       delay = yes
>       accept = 127.0.0.1:8025
>       connect = smtp.xyz.com:465
> 
>       [INBOUND-MAIL]
>       client = yes
>       delay = yes
>       accept = 127.0.0.1:8110
>       connect = pop3.xyz.com:995
> 
>       ~~~~~~~~~~~~~~~ stunnel.conf ~~~~~~~~~~~~~~~
> 
> 
>  5.  When you run STunnel, you must include the file stunnel.conf as a 
>      command-line parameter.  For example
> 
>         "C:\Program Files\STunnel\stunnel.exe" "C:\Program Files\STunnel\stunnel.conf"
>    
>      The easiest way is to create a shortcut for running STunnel, and
>      set the shortcut's 'Target' field to the command line with the 
>      parameter.

Thanks Ralph, I only want to use Gravity to forward articles via email. I use 
Tbird for actual email. I beleive gravity used the old port 25 for email. 
Comcast uses 587 for outgoing so I submit this for your critque.

Thanks for your help. It makes my brain hurt...

      client = yes
      delay = yes
      accept = 127.0.0.1:25
      connect = smtp.xyz.com:587

-- 
Tekkie
Technical Details
Message-ID: <pgAvH.65052$J92.4276@fx48.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <1ZXsH.454$QL5.437@fx22.iad> <4dbcrf51l45imd6sbqb6o1veekog71ss90@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <pgAvH.65052$J92.4276@fx48.iad>
Subject: Re: stunnel
Date: Wed, 25 Nov 2020 16:45:58 -0500
From: Tekkie© <Tekkie@comcast.net>
References: <1ZXsH.454$QL5.437@fx22.iad> <4dbcrf51l45imd6sbqb6o1veekog71ss90@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Content-Type: text/plain; charset="iso-8859-15"
Lines: 99
Newsgroups: news.software.readers
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/3.0.10 (GRC)
Content-Transfer-Encoding: 8bit
Organization: Forte - www.forteinc.com