<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Dear Kossi,</p>
<p>You answered the same question about one month ago on a different
mailing list and the responses you received still apply.</p>
<p>We suspected that the SMTP output needs to add an additional MIME
header to the attachment in the mail, so that Microsoft Outlook
interprets the attachment as CSV-file.<br>
</p>
<p>So this:<br>
Content-Disposition: attachment; filename="somefeed.csv"<br>
needs to be added using<br>
<a class="moz-txt-link-freetext" href="https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.add_header">https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.add_header</a><br>
at about this place in the IntelMQ code:<br>
<a class="moz-txt-link-freetext" href="https://github.com/certtools/intelmq/blob/a51276054a7c5f0744ccb90cda54a03eeed75400/intelmq/bots/outputs/smtp/output.py#L69">https://github.com/certtools/intelmq/blob/a51276054a7c5f0744ccb90cda54a03eeed75400/intelmq/bots/outputs/smtp/output.py#L69</a></p>
<p>Unless someone does this work (+ testing), the behavior will
likely not change. I <i>may</i> find the time for it this week if
nothing else prevents me to do so.<br>
</p>
<p>Sebastian<br>
</p>
<div class="moz-cite-prefix">On 7/7/21 3:37 PM, Kossi DOH via
IntelMQ-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9f375cb7792d4398a6b56e1fa6f0c531@cert.tg">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Dear Community<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Please I need help to
configure the SMTP bots of Intelmq to send CSV file as
describe in the description. I check the MIME and I is not
the blocking point. The Information needed to be sent in CSV
is either in the ATT00001 file and contrary to all the
Intelmq mail I do receive mine is not .txt.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Can someone please help
me to solve this issue?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This is an example of
the file sent after the configuration:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><img
style="width:3.1333in;height:1.2166in"
id="Picture_x0020_1"
src="cid:part1.EFD829B0.859F7ED2@cert.at" class=""
width="301" height="117"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">Cordialement
/ Best Regards,
<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:black;mso-fareast-language:FR">Kossi
DOH<br>
</span></b><span
style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:gray;mso-fareast-language:FR">Analyste
Cyber Securite</span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:black;mso-fareast-language:FR">CYBER
DEFENSE AFRICA S.A.S.</span></b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:black;mso-fareast-language:FR">Mobile:
+228 70 54 93 26</span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><a
href="https://cert.tg" moz-do-not-send="true"><b><span
style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:#0070C0" lang="EN-US">https://cert.tg</span></b></a></span><b><u><span
style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:#0070C0;mso-fareast-language:FR"
lang="EN-US"><o:p></o:p></span></u></b></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:#7F7F7F;mso-fareast-language:FR"
lang="EN-US">This information is intended only for the
person or entity to which it is addressed and may contain
confidential and/or privileged material. Unauthorised use of
this information by a person or entity other than the
intended recipient is prohibited by law. If you received
this by mistake, please immediately contact the sender by
email or phone and delete this information from any
computer. </span>
<span style="font-size:9.0pt;font-family:"Trebuchet
MS",sans-serif;color:#7F7F7F;mso-fareast-language:FR">Thank
you.
</span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
// Sebastian Wagner <a class="moz-txt-link-rfc2396E" href="mailto:wagner@cert.at"><wagner@cert.at></a> - T: +43 676 898 298 7201
// CERT Austria - <a class="moz-txt-link-freetext" href="https://www.cert.at/">https://www.cert.at/</a>
// Eine Initiative der nic.at GmbH - <a class="moz-txt-link-freetext" href="https://www.nic.at/">https://www.nic.at/</a>
// Firmenbuchnummer 172568b, LG Salzburg</pre>
</body>
</html>