curl-users
Using curl with stunnel
Date: Fri, 07 Mar 2014 09:11:21 -0600
Test thru Stunnel:
C:\Stunnel\stunnel.exe C:\Stunnel\cotse-pop.cfg
Stunnel config file (66.203.85.58 = mail.cotse.net):
CAfile = cotse-stunnel.pem
cert = mystunnel.pem
[cotse_pops]
accept = 127.0.0.2:129
#connect = mail.cotse.net:995
connect = 66.203.85.58:995
Start curl:
C:\Curl\curl_735_0_ssl\curl.exe -O C:\example.txt -v -u myuser:mypw
pop3://127.0.0.2:129/
Result:
-------------------------------------------------------------------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Curl\curl_735_0_ssl>curl.exe -O C:\example.txt -v -u myuser:mypw
pop3://127.0.0.2:129/
curl: Remote file name has no length!
curl: try 'curl --help' or 'curl --manual' for more information
* Hostname was NOT found in DNS cache
* Trying 127.0.0.2...
* Connected to 127.0.0.2 (127.0.0.2) port 129 (#0)
-------------------------------------------------------------------------
This is where it stops. Any instructions on using curl for obtaining
email thru Stunnel?
Possibly I could use the curl ssl feature, but not sure if I could ever
get that figured out.
Thanks.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-07