Skip to content
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

Direct messages are visible in docker logs #89

Open
AlvaroBrey opened this issue Jul 30, 2019 · 2 comments
Open

Direct messages are visible in docker logs #89

AlvaroBrey opened this issue Jul 30, 2019 · 2 comments

Comments

@AlvaroBrey
Copy link

AlvaroBrey commented Jul 30, 2019

Title says it all. I was checking docker logs when I saw that all messages on the rocketchat instance are logged to stdout in mail format. To be specific, messages are something like this:

rocketchat_1          | ====== BEGIN MAIL #251 ======
rocketchat_1          | (Mail not sent; to enable sending, set the MAIL_URL environment variable.)
rocketchat_1          | Content-Type: text/html; charset=utf-8
rocketchat_1          | To: [redacted for issue]
rocketchat_1          | Subject: [chat.myserver.com] You have been direct messaged by [redacted for issue]
...
[some HTML body with the text of the message in it]
...
rocketchat_1          | ====== END MAIL #251 ======

Is there any way to stop this from happening?

@AlvaroBrey
Copy link
Author

As a workaround for now, we've configured SMTP and asked users to disable email notifications. This is not an ideal solution however.

@dg-otrs
Copy link

dg-otrs commented Apr 15, 2020

Check your log level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants