-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring email sending #6196
Comments
@marceloschmidt yes sorry about the security issue, you are right, it is not. I was confused at first because, I'm a meteor user, and I expect MAIL_URL to work. But as explained in #6192 and the documentation, SMTP settings need also to be specified for a proper working Rocket.Chat instance. I still think that sending emails should be refactored for 2 reasons:
|
I believe the problem of using multiple methods has been fixed. @ggazzo can you please confirm and if so close the issue? |
@ggazzo you are last mentioned, do you know if we can close this? |
I investigated a bit for #6192 and #6195 and the way Rocket.Chat is sending email is... I'd say a bit messy, let me detail
And here I can see a potential security issue:
Rocket.Chat/packages/rocketchat-mailer/client/views/mailer.coffee
Line 9 in 07efe5a
Looks like you let the user define the from field.
Which means, as an email provider, my reputation can get lowered by a spammer using my rocket.chat instance.
IMHO, we need to refactor these, to make it easier to understand what is going on.
I guess we need:
What is the normal way to proceed? Should we open an issue for each item? What is your general opinion on that matter?
The text was updated successfully, but these errors were encountered: