RocketChat / RocketChat/Docker.Official.Image
Direct messages are visible in docker logs
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 337
- Forks
- 228
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 5
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue through Docker logs and inspect how the MAIL_URL setting affects mail output. Determine why direct-message content reaches stdout and verify that the messages are no longer exposed in container logs while mail behavior remains understood.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100