| Newsgroups |
gmane.mail.blat |
| Message-ID |
<5D5BDE84788E4629A10A986F16DE8E54@extensa> |
Have you setup stunnel?
Regards,
For Softools Middle East, A Dubai Based Company
Skand Bhargava
TAS2000 & HR2020: Serious Attendance & HR Systems
PO Box 14959, Dubai
Tel: +971 4 2680533, Mob: +971 50 6340258
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Monday, May 02, 2016 9:15 AM
To: [email protected]
Subject: RE: [blat] hotmail troubles
Hello Chip,
I am still not able to get this to work. :(
The batch file is copied below.
c:\medcomp\projects\singh\blat\blat.exe -install 127.0.0.1
[email protected] PASSWORD -port 587
c:\medcomp\projects\singh\blat\blat.exe -q -subject "blah blah" -body
"message body here" -to [email protected] -server 127.0.0.1:28 -u
[email protected] -pw PASSWORD -debug -log c:\blat.log
The blat.log file shows:
2016.05.02 00:51:07 (Mon)------------Start of Session-----------------
Blat v3.2.12 (build : Dec 4 2015 19:32:55)
32-bit Windows, Full, Unicode
<<<getline<<< 220 BLU436-SMTP14.smtp.hotmail.com Microsoft ESMTP MAIL
Service, Version: 8.0.9200.16384 ready at Sun, 1 May 2016 21:51:29 -0700
>>>putline>>> EHLO laptop
Error: Connection to server was dropped.
connection::put_pData() unexpected error from send(): 10054 (WSAECONNRESET)
Error: Error sending data.
2016.05.02 00:51:07 (Mon)-------------End of Session------------------
If I use the batch file with server 127.0.0.1 (without the :28) then I get
the following:
2016.05.02 01:07:46 (Mon)------------Start of Session-----------------
Blat v3.2.12 (build : Dec 4 2015 19:32:55)
32-bit Windows, Full, Unicode
<<<getline<<< 220 BLU436-SMTP172.smtp.hotmail.com Microsoft ESMTP MAIL
Service, Version: 8.0.9200.16384 ready at Sun, 1 May 2016 22:08:09 -0700
>>>putline>>> EHLO laptop.hotmail.com
<<<getline<<< 250-BLU436-SMTP172.smtp.hotmail.com Hello [24.93.237.23]
<<<getline<<< 250-TURN
<<<getline<<< 250-SIZE 41943040
<<<getline<<< 250-ETRN
<<<getline<<< 250-PIPELINING
<<<getline<<< 250-DSN
<<<getline<<< 250-ENHANCEDSTATUSCODES
<<<getline<<< 250-8bitmime
<<<getline<<< 250-BINARYMIME
<<<getline<<< 250-CHUNKING
<<<getline<<< 250-VRFY
<<<getline<<< 250-AUTH LOGIN PLAIN XOAUTH2
<<<getline<<< 250 OK
Sending stdin.txt to [email protected]
Subject: blah blah
Login name is [email protected]
>>>putline>>> AUTH PLAIN *****
<<<getline<<< 535 5.0.0 Authentication Failed
*** Warning *** The SMTP server did not accept Auth PLAIN value.
*** Warning *** Are your login userid and password correct?
>>>putline>>> AUTH LOGIN
Error: Connection to server was dropped.
*** Warning *** The SMTP server does not require AUTH LOGIN.
*** Warning *** Are you sure server supports AUTH?
>>>putline>>> MAIL FROM:<[email protected]>
Error: Connection to server was dropped.
*** Error *** The SMTP server does not like the sender name.
*** Error *** Have you set your mail address correctly?
connection::put_pData() unexpected error from send(): 10053
(WSAECONNABORTED)
Error: Error sending data.
Error: Connection to server was dropped.
2016.05.02 01:07:47 (Mon)-------------End of Session------------------
I know I'm close here, but am missing something.
I have attached the stunnel config file so you can check it.
Thanks!
Howard
from the stunnel log:
2016.05.02 01:07:29 LOG5[main]: stunnel 5.31 on x86-pc-msvc-1500 platform
2016.05.02 01:07:29 LOG5[main]: Compiled/running with OpenSSL 1.0.2g-fips 1
Mar 2016
2016.05.02 01:07:29 LOG5[main]: Threading:WIN32 Sockets:SELECT,IPv6
TLS:ENGINE,FIPS,OCSP,PSK,SNI
2016.05.02 01:07:29 LOG5[main]: Reading configuration from file stunnel.conf
2016.05.02 01:07:29 LOG5[main]: UTF-8 byte order mark detected
2016.05.02 01:07:29 LOG5[main]: FIPS mode disabled
2016.05.02 01:07:29 LOG5[main]: Configuration successful
2016.05.02 01:07:46 LOG5[0]: Service [live-smtp] accepted connection from
127.0.0.1:2005
2016.05.02 01:07:46 LOG5[0]: s_connect: connected 65.55.176.126:587
2016.05.02 01:07:46 LOG5[0]: Service [live-smtp] connected remote server
from 192.168.1.112:2006
2016.05.02 01:07:47 LOG5[0]: OCSP: Connecting the AIA responder
"http://ocsp.globalsign.com/rootr1"
2016.05.02 01:07:47 LOG5[0]: s_connect: connected 104.16.25.216:80
2016.05.02 01:07:47 LOG5[0]: OCSP: Certificate accepted
2016.05.02 01:07:47 LOG5[0]: OCSP: Connecting the AIA responder
"http://ocsp2.globalsign.com/gsorganizationvalsha2g2"
2016.05.02 01:07:47 LOG5[0]: s_connect: connected 104.16.25.216:80
2016.05.02 01:07:47 LOG5[0]: OCSP: Certificate accepted
2016.05.02 01:07:47 LOG5[0]: Certificate accepted at depth=0: C=US,
ST=Washington, L=Redmond, O=Microsoft Corporation, CN=*.hotmail.com
2016.05.02 01:07:47 LOG5[0]: Connection closed: 94 byte(s) sent to SSL, 272
byte(s) sent to socket
2016.05.02 01:09:34 LOG5[1]: Service [live-smtp] accepted connection from
127.0.0.1:2014
2016.05.02 01:09:34 LOG5[1]: s_connect: connected 65.55.176.126:587
2016.05.02 01:09:34 LOG5[1]: Service [live-smtp] connected remote server
from 192.168.1.112:2015
2016.05.02 01:09:34 LOG5[1]: OCSP: Connecting the AIA responder
"http://ocsp.globalsign.com/rootr1"
2016.05.02 01:09:34 LOG5[1]: s_connect: connected 104.16.24.216:80
2016.05.02 01:09:35 LOG5[1]: OCSP: Certificate accepted
2016.05.02 01:09:35 LOG5[1]: OCSP: Connecting the AIA responder
"http://ocsp2.globalsign.com/gsorganizationvalsha2g2"
2016.05.02 01:09:35 LOG5[1]: s_connect: connected 104.16.25.216:80
2016.05.02 01:09:35 LOG5[1]: OCSP: Certificate accepted
2016.05.02 01:09:35 LOG5[1]: Certificate accepted at depth=0: C=US,
ST=Washington, L=Redmond, O=Microsoft Corporation, CN=*.hotmail.com
2016.05.02 01:09:35 LOG5[1]: Connection closed: 94 byte(s) sent to SSL, 272
byte(s) sent to socket
2016.05.02 01:12:45 LOG5[2]: Service [live-smtp] accepted connection from
127.0.0.1:2035
2016.05.02 01:12:45 LOG5[2]: s_connect: connected 65.55.176.126:587
2016.05.02 01:12:45 LOG5[2]: Service [live-smtp] connected remote server
from 192.168.1.112:2036
2016.05.02 01:12:46 LOG5[2]: OCSP: Connecting the AIA responder
"http://ocsp.globalsign.com/rootr1"
2016.05.02 01:12:46 LOG5[2]: s_connect: connected 104.16.27.216:80
2016.05.02 01:12:46 LOG5[2]: OCSP: Certificate accepted
2016.05.02 01:12:46 LOG5[2]: OCSP: Connecting the AIA responder
"http://ocsp2.globalsign.com/gsorganizationvalsha2g2"
2016.05.02 01:12:46 LOG5[2]: s_connect: connected 104.16.28.216:80
2016.05.02 01:12:46 LOG5[2]: OCSP: Certificate accepted
2016.05.02 01:12:46 LOG5[2]: Certificate accepted at depth=0: C=US,
ST=Washington, L=Redmond, O=Microsoft Corporation, CN=*.hotmail.com
2016.05.02 01:12:55 LOG5[2]: Connection closed: 94 byte(s) sent to SSL, 271
byte(s) sent to socket
_____
From: [email protected] [mailto:[email protected]]
Sent: Friday, April 29, 2016 6:05 PM
To: [email protected]
Subject: Re: [blat] hotmail troubles
> Hello all,
>
> I do not seem to be able to run blat for hotmail. Any help would be
welcome!
>
> TIA :)
>
> This is the script I am using:
>
> blat.exe -install [email protected] <password> -port 587
<snipped>
Please search the Yahoo! messages for "stunnel", and you will find a good
many messages with instructions. Some of these will include stunnel.conf
content that shows live.com as one of the servers.
The issue you have found is Blat does not directly support SSL / TLS. These
are encryption protocols supported by many POP3 / IMAP / SMTP servers,
especially servers that are not provided by your ISP. If you need more
help, you can always send email to me directly, I use stunnel here at home
for use with Blat.
Chip
[Non-text portions of this message have been removed]