MISP / mail_to_misp

Connect your mail client/infrastructure to MISP in order to create events based on the information contained within mails.
GNU Affero General Public License v3.0
69 stars 25 forks source link

Email Subject Prefix issue #19

Closed makakin closed 6 years ago

makakin commented 6 years ago

I tried to enable the option [email_subject_prefix = b'M2M - '], however, the subject doesn't show the M2M - prefix in front of the title.

rommelfs commented 6 years ago

Hi!

That's true, there was a bug in the previous version not handling this correctly.

The very new refactored version should take care of this again properly. git pull, have fun.

makakin commented 6 years ago

I got this error in my email log

(Command died with status 1: "/mail_to_misp.py". Command output: File "/mail_to_misp.py", line 55 self.misp_event.info = f'{config.email_subject_prefix} - {self.subject}' ^ SyntaxError: invalid syntax )

rommelfs commented 6 years ago

That is due to the new requirement python3.6. Can you meet that in your installation? Otherwise I could give you a quick fix for the version of mail_to_misp you are running, but that won't be supported after all and you should strongly consider the upgrade.

makakin commented 6 years ago

Oh, I will try to update 3.6 later, thanks!