Thanks Ludholf,
Re Q2 - Solved.
Re Q1 - Thanks, but I should have been clearer, I wanted an automated solution. My nightly Blat e-mails come from a command line .cmd file. I have recently added a javascript to check if stunnel is active and, if not, start it before my e-mails. Now I would like to create a similar script that, if stunnel is running, stops it after my e-mail. I may just have to use Windows Script Host's Terminate.
Mike
On Thu, Nov 12, 2009 at 6:00 AM, stunnel-users-request@mirt.net wrote:
Send stunnel-users mailing list submissions to stunnel-users@mirt.net
To subscribe or unsubscribe via the World Wide Web, visit http://stunnel.mirt.net/mailman/listinfo/stunnel-users or, via email, send a message with subject or body 'help' to stunnel-users-request@mirt.net
You can reach the person managing the list at stunnel-users-owner@mirt.net
When replying, please edit your Subject line so it is more specific than "Re: Contents of stunnel-users digest..."
Today's Topics:
1. Vista questions (Michael Wilson) 2. Re: Vista questions (Ludolf Holzheid)
Message: 1 Date: Wed, 11 Nov 2009 13:22:53 -0500 From: Michael Wilson michael.r.wilson@gmail.com Subject: [stunnel-users] Vista questions To: stunnel-users@mirt.net Message-ID: 6d39888c0911111022r39c898c5je24d6808075bc0ba@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
I am running 4.27 on Vista and can successfully start it and use Blat to e-mail via my gmail account using stunnel.
However, I have two questions:
Q1: I would like to close down stunnel after sending my e-mails. How can I do that on Vista?
Q2: Why do I get the following when I enter "stunnel -help" at the command line
A window with the heading "Stunnel 4.27 on Win32 (not configured)" that says: Stunnel server is down due to an error. You will need to exit and correct the problem Click OK to see the error log window
The error log is:
Global options compression = zlib|rle compression type debug = [facility].level (e.g. daemon.info) EGD = path to Entropy Gathering Daemon socket engine = auto|engine_id engineCtrl = cmd[:arg] output = file to append log messages RNDbytes = bytes to read from random seed files RNDfile = path to file with random seed data RNDoverwrite = yes|no overwrite seed datafiles with new random data service = service name socket = a|l|r:option=value[:value] set an option on accept/local/remote socket taskbar = yes|no enable the taskbar icon
Service-level options accept = [host:]port accept connections on specified host:port CApath = CA certificate directory for 'verify' option CAfile = CA certificate file for 'verify' option cert = certificate chain ciphers = list of permitted SSL ciphers client = yes|no client mode (remote service uses SSL) connect = [host:]port connect remote host:port CRLpath = CRL directory CRLfile = CRL file delay = yes|no delay DNS lookup for 'connect' option engineNum = number of engine to read the key from failover = rr|prio chose failover strategy ident = username for IDENT (RFC 1413) checking key = certificate private key local = IP address to be used as source for remote connections ocsp = OCSP server URL OCSPflag = OCSP server flags options = SSL option set an SSL option protocol = protocol to negotiate before SSL initialization currently supported: cifs, connect, nntp, pop3, smtp protocolAuthentication = authentication type for protocol negotiations protocolHost = host:port for protocol negotiations protocolPassword = password for protocol negotiations protocolUsername = username for protocol negotiations session = session cache timeout (in seconds) stack = thread stack size (in bytes) sslVersion = all|SSLv2|SSLv3|TLSv1 SSL method TIMEOUTbusy = seconds to wait for expected data TIMEOUTclose = seconds to wait for close_notify (set to 0 for buggy MSIE) TIMEOUTconnect = seconds to connect remote host TIMEOUTidle = seconds to keep an idle connection verify = level of peer certificate verification level 1 - verify peer certificate if present level 2 - require valid peer certificate always level 3 - verify peer with locally installed certificate
2009.11.11 13:03:36 LOG3[5440:5128]: Server is down
Message: 2 Date: Wed, 11 Nov 2009 20:06:20 +0100 From: Ludolf Holzheid lholzheid@bihl-wiedemann.de Subject: Re: [stunnel-users] Vista questions To: stunnel-users@mirt.net Message-ID: 20091111190620.GD29581@svr5.bihl-wiedemann.de Content-Type: text/plain; charset=iso-8859-1
On Wed, 2009-11-11 13:22:53 -0500, Michael Wilson wrote:
I am running 4.27 on Vista and can successfully start it and use Blat to e-mail via my gmail account using stunnel.
However, I have two questions:
Q1: I would like to close down stunnel after sending my e-mails. How can I do that on Vista?
Michael,
did you try to right-click on the stunnel icon in the systray and select "Exit"?
Q2: Why do I get the following when I enter "stunnel -help" at the command line
This is stunnel's way to output the help message (or other messages) on windows.
If stunnel used stdio for messages, you would have seen the help message in the command prompt window you entered "stunnel -help" in. However, there isn't necessarily a command prompt window stunnel is attached to. Imagine to invoke "stunnel -help" via [start]->[run].
Ludolf
--
Ludolf Holzheid Tel: +49 621 339960 Bihl+Wiedemann GmbH Fax: +49 621 3392239 Flo?w?rthstra?e 41 e-mail: lholzheid@bihl-wiedemann.de D-68199 Mannheim, Germany
stunnel-users mailing list stunnel-users@mirt.net http://stunnel.mirt.net/mailman/listinfo/stunnel-users
End of stunnel-users Digest, Vol 64, Issue 8
On Thu, 2009-11-12 09:52:16 -0500, Michael Wilson wrote:
Thanks Ludholf,
Re Q2 - Solved.
Re Q1 - Thanks, but I should have been clearer, I wanted an automated solution. My nightly Blat e-mails come from a command line .cmd file. I have recently added a javascript to check if stunnel is active and, if not, start it before my e-mails. Now I would like to create a similar script that, if stunnel is running, stops it after my e-mail. I may just have to use Windows Script Host's Terminate.
Mike,
I didn't try, but if you run stunnel as a service, you could start and stop it from the command line ("stunnel -start" / "stunnel -stop"). See the man page for details.
HTH,
Ludolf