mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 16:14:20 -05:00
Not able to run container with SMTP support #431
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jhornet on GitHub (Sep 28, 2019).
Hi there, first of all many thanks to the work you have put in here!
I am using the docker container to host bitwarden_rs on my own premise.
When I run the docker container by using the command (as described here: https://github.com/dani-garcia/bitwarden_rs/wiki/SMTP-configuration):
sudo docker run -d --name bitwarden
-e SMTP_HOST=<smtp.gmail.com>
-e SMTP_FROM=info@gmail.com
-e SMTP_PORT=587
-e SMTP_SSL=true
-e SMTP_PASSWORD=
-e DOMAIN=https://mydomain:8443
-p 8443:80
bitwardenrs/server:latest
I am getting the error: -bash: smtp.gmail.com: No such file or directory
Wondering what I am doing wrong... Any ideas how to solve the issue?
Thank you in advance
@McKael commented on GitHub (Sep 28, 2019):
@jhornet Remove the characters
<and>from the command.(Also, I doubt such a From email address would be allowed...)
@jhornet commented on GitHub (Sep 28, 2019):
Thank you very much that solve the issue :-)