<div>I am attempting to send/receive to GMail through a CRM program (contains email client) called ACT! (<a href="http://www.act.com/">http://www.act.com</a>)  ACT! only allows server addresses in the program configuration, NOT port numbers.  (e.g. <a href="http://smtp.gmail.com">smtp.gmail.com</a> or 127.0.0.1 - nothing else)</div>

<div> </div>
<div>I have configured <strong>stunnel 4.26</strong> as such:</div>
<div> </div>
<div><font face="courier new,monospace">; Some performance tunings<br>socket = l:TCP_NODELAY=1<br>socket = r:TCP_NODELAY=1</font></div>
<div><font face="courier new,monospace">; Some debugging stuff useful for troubleshooting<br>debug = 7<br>output = stunnel.log</font></div>
<div><font face="courier new,monospace">; Use it for client mode<br>client = yes</font></div>
<div><font face="courier new,monospace">; Service-level configuration<br>[pop]<br>accept = localhost:110<br>connect = <a href="http://pop.gmail.com:995">pop.gmail.com:995</a></font></div>
<div><font face="courier new,monospace">[smtp]<br>accept = localhost:25<br>connect = <a href="http://smtp.gmail.com:465">smtp.gmail.com:465</a></font></div>
<div> </div>
<div>and in ACT as such:</div>
<div><font face="courier new,monospace">SMTP as localhost</font></div>
<div><font face="courier new,monospace">POP as localhost</font></div>
<div> </div>
<div>(also have tried 127.0.0.1, but with no difference).</div>
<div> </div>
<div>The log is below, but the short of it is that I still cannot get through to the GMail servers.  I do not see any glaring errors below, but I'm sure there is something useful.  Thank you for any help...</div>
<div> </div>
<div> </div>
<div><font face="courier new,monospace">2009.02.24 13:34:35 LOG7[3752:2216]: RAND_status claims sufficient entropy for the PRNG<br>2009.02.24 13:34:35 LOG7[3752:2216]: PRNG seeded successfully<br>2009.02.24 13:34:35 LOG7[3752:2216]: SSL context initialized for service pop<br>
2009.02.24 13:34:35 LOG7[3752:2216]: SSL context initialized for service smtp<br>2009.02.24 13:34:35 LOG5[3752:2216]: stunnel 4.26 on x86-pc-mingw32-gnu with OpenSSL 0.9.8i 15 Sep 2008<br>2009.02.24 13:34:35 LOG5[3752:2216]: Threading:WIN32 SSL:ENGINE Sockets:SELECT,IPv6<br>
2009.02.24 13:34:35 LOG5[3752:1576]: No limit detected for the number of clients<br>2009.02.24 13:34:35 LOG7[3752:1576]: FD 200 in non-blocking mode<br>2009.02.24 13:34:35 LOG7[3752:1576]: SO_REUSEADDR option set on accept socket<br>
2009.02.24 13:34:35 LOG7[3752:1576]: pop bound to <a href="http://127.0.0.1:110">127.0.0.1:110</a><br>2009.02.24 13:34:35 LOG7[3752:1576]: FD 208 in non-blocking mode<br>2009.02.24 13:34:35 LOG7[3752:1576]: SO_REUSEADDR option set on accept socket<br>
2009.02.24 13:34:35 LOG7[3752:1576]: smtp bound to <a href="http://127.0.0.1:25">127.0.0.1:25</a><br>2009.02.24 13:34:39 LOG7[3752:1576]: smtp accepted FD=216 from <a href="http://127.0.0.1:3063">127.0.0.1:3063</a><br>2009.02.24 13:34:39 LOG7[3752:1576]: Creating a new thread<br>
2009.02.24 13:34:39 LOG7[3752:1576]: New thread created<br>2009.02.24 13:34:39 LOG7[3752:760]: smtp started<br>2009.02.24 13:34:39 LOG7[3752:760]: FD 216 in non-blocking mode<br>2009.02.24 13:34:39 LOG7[3752:760]: TCP_NODELAY option set on local socket<br>
2009.02.24 13:34:39 LOG5[3752:760]: smtp accepted connection from <a href="http://127.0.0.1:3063">127.0.0.1:3063</a><br>2009.02.24 13:34:39 LOG7[3752:760]: FD 240 in non-blocking mode<br>2009.02.24 13:34:39 LOG7[3752:760]: smtp connecting <a href="http://209.85.201.111:465">209.85.201.111:465</a><br>
2009.02.24 13:34:39 LOG7[3752:760]: connect_wait: waiting 10 seconds<br>2009.02.24 13:34:39 LOG7[3752:760]: connect_wait: connected<br>2009.02.24 13:34:39 LOG5[3752:760]: smtp connected remote server from <a href="http://192.168.1.100:3064">192.168.1.100:3064</a><br>
2009.02.24 13:34:39 LOG7[3752:760]: Remote FD=240 initialized<br>2009.02.24 13:34:39 LOG7[3752:760]: TCP_NODELAY option set on remote socket<br>2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): before/connect initialization<br>
2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 write client hello A<br>2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 read server hello A<br>2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 read server certificate A<br>
2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 read server done A<br>2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 write client key exchange A<br>2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 write change cipher spec A<br>
2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 write finished A<br>2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 flush data<br>2009.02.24 13:34:39 LOG7[3752:760]: SSL state (connect): SSLv3 read finished A<br>
2009.02.24 13:34:39 LOG7[3752:760]:    1 items in the session cache<br>2009.02.24 13:34:39 LOG7[3752:760]:    1 client connects (SSL_connect())<br>2009.02.24 13:34:39 LOG7[3752:760]:    1 client connects that finished<br>
2009.02.24 13:34:39 LOG7[3752:760]:    0 client renegotiations requested<br>2009.02.24 13:34:39 LOG7[3752:760]:    0 server connects (SSL_accept())<br>2009.02.24 13:34:39 LOG7[3752:760]:    0 server connects that finished<br>
2009.02.24 13:34:39 LOG7[3752:760]:    0 server renegotiations requested<br>2009.02.24 13:34:39 LOG7[3752:760]:    0 session cache hits<br>2009.02.24 13:34:39 LOG7[3752:760]:    0 session cache misses<br>2009.02.24 13:34:39 LOG7[3752:760]:    0 session cache timeouts<br>
2009.02.24 13:34:39 LOG6[3752:760]: SSL connected: new session negotiated<br>2009.02.24 13:34:39 LOG6[3752:760]: Negotiated ciphers: RC4-MD5 SSLv3 Kx=RSA Au=RSA Enc=RC4(128) Mac=MD5 <br>2009.02.24 13:34:39 LOG7[3752:760]: SSL socket closed on SSL_read<br>
2009.02.24 13:34:39 LOG7[3752:760]: Socket write shutdown<br>2009.02.24 13:34:39 LOG5[3752:760]: Connection closed: 20 bytes sent to SSL, 226 bytes sent to socket<br>2009.02.24 13:34:39 LOG7[3752:760]: smtp finished (0 left)<br>
2009.02.24 13:34:39 LOG7[3752:1576]: pop accepted FD=232 from <a href="http://127.0.0.1:3065">127.0.0.1:3065</a><br>2009.02.24 13:34:39 LOG7[3752:1576]: Creating a new thread<br>2009.02.24 13:34:39 LOG7[3752:1576]: New thread created<br>
2009.02.24 13:34:39 LOG7[3752:376]: pop started<br>2009.02.24 13:34:39 LOG7[3752:376]: FD 232 in non-blocking mode<br>2009.02.24 13:34:39 LOG7[3752:376]: TCP_NODELAY option set on local socket<br>2009.02.24 13:34:39 LOG5[3752:376]: pop accepted connection from <a href="http://127.0.0.1:3065">127.0.0.1:3065</a><br>
2009.02.24 13:34:39 LOG7[3752:376]: FD 240 in non-blocking mode<br>2009.02.24 13:34:39 LOG7[3752:376]: pop connecting <a href="http://209.85.147.109:995">209.85.147.109:995</a><br>2009.02.24 13:34:39 LOG7[3752:376]: connect_wait: waiting 10 seconds<br>
2009.02.24 13:34:42 LOG7[3752:376]: connect_wait: connected<br>2009.02.24 13:34:42 LOG5[3752:376]: pop connected remote server from <a href="http://192.168.1.100:3066">192.168.1.100:3066</a><br>2009.02.24 13:34:42 LOG7[3752:376]: Remote FD=240 initialized<br>
2009.02.24 13:34:42 LOG7[3752:376]: TCP_NODELAY option set on remote socket<br>2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): before/connect initialization<br>2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 write client hello A<br>
2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 read server hello A<br>2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 read server certificate A<br>2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 read server done A<br>
2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 write client key exchange A<br>2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 write change cipher spec A<br>2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 write finished A<br>
2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 flush data<br>2009.02.24 13:34:42 LOG7[3752:376]: SSL state (connect): SSLv3 read finished A<br>2009.02.24 13:34:42 LOG7[3752:376]:    1 items in the session cache<br>
2009.02.24 13:34:42 LOG7[3752:376]:    1 client connects (SSL_connect())<br>2009.02.24 13:34:42 LOG7[3752:376]:    1 client connects that finished<br>2009.02.24 13:34:42 LOG7[3752:376]:    0 client renegotiations requested<br>
2009.02.24 13:34:42 LOG7[3752:376]:    0 server connects (SSL_accept())<br>2009.02.24 13:34:42 LOG7[3752:376]:    0 server connects that finished<br>2009.02.24 13:34:42 LOG7[3752:376]:    0 server renegotiations requested<br>
2009.02.24 13:34:42 LOG7[3752:376]:    0 session cache hits<br>2009.02.24 13:34:42 LOG7[3752:376]:    0 session cache misses<br>2009.02.24 13:34:42 LOG7[3752:376]:    0 session cache timeouts<br>2009.02.24 13:34:42 LOG6[3752:376]: SSL connected: new session negotiated<br>
2009.02.24 13:34:42 LOG6[3752:376]: Negotiated ciphers: RC4-MD5 SSLv3 Kx=RSA Au=RSA Enc=RC4(128) Mac=MD5 <br>2009.02.24 13:34:42 LOG7[3752:1576]: smtp accepted FD=264 from <a href="http://127.0.0.1:3067">127.0.0.1:3067</a><br>
2009.02.24 13:34:42 LOG7[3752:1576]: Creating a new thread<br>2009.02.24 13:34:42 LOG7[3752:1576]: New thread created<br>2009.02.24 13:34:42 LOG7[3752:216]: smtp started<br>2009.02.24 13:34:42 LOG7[3752:216]: FD 264 in non-blocking mode<br>
2009.02.24 13:34:42 LOG7[3752:216]: TCP_NODELAY option set on local socket<br>2009.02.24 13:34:42 LOG5[3752:216]: smtp accepted connection from <a href="http://127.0.0.1:3067">127.0.0.1:3067</a><br>2009.02.24 13:34:42 LOG7[3752:216]: FD 288 in non-blocking mode<br>
2009.02.24 13:34:42 LOG7[3752:216]: smtp connecting <a href="http://209.85.201.109:465">209.85.201.109:465</a><br>2009.02.24 13:34:42 LOG7[3752:216]: connect_wait: waiting 10 seconds<br>2009.02.24 13:34:42 LOG7[3752:216]: connect_wait: connected<br>
2009.02.24 13:34:42 LOG5[3752:216]: smtp connected remote server from <a href="http://192.168.1.100:3068">192.168.1.100:3068</a><br>2009.02.24 13:34:42 LOG7[3752:216]: Remote FD=288 initialized<br>2009.02.24 13:34:42 LOG7[3752:216]: TCP_NODELAY option set on remote socket<br>
2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): before/connect initialization<br>2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 write client hello A<br>2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 read server hello A<br>
2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 read server certificate A<br>2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 read server done A<br>2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 write client key exchange A<br>
2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 write change cipher spec A<br>2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 write finished A<br>2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 flush data<br>
2009.02.24 13:34:42 LOG7[3752:216]: SSL state (connect): SSLv3 read finished A<br>2009.02.24 13:34:42 LOG7[3752:216]:    2 items in the session cache<br>2009.02.24 13:34:42 LOG7[3752:216]:    2 client connects (SSL_connect())<br>
2009.02.24 13:34:42 LOG7[3752:216]:    2 client connects that finished<br>2009.02.24 13:34:42 LOG7[3752:216]:    0 client renegotiations requested<br>2009.02.24 13:34:42 LOG7[3752:216]:    0 server connects (SSL_accept())<br>
2009.02.24 13:34:42 LOG7[3752:216]:    0 server connects that finished<br>2009.02.24 13:34:42 LOG7[3752:216]:    0 server renegotiations requested<br>2009.02.24 13:34:42 LOG7[3752:216]:    0 session cache hits<br>2009.02.24 13:34:42 LOG7[3752:216]:    0 session cache misses<br>
2009.02.24 13:34:42 LOG7[3752:216]:    0 session cache timeouts<br>2009.02.24 13:34:42 LOG6[3752:216]: SSL connected: new session negotiated<br>2009.02.24 13:34:42 LOG6[3752:216]: Negotiated ciphers: RC4-MD5 SSLv3 Kx=RSA Au=RSA Enc=RC4(128) Mac=MD5 <br>
2009.02.24 13:34:43 LOG3[3752:216]: readsocket: Connection reset by peer (WSAECONNRESET) (10054)<br>2009.02.24 13:34:43 LOG5[3752:216]: Connection reset: 63 bytes sent to SSL, 335 bytes sent to socket<br>2009.02.24 13:34:43 LOG7[3752:216]: smtp finished (1 left)<br>
2009.02.24 13:35:43 LOG7[3752:376]: SSL socket closed on SSL_read<br>2009.02.24 13:35:43 LOG7[3752:376]: Socket write shutdown<br>2009.02.24 13:35:43 LOG5[3752:376]: Connection closed: 48 bytes sent to SSL, 131 bytes sent to socket<br>
2009.02.24 13:35:43 LOG7[3752:376]: pop finished (0 left)</font></div>
<div> </div>
<div><br clear="all">Richard Brust<br>rbrDataSolutions/ACT! Certified Consulting<br><a href="http://www.rbrDataSolutions.com">http://www.rbrDataSolutions.com</a><br>916/769-9411<br></div>