feature request -- prevent adding any headers in raw mode by new option -rawonly
"Nißl Reinhard
[email protected] [blat]" <
[email protected]>
Mon, 17 Aug 2020 14:43:43 +0000
| Newsgroups |
gmane.mail.blat |
| Message-ID |
<[email protected]> |
--_000_60de0b3e97e841149dc43ea67fe82dd9exsv3feede_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I'd like to resend some saved emails, i. e. files, which also contain heade=
r lines, etc.
My best approach so far is:
blat mailBody.txt -q -noh2 -server smtp -nomps -f [email protected] -bcc re=
[email protected] -ss -raw
Having a look at the server communication with wireshark, blat always adds =
these additional headers:
Date: Mon, 17 Aug 2020 16:15:48 +0200
From: [email protected]
Message-ID: <01d674a0$Blat.v3.2.17$e7df4362$4bd83b20145e@smtp>
In case mailBody.txt already contains headers like Date, From and Message-I=
D (which is true in my case), some mail servers refuse the message e. g. du=
e to multiple Date headers.
It would be nice, if blat could be instructed to not add any headers, e. g.=
by a new option -rawonly.
On the other hand, it would be even nicer to have finer control about which=
headers are added in raw mode.
Like -ss suppresses the Subject header, maybe -fs, -ds and -ms could contro=
l suppressing From, Date and Message-ID headers.
Thanks in advance.
Bye.
--_000_60de0b3e97e841149dc43ea67fe82dd9exsv3feede_
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>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;">Hi,<o></o></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">I’d like to resend some saved emails, i. e. files, which also contain header lines, etc.<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">My best approach so far is:<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">blat mailBody.txt -q -noh2 -server smtp -nomps -f [email protected] -bcc [email protected] -ss –raw<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">Having a look at the server communication with wireshark, blat always adds these additional headers:<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p style="margin:0cm;"><span lang="EN-GB" style="color:#7F0000;background:#FBEDED;">Date: Mon, 17 Aug 2020 16:15:48 +0200</span><span lang="EN-GB"><o></o></span></p>
<p style="margin:0cm;"><span lang="EN-GB" style="color:#7F0000;background:#FBEDED;">From: [email protected]</span><span lang="EN-GB"><o></o></span></p>
<p style="margin:0cm;"><span lang="EN-GB" style="color:#7F0000;background:#FBEDED;">Message-ID: <01d674a0$Blat.v3.2.17$e7df4362$4bd83b20145e@smtp></span><span lang="EN-GB"><o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">In case mailBody.txt already contains headers like Date, From and Message-ID (which is true in my case), some mail servers refuse the message e. g. due to multiple
Date headers.<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">It would be nice, if blat could be instructed to not add any headers, e. g. by a new option –rawonly.<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">On the other hand, it would be even nicer to have finer control about which headers are added in raw mode.<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">Like –ss suppresses the Subject header, maybe –fs, -ds and –ms could control suppressing From, Date and Message-ID headers.<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;">Thanks in advance.<o></o></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;">Bye.<o></o></span></p>
</div>
</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: =?iso-8859-1?Q?Ni=DFl_Reinhard?= <[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/14127;_ylc=X3oDMTJwbzNjMTI2BF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEbXNnSWQDMTQxMjcEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxNTk3Njc1NDMw?act=reply&messageNum=14127">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%20feature%20request%20--%20prevent%20adding%20any%20headers%20in%20raw%20mode%20by%20new%20option%20-rawonly" 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%20feature%20request%20--%20prevent%20adding%20any%20headers%20in%20raw%20mode%20by%20new%20option%20-rawonly" 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=X3oDMTJkN3ZjbXRwBF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEc2VjA2Z0cgRzbGsDbnRwYwRzdGltZQMxNTk3Njc1NDMw" 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/14127;_ylc=X3oDMTM1Y2xvMzBuBF9TAzk3MzU5NzE0BGdycElkAzMxMTEzNwRncnBzcElkAzE3MDUwMDczODkEbXNnSWQDMTQxMjcEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxNTk3Njc1NDMwBHRwY0lkAzE0MTI3" style="text-decoration: none; color: #2D50FD;">Messages in this topic</a>
(1)
</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 -->
--_000_60de0b3e97e841149dc43ea67fe82dd9exsv3feede_--