| Newsgroups |
gmane.mail.blat |
| Message-ID |
<61375F2DD1AB42AC96FAECF455D81D96@chip> |
--rcZR4HLXAKVgGPsFmETJf6qzP07F7rgxRFNWXj3
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
> Hello,
>
> After many years (2013) I want to use BLAT again.
>
> In Outlook 2016 my current mailserver is configurerd for PORT 587 and TLS
> for sending mails
>
> This works fine.
>
> When I use the next BLAT instruction
> blat blat.lib -to [email protected] -server smtp.epd.com:587 -f
> [email protected] -ipw MyRegularPasword -subject PORT587 -debug -log
> blat.log
>
> I get the answer that you can see below (first of the 2 DEBUG items)
>
> What is wrong in my instruction?
>
> I also tried with a GMAIL account, an analog (but a little different)
> response
>
> blat blat.lib -to [email protected] -server smtp.gmail.com:587 -f
> [email protected] -pw MySECRETPasword -subject GMAIL587 -debug -log blat.log
>
> FIRST RESPONSE
> 2020.03.22 21:43:19 (Sun)------------Start of Session-----------------
> Blat v3.2.22 (build : Jul 19 2019 23:25:54)
> 64-bit Windows, Full, Unicode
> <<<getline<<< 220 mailrelay4.pub.mailoutpod1-cph3.epd.com ESMTP
> >>>putline>>> EHLO bte.myselmf.com
> <<<getline<<< 250-mailrelay4.pub.mailoutpod1-cph3.epd.com
> <<<getline<<< 250-PIPELININ
> <<<getline<<< 250-SIZE 104857600
> <<<getline<<< 250-STARTTLS
> <<<getline<<< 250-ENHANCEDSTATUSCODES
> <<<getline<<< 250 8BITMIME
> Sending blat.lib to [email protected]
> Subject: PORT587
> Login name is [email protected]
> >>>putline>>> MAIL FROM:<[email protected]> BODY=8BITMIME
> <<<getline<<< 450 4.7.1 Authentication required
> *** Error *** The SMTP server does not like the sender name.
> *** Error *** Have you set your mail address correctly?
> >>>putline>>> QUIT
> <<<getline<<< 221 2.0.0 Bye
> 2020.03.22 21:43:20 (Sun)-------------End of Session------------------
>
>
> SECOND RESPONSE TO GMAIL
> 2020.03.22 21:54:58 (Sun)------------Start of Session-----------------
> Blat v3.2.22 (build : Jul 19 2019 ! 23:25:54)
> 64-bit Windows, Full, Unicode
> <<<getline<<< 220 smtp.gmail.com ESMTP w3sm14367677wrn.31 - gsmtp
> >>>putline>>> EHLO bte.myselmf.com
> <<<getline<<< 250-smtp.gmail.com at your service, [213.219.160.176]
> <<<getline<<< 250-SIZE 35882577
> <<<getline<<< 250-8BITMIME
> <<<getline<<< 250-STARTTLS
> <<<getline<<< 250-ENHANCEDSTATUSCODES
> <<<getline<<< 250-PIPELINING
> <<<getline<<< 250-CHUNKING
> <<<getline<<< 250 SMTPUTF8
> Sending blat.lib to [email protected]
> Subject: GMAIL587
> Login name is [email protected]
> >>>putline>>> MAIL FROM:<[email protected]> BODY=8BITMIME
> <<<getline<<< 530 5.7.0 Must issue a STARTTLS command first.
> w3sm14367677wrn.31 - gsmtp
> *** Error *** The SMTP server does not like the sender name.
> *** Error *** Have you set your mail address correctly?
> >>>putline>>> QUIT
> <<<getline<<< 221 2.0.0 closing connection w3sm14367677wrn.31 - gsmtp
> 2020.03.22 21:54:58 (Sun)-------------End of Session------------------
Alin,
Port 587 requires TLS support, which Blat does not have. What I use for TLS
support is stunnel from stunnel.org to provide the TLS encryption between
the server and Blat. How it is used is Blat connects to IP 127.0.0.1 on a
port that stunnel is listening to, and then stunnel encrypts the message and
transmits it to the server.
Stunnel is free, and well maintained by the open source community. This
also uses the open source encryption library openssl. If any issues arise
with the encryption, these libraries are updated quickly. In this way, Blat
itself is not changed.
If you need help getting a good configuration for stunnel, here is a sample
from my stunnel.conf file. When I want to use gmail, I tell Blat to use IP
127.0.0.1 and port 27. Stunnel will accept take my connection and encrypt
it for Gmail. You can change the "accept=" line to be any port number you
want, but each "accept=" line should be different for each server you want
to connect with.
;CAfile = cert.pem
;cert = client.pem
client = yes
;RNDfile = .rnd
fips = no
output = stunnel.log
sslVersion = TLSv1
[gmail smtp]
accept = 27
connect = smtp.gmail.com:587
protocol = smtp
--rcZR4HLXAKVgGPsFmETJf6qzP07F7rgxRFNWXj3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body style="background-color: #fff;">
<span style="display:none"> </span>
<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id="ygrp-mlmsg" style="position:relative;">
<div id="ygrp-msg" style="z-index: 1;">
<!--~-|**|PrettyHtmlEndT|**|-~-->
<div id="ygrp-text" >
<p>> Hello,<br>
><br>
> After many years (2013) I want to use BLAT again.<br>
><br>
> In Outlook 2016 my current mailserver is configurerd for PORT 587 and TLS <br>
> for sending mails<br>
><br>
> This works fine.<br>
><br>
> When I use the next BLAT instruction<br>
> blat blat.lib -to [email protected] -server smtp.epd.com:587 -f <br>
> [email protected] -ipw MyRegularPasword -subject PORT587 -debug -log <br>
> blat.log<br>
><br>
> I get the answer that you can see below (first of the 2 DEBUG items)<br>
><br>
> What is wrong in my instruction?<br>
><br>
> I also tried with a GMAIL account, an analog (but a little different) <br>
> response<br>
><br>
> blat blat.lib -to [email protected] -server smtp.gmail.com:587 -f <br>
> [email protected] -pw MySECRETPasword -subject GMAIL587 -debug -log blat.log<br>
><br>
> FIRST RESPONSE<br>
> 2020.03.22 21:43:19 (Sun)------------Start of Session-----------------<br>
> Blat v3.2.22 (build : Jul 19 2019 23:25:54)<br>
> 64-bit Windows, Full, Unicode<br>
> <<<getline<<< 220 mailrelay4.pub.mailoutpod1-cph3.epd.com ESMTP<br>
> >>>putline>>> EHLO bte.myselmf.com<br>
> <<<getline<<< 250-mailrelay4.pub.mailoutpod1-cph3.epd.com<br>
> <<<getline<<< 250-PIPELININ<br>
> <<<getline<<< 250-SIZE 104857600<br>
> <<<getline<<< 250-STARTTLS<br>
> <<<getline<<< 250-ENHANCEDSTATUSCODES<br>
> <<<getline<<< 250 8BITMIME<br>
> Sending blat.lib to [email protected]<br>
> Subject: PORT587<br>
> Login name is [email protected]<br>
> >>>putline>>> MAIL FROM:<[email protected]> BODY=8BITMIME<br>
> <<<getline<<< 450 4.7.1 Authentication required<br>
> *** Error *** The SMTP server does not like the sender name.<br>
> *** Error *** Have you set your mail address correctly?<br>
> >>>putline>>> QUIT<br>
> <<<getline<<< 221 2.0.0 Bye<br>
> 2020.03.22 21:43:20 (Sun)-------------End of Session------------------<br>
><br>
><br>
> SECOND RESPONSE TO GMAIL<br>
> 2020.03.22 21:54:58 (Sun)------------Start of Session-----------------<br>
> Blat v3.2.22 (build : Jul 19 2019 ! 23:25:54)<br>
> 64-bit Windows, Full, Unicode<br>
> <<<getline<<< 220 smtp.gmail.com ESMTP w3sm14367677wrn.31 - gsmtp<br>
> >>>putline>>> EHLO bte.myselmf.com<br>
> <<<getline<<< 250-smtp.gmail.com at your service, [213.219.160.176]<br>
> <<<getline<<< 250-SIZE 35882577<br>
> <<<getline<<< 250-8BITMIME<br>
> <<<getline<<< 250-STARTTLS<br>
> <<<getline<<< 250-ENHANCEDSTATUSCODES<br>
> <<<getline<<< 250-PIPELINING<br>
> <<<getline<<< 250-CHUNKING<br>
> <<<getline<<< 250 SMTPUTF8<br>
> Sending blat.lib to [email protected]<br>
> Subject: GMAIL587<br>
> Login name is [email protected]<br>
> >>>putline>>> MAIL FROM:<[email protected]> BODY=8BITMIME<br>
> <<<getline<<< 530 5.7.0 Must issue a STARTTLS command first. <br>
> w3sm14367677wrn.31 - gsmtp<br>
> *** Error *** The SMTP server does not like the sender name.<br>
> *** Error *** Have you set your mail address correctly?<br>
> >>>putline>>> QUIT<br>
> <<<getline<<< 221 2.0.0 closing connection w3sm14367677wrn.31 - gsmtp<br>
> 2020.03.22 21:54:58 (Sun)-------------End of Session------------------<br>
<br>
Alin,<br>
<br>
Port 587 requires TLS support, which Blat does not have. What I use for TLS <br>
support is stunnel from stunnel.org to provide the TLS encryption between <br>
the server and Blat. How it is used is Blat connects to IP 127.0.0.1 on a <br>
port that stunnel is listening to, and then stunnel encrypts the message and <br>
transmits it to the server.<br>
<br>
Stunnel is free, and well maintained by the open source community. This <br>
also uses the open source encryption library openssl. If any issues arise <br>
with the encryption, these libraries are updated quickly. In this way, Blat <br>
itself is not changed.<br>
<br>
If you need help getting a good configuration for stunnel, here is a sample <br>
from my stunnel.conf file. When I want to use gmail, I tell Blat to use IP <br>
127.0.0.1 and port 27. Stunnel will accept take my connection and encrypt <br>
it for Gmail. You can change the "accept=" line to be any port number you <br>
want, but each "accept=" line should be different for each server you want <br>
to connect with.<br>
<br>
;CAfile = cert.pem<br>
;cert = client.pem<br>
client = yes<br>
;RNDfile = .rnd<br>
fips = no<br>
output = stunnel.log<br>
sslVersion = TLSv1<br>
<br>
[gmail smtp]<br>
accept = 27<br>
connect = smtp.gmail.com:587<br>
protocol = smtp <br>
<br>
</p>
</div>
<!--~-|**|PrettyHtmlStart|**|-~-->
<div style="color: #fff; height: 0;">__._,_.___</div>
<div style="clear:both"> </div>
<div id="fromDMARC" style="margin-top: 10px;">
<hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
Posted by: "Chip" <[email protected]> <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
</div>
<div style="clear:both"> </div>
<table cellspacing=4px style="margin-top: 10px; margin-bottom: 10px; color: #2D50FD;">
<tbody>
<tr>
<td style="font-size: 12px; font-family: arial; font-weight: bold; padding: 7px 5px 5px;" >
<a style="text-decoration: none; color: #2D50FD" href="https://groups.yahoo.com/neo/groups/blat/conversations/messages/14124;_ylc=X3oDMTJwbXY4Y2YxBF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEbXNnSWQDMTQxMjQEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxNTg0OTc4NDcw?act=reply&messageNum=14124">Reply via web post</a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;" >
<a href="mailto:[email protected]?subject=Re%3A%20%5Bblat%5D%20SMTP%20does%20not%20like%20sender%20name" style="text-decoration: none; color: #2D50FD;">
Reply to sender </a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;">
<a href="mailto:[email protected]?subject=Re%3A%20%5Bblat%5D%20SMTP%20does%20not%20like%20sender%20name" style="text-decoration: none; color: #2D50FD">
Reply to group </a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;" >
<a href="https://groups.yahoo.com/neo/groups/blat/conversations/newtopic;_ylc=X3oDMTJkbDNwM29iBF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEc2VjA2Z0cgRzbGsDbnRwYwRzdGltZQMxNTg0OTc4NDcw" style="text-decoration: none; color: #2D50FD">Start a New Topic</a>
</td>
<td>•</td>
<td style="font-size: 12px; font-family: arial; padding: 7px 5px 5px;color: #2D50FD;" >
<a href="https://groups.yahoo.com/neo/groups/blat/conversations/topics/14122;_ylc=X3oDMTM1MDVqbDJmBF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEbXNnSWQDMTQxMjQEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxNTg0OTc4NDcwBHRwY0lkAzE0MTIy" style="text-decoration: none; color: #2D50FD;">Messages in this topic</a>
(3)
</td>
</tr>
</tbody>
</table>
<!------- Start Nav Bar ------>
<div id="ygrp-grfd" style="font-family: Verdana; font-size: 12px; padding: 15px 0;">
<!-- |**|begin egp html banner|**| -->
-- <BR>
Homepage:<BR>
<a href="http://www.blat.net">http://www.blat.net</a><BR>
<BR>
</body>
<!--~-|**|PrettyHtmlStart|**|-~-->
<head>
<style type="text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}
#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}
#ygrp-mkp #ads {
margin-bottom: 10px;
}
#ygrp-mkp .ad {
padding: 0 0;
}
#ygrp-mkp .ad p {
margin: 0;
}
#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
#ygrp-sponsor #ygrp-lc {
font-family: Arial;
}
#ygrp-sponsor #ygrp-lc #hd {
margin: 10px 0px;
font-weight: 700;
font-size: 78%;
line-height: 122%;
}
#ygrp-sponsor #ygrp-lc .ad {
margin-bottom: 10px;
padding: 0 0;
}
#actions {
font-family: Verdana;
font-size: 11px;
padding: 10px 0;
}
#activity {
background-color: #e0ecee;
float: left;
font-family: Verdana;
font-size: 10px;
padding: 10px;
}
#activity span {
font-weight: 700;
}
#activity span:first-child {
text-transform: uppercase;
}
#activity span a {
color: #5085b6;
text-decoration: none;
}
#activity span span {
color: #ff7900;
}
#activity span .underline {
text-decoration: underline;
}
.attach {
clear: both;
display: table;
font-family: Arial;
font-size: 12px;
padding: 10px 0;
width: 400px;
}
.attach div a {
text-decoration: none;
}
.attach img {
border: none;
padding-right: 5px;
}
.attach label {
display: block;
margin-bottom: 5px;
}
.attach label a {
text-decoration: none;
}
blockquote {
margin: 0 0 0 4px;
}
.bold {
font-family: Arial;
font-size: 13px;
font-weight: 700;
}
.bold a {
text-decoration: none;
}
dd.last p a {
font-family: Verdana;
font-weight: 700;
}
dd.last p span {
margin-right: 10px;
font-family: Verdana;
font-weight: 700;
}
dd.last p span.yshortcuts {
margin-right: 0;
}
div.attach-table div div a {
text-decoration: none;
}
div.attach-table {
width: 400px;
}
div.file-title a, div.file-title a:active, div.file-title a:hover, div.file-title a:visited {
text-decoration: none;
}
div.photo-title a, div.photo-title a:active, div.photo-title a:hover, div.photo-title a:visited {
text-decoration: none;
}
div#ygrp-mlmsg #ygrp-msg p a span.yshortcuts {
font-family: Verdana;
font-size: 10px;
font-weight: normal;
}
.green {
color: #628c2a;
}
.MsoNormal {
margin: 0 0 0 0;
}
o {
font-size: 0;
}
#photos div {
float: left;
width: 72px;
}
#photos div div {
border: 1px solid #666666;
height: 62px;
overflow: hidden;
width: 62px;
}
#photos div label {
color: #666666;
font-size: 10px;
overflow: hidden;
text-align: center;
white-space: nowrap;
width: 64px;
}
#reco-category {
font-size: 77%;
}
#reco-desc {
font-size: 77%;
}
.replbq {
margin: 4px;
}
#ygrp-actbar div a:first-child {
/* border-right: 0px solid #000;*/
margin-right: 2px;
padding-right: 5px;
}
#ygrp-mlmsg {
font-size: 13px;
font-family: Arial, helvetica,clean, sans-serif;
*font-size: small;
*font: x-small;
}
#ygrp-mlmsg table {
font-size: inherit;
font: 100%;
}
#ygrp-mlmsg select, input, textarea {
font: 99% Arial, Helvetica, clean, sans-serif;
}
#ygrp-mlmsg pre, code {
font:115% monospace;
*font-size:100%;
}
#ygrp-mlmsg * {
line-height: 1.22em;
}
#ygrp-mlmsg #logo {
padding-bottom: 10px;
}
#ygrp-msg p a {
font-family: Verdana;
}
#ygrp-msg p#attach-count span {
color: #1E66AE;
font-weight: 700;
}
#ygrp-reco #reco-head {
color: #ff7900;
font-weight: 700;
}
#ygrp-reco {
margin-bottom: 20px;
padding: 0px;
}
#ygrp-sponsor #ov li a {
font-size: 130%;
text-decoration: none;
}
#ygrp-sponsor #ov li {
font-size: 77%;
list-style-type: square;
padding: 6px 0;
}
#ygrp-sponsor #ov ul {
margin: 0;
padding: 0 0 0 8px;
}
#ygrp-text {
font-family: Georgia;
}
#ygrp-text p {
margin: 0 0 1em 0;
}
#ygrp-text tt {
font-size: 120%;
}
#ygrp-vital ul li:last-child {
border-right: none !important;
}
-->
</style>
</head>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</html>
<!-- end group email -->
--rcZR4HLXAKVgGPsFmETJf6qzP07F7rgxRFNWXj3--