RansomLook/RansomLook

[Feature]: Auth SMTP + SSL

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.

Once Ransomlook is not installed into an enterprise perimeter it would be handy to send emails througout a dedicated gmail account for instance to ensure the incoming emails are not vetted as spams.

Describe the solution you'd like

For this are required additional fields for authentication and SSL encryption.

server = smtplib.SMTP_SSL(config['smtp_server'],config['smtp_port'])
server.login(config['smtp_login'],config['smtp_password'])
server.send_message(msg)

then one has to add those two fields in the file generic.json:

"smtp_login": "email@gmail.com",
"smtp_password": "superpassword",

An ssl boolean could redirect to the expected smtp lib

Best,

Describe alternatives you've considered

No response

Additional context

No response

Hey,

I'll try to do it ASAP.

BR,

Should be fixed with last commit :) b8aa0b9