<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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]--></head><body lang=FR link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p>Hi Sebastian<o:p></o:p></p><p><span lang=EN-US>Thank for your reply. I will work on it with and see what it gives. If I understand well this issue is related to Microsoft Outlook.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:FR'>From:</span></b><span lang=EN-US style='mso-fareast-language:FR'> Sebastian Wagner <wagner@cert.at> <br><b>Sent:</b> Monday, July 12, 2021 12:56 PM<br><b>To:</b> Kossi DOH <kdoh@cert.tg>; intelmq-users <intelmq-users@lists.cert.at><br><b>Subject:</b> Re: [IntelMQ-users] Unable to send CSV file using Intelmq<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=1 cellpadding=0 width="100%" style='width:100.0%;background:#F0F0F0'><tr><td style='padding:.6pt .6pt .6pt .6pt'><p class=MsoNormal align=center style='text-align:center'><b><span style='color:black;background:#F0F0F0'>OpenPGP message</span></b><b><span style='background:#F0F0F0;mso-fareast-language:FR'><o:p></o:p></span></b></p></td></tr><tr><td style='padding:.6pt .6pt .6pt .6pt'><p class=MsoNormal align=center style='text-align:center'><b><span style='color:black;background:#F0F0F0'>Please wait while the message is being verified...</span><span style='background:#F0F0F0'><o:p></o:p></span></b></p></td></tr><tr><td style='background:#F8F8F8;padding:.6pt .6pt .6pt .6pt'><p><span style='color:black'>Dear Kossi,</span><o:p></o:p></p><p><span style='color:black'>You answered the same question about one month ago on a different mailing list and the responses you received still apply.</span><o:p></o:p></p><p><span style='color:black'>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.</span><o:p></o:p></p><p><span style='color:black'>So this:<br>Content-Disposition: attachment; filename="somefeed.csv"<br>needs to be added using<br><a 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 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></span><o:p></o:p></p><p><span style='color:black'>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.</span><o:p></o:p></p><p><span style='color:black'>Sebastian</span><o:p></o:p></p><div><p class=MsoNormal><span style='color:black'>On 7/7/21 3:37 PM, Kossi DOH via IntelMQ-users wrote:</span><o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='color:black'>Dear Community</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:black'>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.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:black'>Can someone please help me to solve this issue?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:black'>This is an example of the file sent after the configuration:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:black'><img border=0 width=301 height=117 style='width:3.1333in;height:1.2166in' id="Picture_x0020_1" src="cid:image001.png@01D77739.CF453720"></span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:black'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR'>Cordialement / Best Regards, </span><o:p></o:p></p><p class=MsoNormal><b><span style='font-size:9.0pt;color:black'>Kossi DOH<br></span></b><span style='font-size:9.0pt;color:black'>Analyste Cyber Securite</span><o:p></o:p></p><p class=MsoNormal><b><span style='font-size:9.0pt;color:black'>CYBER DEFENSE AFRICA S.A.S.</span></b><o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>Mobile: +228 70 54 93 26</span><o:p></o:p></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR'><a href="https://cert.tg"><b><span lang=EN-US style='font-size:9.0pt'>https://cert.tg</span></b></a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:9.0pt;color:black'>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;color:black'>Thank you. </span><o:p></o:p></p><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='mso-fareast-language:FR'><o:p> </o:p></span></p></blockquote><pre><span style='color:black'>-- </span><o:p></o:p></pre><pre><span style='color:black'>// Sebastian Wagner <a href="mailto:wagner@cert.at"><wagner@cert.at></a> - T: +43 676 898 298 7201</span><o:p></o:p></pre><pre><span style='color:black'>// CERT Austria - <a href="https://www.cert.at/">https://www.cert.at/</a></span><o:p></o:p></pre><pre><span style='color:black'>// Eine Initiative der nic.at GmbH - <a href="https://www.nic.at/">https://www.nic.at/</a></span><o:p></o:p></pre><pre><span style='color:black'>// Firmenbuchnummer 172568b, LG Salzburg</span><o:p></o:p></pre></td></tr></table><p class=MsoNormal><span style='mso-fareast-language:FR'><o:p> </o:p></span></p></div></body></html>