🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264524

Re: stunnel

#264524
From: Tekkie©
Date: Tue, 01 Dec 2020 21:01
77 lines
3785 bytes
On Thu, 26 Nov 2020 20:05:42 +1300, Ralph Fox posted for all of us to digest...

> 
> On Wed, 25 Nov 2020 16:45:58 -0500, Tekkie© wrote:
> 
> > 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
> 
> 
>  1.  I read that you can configure the email port number in 
>      Microplanet Gravity to be whatever you need.
>      See the "SMTP" port shown on this web page:
>      <http://underpop.online.fr/m/microplanet-gravity/help/servers-servers-tab.html>
> 
> 
>  2.  Port 587 is for connecting without an SSL encrypted connection
>      (as Grant Taylor has already replied).
>      If you just need to send mail using port 587 and nothing else, then 
>      forget about STunnel and just change the "SMTP" port in Gravity to 587.
>      <http://underpop.online.fr/m/microplanet-gravity/help/servers-servers-tab.html>
> 
> 
>  3.  STunnel is for when you need to connect using an SSL-encrypted 
>      connection.
> 
>      If you need to connect using an SSL-encrypted connection to send email, 
>      then Comcast _does_ use port 465 for SSL-encrypted connections (and
>      only for SSL-encrypted connections).
> 
> 
>  4.  Regarding port 25 in the stunnel.conf accept line
> 
>      There is a risk that another program on your computer could
>      be accepting connections on port 25.  For example, some AV/firewall
>      programs may do this.
> 
>       4.1  If it so happens that there is another program, STunnel 
>            will not be able to work with port 25 in the accept setting. 
>       4.2  If there is not, you should be OK on Windows.
>       4.3  On Linux, the port in the accept line has to be over 1024.
> 
>      If you are only sending email, and if port 25 is OK for you to use
>      in the accept setting (which you need to test), then your stunnel.conf 
>      would look like this.
>      
> 
>       ~~~~~~~~~~~~~~~ stunnel.conf ~~~~~~~~~~~~~~~
> 
>       foreground = no
> 
>       [OUTBOUND-MAIL]
>       client = yes
>       delay = yes
>       accept = 127.0.0.1:25
>       connect = smtp.xyz.com:465 
> 
>       ~~~~~~~~~~~~~~~ stunnel.conf ~~~~~~~~~~~~~~~

This is the log for stunnel

2020.12.01 15:55:25 LOG5[main]: Reading configuration from file stunnel.conf
2020.12.01 15:55:25 LOG5[main]: UTF-8 byte order mark detected
2020.12.01 15:55:25 LOG4[main]: Service [smtp] needs authentication to prevent 
MITM attacks
2020.12.01 15:55:25 LOG5[main]: Configuration successful

-- 
Tekkie
Technical Details
Message-ID: <KayxH.109679$J92.57442@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> <pgAvH.65052$J92.4276@fx48.iad> <78gurfh0lt827gjoviihg0r89vs3ui7soj@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <KayxH.109679$J92.57442@fx48.iad>
Subject: Re: stunnel
Date: Tue, 1 Dec 2020 16:01:36 -0500
From: Tekkie© <Tekkie@comcast.net>
References: <1ZXsH.454$QL5.437@fx22.iad> <4dbcrf51l45imd6sbqb6o1veekog71ss90@4ax.com> <pgAvH.65052$J92.4276@fx48.iad> <78gurfh0lt827gjoviihg0r89vs3ui7soj@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
Lines: 77
Organization: Forte - www.forteinc.com
User-Agent: MicroPlanet-Gravity/3.0.10 (GRC)
Newsgroups: news.software.readers
X-Complaints-To: abuse@easynews.com
Content-Type: text/plain; charset="iso-8859-15"
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0