server icon indicating copy to clipboard operation
server copied to clipboard

Cannot send emails using docker run

Open GieltjE opened this issue 3 years ago • 0 comments

Steps To Reproduce

1: install using docker compose up, verify that /admin sends the email correctly 2: docker rm bitwarden-bitwarden-1 (gets a funny name using docker compose up, this is the only discernable difference) 3: start it using the alternative method (e.g. docker run -d --name bitwarden -v C:\Users\MichielHazelhof\Desktop\bitwarden\bwdata:/etc/bitwarden -p 80:8080 --env-file settings.env bitwarden/self-host:beta) 4: attempt to get the email from /admin

Expected Result

Emails should always arive and if they don't a log should be generated

Actual Result

No email is sent (no logs on the mailserver) and no local failure log is generated

Screenshots or Videos

No response

Additional Context

No response

Githash Version

455d62e8-dirty

Environment Details

  • OS: Win 11 insider
  • Env: Docker
  • Hardware: 3700X 64GB ram

Database Image

Mariadb: 10.10.2

Issue-Link

https://github.com/bitwarden/server/issues/2480

Issue Tracking Info

  • [X] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

GieltjE avatar Jan 02 '23 01:01 GieltjE