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

Kossi DOH kdoh at cert.tg
Sun Aug 22 17:09:12 CEST 2021


Hello dear Sebastian

Happy to hear that.

I will be waiting for the update then.

 

From: Sebastian Wagner <wagner at cert.at> 
Sent: Thursday, August 19, 2021 6:22 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

 

Dear Kossi,

I took the time to work on this issue and we merged the fix for it today (https://github.com/certtools/intelmq/pull/2052). The fix will be part of the upcoming IntelMQ release 3.0.1.

best regards
Sebastian

On 7/12/21 2:56 PM, Sebastian Wagner wrote:

	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

	
	
	

-- 
// 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/20210822/e27f410e/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/20210822/e27f410e/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/20210822/e27f410e/attachment.sig>


More information about the IntelMQ-users mailing list