🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264518

Re: stunnel

#264518
From: Ralph Fox
Date: Thu, 26 Nov 2020 07:05
67 lines
3382 bytes
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 ~~~~~~~~~~~~~~~


-- 
Kind regards
Ralph
Technical Details
Message-ID: <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
References: <1ZXsH.454$QL5.437@fx22.iad> <4dbcrf51l45imd6sbqb6o1veekog71ss90@4ax.com> <pgAvH.65052$J92.4276@fx48.iad>

Show Full Headers
Complete Article Headers
Message-ID: <78gurfh0lt827gjoviihg0r89vs3ui7soj@4ax.com>
Subject: Re: stunnel
Date: Thu, 26 Nov 2020 20:05:42 +1300
From: Ralph Fox <-rf-nz-@-.invalid>
References: <1ZXsH.454$QL5.437@fx22.iad> <4dbcrf51l45imd6sbqb6o1veekog71ss90@4ax.com> <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
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Lines: 67
Organization: No; Y2.038Chaos instead!
Newsgroups: news.software.readers
X-Complaints-To: abuse@easynews.com
Mime-Version: 1.0
X-Face: 5gSW~"1=jGDo(BXfTrgL2BnC3tUB_\d0u@mP~wA1fvK`z8I[>1jXVVZ!N6ittQ.K<5!i3l> ==jcyAk.[B>kLg8TY{+8%edZ(le:ncPt%s8Pr?]QXNXO]0RC#V_zt|%>=bt>rZ2iCI^-yl7Be(]Ep> OfyI!3Bf|e
User-Agent: ForteAgent/8.00.32.1272