[IntelMQ-users] Unable to send CSV file using Intelmq

Kossi DOH kdoh at cert.tg
Mon Jul 12 18:25:05 CEST 2021


Hi Sebastian

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.

 

From: Sebastian Wagner <wagner at cert.at> 
Sent: Monday, July 12, 2021 12:56 PM
To: Kossi DOH <kdoh at cert.tg>; intelmq-users <intelmq-users at lists.cert.at>
Subject: Re: [IntelMQ-users] Unable to send CSV file using Intelmq

 

OpenPGP message

Please wait while the message is being verified...

Dear Kossi,

You answered the same question about one month ago on a different mailing list and the responses you received still apply.

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.

So this:
Content-Disposition: attachment; filename="somefeed.csv"
needs to be added using
https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.add_header
at about this place in the IntelMQ code:
https://github.com/certtools/intelmq/blob/a51276054a7c5f0744ccb90cda54a03eeed75400/intelmq/bots/outputs/smtp/output.py#L69

Unless someone does this work (+ testing), the behavior will likely not change. I may find the time for it this week if nothing else prevents me to do so.

Sebastian

On 7/7/21 3:37 PM, Kossi DOH via IntelMQ-users wrote:

	Dear Community

	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.

	Can someone please help me to solve this issue?

	This is an example of the file sent after the configuration:

	

	 

	Cordialement / Best Regards, 

	Kossi DOH
	Analyste Cyber Securite

	CYBER DEFENSE AFRICA S.A.S.

	Mobile: +228 70 54 93 26

	https://cert.tg <https://cert.tg> 

	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. Thank you. 

	 

	 

	 

-- 
// Sebastian Wagner <wagner at cert.at> <mailto:wagner at cert.at>  - T: +43 676 898 298 7201
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - https://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20210712/e4b96c9a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2348 bytes
Desc: not available
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20210712/e4b96c9a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20210712/e4b96c9a/attachment.sig>


More information about the IntelMQ-users mailing list