[stunnel-users] Errors sending email thru gmail's smtp server

Melinda Chin melinda at cacmedia.tv
Mon Jun 27 18:26:52 CEST 2005


Hi, I have written an email client application to send/receive email.
However, gmail accounts requires that email clients use SSL.
In order to do this, I am running stunnel in the background.
I am able to retrieve emails from gmail pop3 server, but I am not able
To send email thru gmail smtp server.  Gmail requires that email clients
Support SMTP authentication, and also requires TLS.

I am receiving the following errors in stunnel.log when trying to send
email from gmail accounts.  

Attached is my stunnel.conf file.
Is there something I am missing to cause these errors ?
Does stunnel support SMTP authentication ?

- Melinda




2005.06.27 11:26:17 LOG7[25398:81923]:  <- 220 2.0.0 Ready to start TLS.
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect):
before/connect initialization
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 write
client hello A
2005.06.27 11:26:17 LOG7[25398:81923]: waitforsocket: FD=13, DIR=read
2005.06.27 11:26:17 LOG7[25398:81923]: waitforsocket: ok
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 read
server hello A
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 read
server certificate A
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 read
server done A
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 write
client key exchange A
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 write
change cipher spec A
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 write
finished A
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 flush
data
2005.06.27 11:26:17 LOG7[25398:81923]: waitforsocket: FD=13, DIR=read
2005.06.27 11:26:17 LOG7[25398:81923]: waitforsocket: ok
2005.06.27 11:26:17 LOG7[25398:81923]: SSL state (connect): SSLv3 read
finished A
2005.06.27 11:26:17 LOG7[25398:81923]:    5 items in the session cache
2005.06.27 11:26:17 LOG7[25398:81923]:    5 client connects
(SSL_connect())
2005.06.27 11:26:17 LOG7[25398:81923]:    5 client connects that
finished
2005.06.27 11:26:17 LOG7[25398:81923]:    0 client renegotiatations
requested
2005.06.27 11:26:17 LOG7[25398:81923]:    0 server connects
(SSL_accept())
2005.06.27 11:26:17 LOG7[25398:81923]:    0 server connects that
finished
2005.06.27 11:26:17 LOG7[25398:81923]:    0 server renegotiatiations
requested
2005.06.27 11:26:17 LOG7[25398:81923]:    0 session cache hits
2005.06.27 11:26:17 LOG7[25398:81923]:    0 session cache misses
2005.06.27 11:26:17 LOG7[25398:81923]:    0 session cache timeouts
2005.06.27 11:26:17 LOG6[25398:81923]: Negotiated ciphers: DES-CBC3-SHA
SSLv3 Kx=RSA      Au=RSA  Enc=3DES(168) Mac=SHA1
2005.06.27 11:26:18 LOG7[25398:81923]: Socket closed on read
2005.06.27 11:26:18 LOG7[25398:81923]: SSL alert (write): warning: close
notify
2005.06.27 11:26:18 LOG7[25398:81923]: SSL write shutdown (output buffer
empty)
2005.06.27 11:26:19 LOG7[25398:81923]: SSL socket closed on SSL_read
2005.06.27 11:26:19 LOG5[25398:81923]: Connection closed: 59 bytes sent
to SSL, 165 bytes sent to socket
2005.06.27 11:26:19 LOG7[25398:81923]: ssmtp finished (1 left)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel.conf
Type: application/octet-stream
Size: 358 bytes
Desc: stunnel.conf
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20050627/7ebf49e1/attachment.obj>


More information about the stunnel-users mailing list