cvg1wby
2009-12-08 16:17:16 UTC
i'm trying to use blat to send emails through my gmail account. i've read over a lot of threads on using/configuring stunnel to secure the connection and when i was working on my batch file at home i had everything working. i was able to connect to my gmail account using the preconfigured stunnel.conf file i found in the files section of this group and was sending emails with blat. Now when i'm trying to implement everything at the install location i'm getting an error that says:
Error: Connection to server was dropped.
SMTP server error
Error: Not a socket.
Error: Not a socket.
The contents of my stunnel config file are:
debug = 7
output = log.txt
; Use it for client mode
client = yes
; Service-level configuration
; Google
[SMTP]
accept = 25
connect = smtp.gmail.com:465
and the output from the debug file is:
2009.12.08 10:50:39 LOG7[1624:1276]: RAND_status claims sufficient entropy for the PRNG
2009.12.08 10:50:39 LOG7[1624:1276]: PRNG seeded successfully
2009.12.08 10:50:39 LOG7[1624:1276]: SSL context initialized for service SMTP
2009.12.08 10:50:39 LOG7[1624:1276]: SSL context initialized for service pop3
2009.12.08 10:50:39 LOG5[1624:1276]: stunnel 4.28 on x86-pc-mingw32-gnu with OpenSSL 0.9.8l 5 Nov 2009
2009.12.08 10:50:39 LOG5[1624:1276]: Threading:WIN32 SSL:ENGINE Sockets:SELECT,IPv6
2009.12.08 10:50:39 LOG5[1624:716]: No limit detected for the number of clients
2009.12.08 10:50:39 LOG7[1624:716]: FD 240 in non-blocking mode
2009.12.08 10:50:39 LOG7[1624:716]: SO_REUSEADDR option set on accept socket
2009.12.08 10:50:39 LOG7[1624:716]: SMTP bound to 0.0.0.0:25
2009.12.08 10:50:39 LOG7[1624:716]: FD 248 in non-blocking mode
2009.12.08 10:50:39 LOG7[1624:716]: SO_REUSEADDR option set on accept socket
2009.12.08 10:50:39 LOG7[1624:716]: pop3 bound to 0.0.0.0:110
2009.12.08 10:50:39 LOG7[1624:716]: SMTP accepted FD=264 from 127.0.0.1:1440
2009.12.08 10:50:39 LOG7[1624:716]: Creating a new thread
2009.12.08 10:50:39 LOG7[1624:716]: New thread created
2009.12.08 10:50:39 LOG7[1624:2580]: SMTP started
2009.12.08 10:50:39 LOG7[1624:2580]: FD 264 in non-blocking mode
2009.12.08 10:50:39 LOG5[1624:2580]: SMTP accepted connection from 127.0.0.1:1440
2009.12.08 10:50:39 LOG7[1624:2580]: FD 288 in non-blocking mode
2009.12.08 10:50:39 LOG6[1624:2580]: connect_blocking: connecting 74.125.113.109:465
2009.12.08 10:50:39 LOG7[1624:2580]: connect_blocking: s_poll_wait 74.125.113.109:465: waiting 10 seconds
2009.12.08 10:50:49 LOG3[1624:2580]: connect_blocking: s_poll_wait 74.125.113.109:465: timeout
2009.12.08 10:50:49 LOG5[1624:2580]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2009.12.08 10:50:49 LOG7[1624:2580]: SMTP finished (0 left)
I'm using blat version 2.6.2 and the command i'm sending is:
blat - -body "test" -to ***@yahoo.com -u ***@gmail.com -pw .... -f ***@gmai.com
where the ...'s are filled in with the appropriate information.
Sorry for the long post. any help would be greatly appreciated. I have a lot of people breathing down my neck to get this setup and working. Thanks in advance
Error: Connection to server was dropped.
SMTP server error
Error: Not a socket.
Error: Not a socket.
The contents of my stunnel config file are:
debug = 7
output = log.txt
; Use it for client mode
client = yes
; Service-level configuration
[SMTP]
accept = 25
connect = smtp.gmail.com:465
and the output from the debug file is:
2009.12.08 10:50:39 LOG7[1624:1276]: RAND_status claims sufficient entropy for the PRNG
2009.12.08 10:50:39 LOG7[1624:1276]: PRNG seeded successfully
2009.12.08 10:50:39 LOG7[1624:1276]: SSL context initialized for service SMTP
2009.12.08 10:50:39 LOG7[1624:1276]: SSL context initialized for service pop3
2009.12.08 10:50:39 LOG5[1624:1276]: stunnel 4.28 on x86-pc-mingw32-gnu with OpenSSL 0.9.8l 5 Nov 2009
2009.12.08 10:50:39 LOG5[1624:1276]: Threading:WIN32 SSL:ENGINE Sockets:SELECT,IPv6
2009.12.08 10:50:39 LOG5[1624:716]: No limit detected for the number of clients
2009.12.08 10:50:39 LOG7[1624:716]: FD 240 in non-blocking mode
2009.12.08 10:50:39 LOG7[1624:716]: SO_REUSEADDR option set on accept socket
2009.12.08 10:50:39 LOG7[1624:716]: SMTP bound to 0.0.0.0:25
2009.12.08 10:50:39 LOG7[1624:716]: FD 248 in non-blocking mode
2009.12.08 10:50:39 LOG7[1624:716]: SO_REUSEADDR option set on accept socket
2009.12.08 10:50:39 LOG7[1624:716]: pop3 bound to 0.0.0.0:110
2009.12.08 10:50:39 LOG7[1624:716]: SMTP accepted FD=264 from 127.0.0.1:1440
2009.12.08 10:50:39 LOG7[1624:716]: Creating a new thread
2009.12.08 10:50:39 LOG7[1624:716]: New thread created
2009.12.08 10:50:39 LOG7[1624:2580]: SMTP started
2009.12.08 10:50:39 LOG7[1624:2580]: FD 264 in non-blocking mode
2009.12.08 10:50:39 LOG5[1624:2580]: SMTP accepted connection from 127.0.0.1:1440
2009.12.08 10:50:39 LOG7[1624:2580]: FD 288 in non-blocking mode
2009.12.08 10:50:39 LOG6[1624:2580]: connect_blocking: connecting 74.125.113.109:465
2009.12.08 10:50:39 LOG7[1624:2580]: connect_blocking: s_poll_wait 74.125.113.109:465: waiting 10 seconds
2009.12.08 10:50:49 LOG3[1624:2580]: connect_blocking: s_poll_wait 74.125.113.109:465: timeout
2009.12.08 10:50:49 LOG5[1624:2580]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2009.12.08 10:50:49 LOG7[1624:2580]: SMTP finished (0 left)
I'm using blat version 2.6.2 and the command i'm sending is:
blat - -body "test" -to ***@yahoo.com -u ***@gmail.com -pw .... -f ***@gmai.com
where the ...'s are filled in with the appropriate information.
Sorry for the long post. any help would be greatly appreciated. I have a lot of people breathing down my neck to get this setup and working. Thanks in advance