In message <mx7ChoPHL7iXFAQ$@
m.raefell.co.uk>, bert
<
be...@btinternet.com> writes
Having downloaded the stunnel installer, you will need to double click
on the .exe file to install stunnel. So that stunnel will always be
loaded when you boot your PC, I'd suggest adding stunnel to Startup
(which you can do by running msconfig IIRC).
The stunnel configuration file is called stunnel.conf. A sample
configuration file is included as part of the installation. It's a plain
text file which you can edit with Notepad or similar.
Here's what my own configuration file looks like. I use stunnel so that
I can do a POP3 download of email from gmail. I'm not currently using
stunnel for outbound email. (I might need to at some point in the
future. I don't think it should be too difficult, but if you need to and
get it going then I'd be interested to know what you did.) Lines
beginning with ; are comments.
; Sample stunnel configuration file for Win32 by Michal Trojnara
2002-2012
; Some options used here may be inadequate for your particular
configuration
; This sample file does *not* represent stunnel.conf defaults
; Please consult the manual for detailed description of available
options
;
*************************************************************************
*
; * Global options *
;
*************************************************************************
*
; Debugging stuff (may useful for troubleshooting)
;debug = 7
;output = stunnel.log
; Disable FIPS mode to allow non-approved protocols and algorithms
fips = no
;
*************************************************************************
*
; * Service defaults may also be specified in individual service
sections *
;
*************************************************************************
*
; Disable support for insecure SSLv2 protocol
options = NO_SSLv2
;
*************************************************************************
*
; * Service definitions (at least one service has to be defined) *
;
*************************************************************************
*
; Example SSL client mode services
[gmail-pop3]
client = yes
accept =
127.0.0.1:3110
;you can see how the above line matches what I've set in Connect [see
below]
;the bit in square brackets is just a section label, and I think can be
anything
;you like
connect =
pop.gmail.com:995
;here you would replace the rhs with your ISP's POP3 server
TIMEOUTconnect = 60
TIMEOUTidle = 40
TIMEOUTbusy = 40
TIMEOUTclose = 40
;time to wait for close_notify (set to 0 for buggy MSIE)
;I increased some of the values from the defaults to reduce the risk
;of a time-out if the server I was connecting to was unusually busy
;[gmail-imap]
;client = yes
;accept =
127.0.0.1:143
;connect =
imap.gmail.com:993
;[gmail-smtp]
;client = yes
;accept =
127.0.0.1:25
;connect =
smtp.gmail.com:465
;here you could put your ISP's SMTP server if you will be using it,
needing also
;to put matching stuff in Connect, of course
Within Turnpike, under Connect > Email transfer I added a POP3
account with the following details:
Server name: 127.0.0.1
Mailbox: jhall1809 (that being my gmail username)
Password: (my gmail password)
Port: 3110
"Use 'APOP' authentication" left unticked
There are two stunnel mailing lists, see
https://www.stunnel.org/lists.html
I'd recommend signing up to the announcements one.
--
John Hall
"Banking was conceived in iniquity and born in sin"
attributed to Sir Josiah Stamp,
a former director of the Bank of England