[stunnel-users] Can't connect to Yahoo POP3

Gary Kuznitz docfxit at theoffice.la
Fri May 15 01:53:51 CEST 2009


Hi,

I wonder if you could possibly help me get Stunnel ver. 4.26 working with 
Yahoo.com email?  I have been trying to get it working and can't see what the 
problem is.  I do have it working with Gmail just fine.

My email client is setup with:
Email server 127.0.0.1
Email user:  127.0.0.1/11011/MuUserName at yahoo.com
Email password: <InsertPassword>
Port 9999
My email client is connecting to K9
K9 connects to Stunnel on port 11011

I'm running this in Win '98se
I'm following the instructions to use Yahoo POP3 Free at:
http://sajeevnairs.blogspot.com/2009/03/pop3-access-in-yahoo-mail-free.html

I think it's saying:
SSL alert (read): fatal: bad certificate

How can I get a god certificate for Stunnel to use?  How would I set that up in 
Stunnel?

Conf:
cert = stunnel.pem

; Some performance tunings
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

; Some debugging stuff useful for troubleshooting
debug = 7
output = stunnel.log

; Use it for client mode
client = yes

; Service-level configuration

[pop3_DslextremeGmail]
accept   = 127.0.0.1:11010
connect  = pop.gmail.com:995
delay    = yes

[pop3_Yahoo]
accept  = 127.0.0.1:11011
connect = pop.mail.yahoo.com:995
delay    = yes

Log:
2009.05.14 15:48:12 LOG7[16278859:16041803]: RAND_status claims sufficient 
entropy for the PRNG
2009.05.14 15:48:12 LOG7[16278859:16041803]: PRNG seeded successfully
2009.05.14 15:48:12 LOG7[16278859:16041803]: Certificate: stunnel.pem
2009.05.14 15:48:12 LOG7[16278859:16041803]: Certificate loaded
2009.05.14 15:48:12 LOG7[16278859:16041803]: Key file: stunnel.pem
2009.05.14 15:48:12 LOG7[16278859:16041803]: Private key loaded
2009.05.14 15:48:12 LOG7[16278859:16041803]: SSL context initialized for 
service pop3_DslextremeDocfxitGmail
2009.05.14 15:48:12 LOG7[16278859:16041803]: Certificate: stunnel.pem
2009.05.14 15:48:12 LOG7[16278859:16041803]: Certificate loaded
2009.05.14 15:48:12 LOG7[16278859:16041803]: Key file: stunnel.pem
2009.05.14 15:48:12 LOG7[16278859:16041803]: Private key loaded
2009.05.14 15:48:12 LOG7[16278859:16041803]: SSL context initialized for 
service pop3_Docfxit_Yahoo
2009.05.14 15:48:12 LOG5[16278859:16041803]: stunnel 4.26 on x86-pc-mingw32-gnu 
with OpenSSL 0.9.8i 15 Sep 2008
2009.05.14 15:48:12 LOG5[16278859:16041803]: Threading:WIN32 SSL:ENGINE 
Sockets:SELECT,IPv4
2009.05.14 15:48:12 LOG5[16278859:16039767]: No limit detected for the number 
of clients
2009.05.14 15:48:12 LOG7[16278859:16039767]: FD 56 in non-blocking mode
2009.05.14 15:48:12 LOG7[16278859:16039767]: SO_REUSEADDR option set on accept 
socket
2009.05.14 15:48:12 LOG7[16278859:16039767]: pop3_DslextremeDocfxitGmail bound 
to 127.0.0.1:11010
2009.05.14 15:48:12 LOG7[16278859:16039767]: FD 60 in non-blocking mode
2009.05.14 15:48:12 LOG7[16278859:16039767]: SO_REUSEADDR option set on accept 
socket
2009.05.14 15:48:12 LOG7[16278859:16039767]: pop3_Docfxit_Yahoo bound to 
127.0.0.1:11011
2009.05.14 15:48:30 LOG7[16278859:16039767]: pop3_Docfxit_Yahoo accepted FD=64 
from 127.0.0.1:1105
2009.05.14 15:48:30 LOG7[16278859:16039767]: Creating a new thread
2009.05.14 15:48:30 LOG7[16278859:16039767]: New thread created
2009.05.14 15:48:30 LOG7[16278859:16038719]: pop3_Docfxit_Yahoo started
2009.05.14 15:48:30 LOG7[16278859:16038719]: FD 64 in non-blocking mode
2009.05.14 15:48:30 LOG7[16278859:16038719]: TCP_NODELAY option set on local 
socket
2009.05.14 15:48:30 LOG5[16278859:16038719]: pop3_Docfxit_Yahoo accepted 
connection from 127.0.0.1:1105
2009.05.14 15:48:30 LOG7[16278859:16038719]: FD 76 in non-blocking mode
2009.05.14 15:48:30 LOG7[16278859:16038719]: pop3_Docfxit_Yahoo connecting 
68.142.206.14:995
2009.05.14 15:48:30 LOG7[16278859:16038719]: connect_wait: waiting 10 seconds
2009.05.14 15:48:30 LOG7[16278859:16038719]: connect_wait: connected
2009.05.14 15:48:30 LOG5[16278859:16038719]: pop3_Docfxit_Yahoo connected 
remote server from 192.168.1.3:1106
2009.05.14 15:48:30 LOG7[16278859:16038719]: Remote FD=76 initialized
2009.05.14 15:48:30 LOG7[16278859:16038719]: TCP_NODELAY option set on remote 
socket
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): 
before/connect initialization
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 write 
client hello A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 read 
server hello A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 read 
server certificate A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 read 
server certificate request A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 read 
server done A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 write 
client certificate A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 write 
client key exchange A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 write 
certificate verify A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 write 
change cipher spec A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 write 
finished A
2009.05.14 15:48:30 LOG7[16278859:16038719]: SSL state (connect): SSLv3 flush 
data
2009.05.14 15:48:30 LOG3[16278859:16038719]: SSL_connect: Peer suddenly 
disconnected
2009.05.14 15:48:30 LOG5[16278859:16038719]: Connection reset: 0 bytes sent to 
SSL, 0 bytes sent to socket
2009.05.14 15:48:30 LOG7[16278859:16038719]: pop3_Docfxit_Yahoo finished (0 
left)

Thank you for looking at it...

Gary



More information about the stunnel-users mailing list