Not able to run container with SMTP support #431

Closed
opened 2025-11-07 06:36:10 -06:00 by GiteaMirror · 2 comments
Owner

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

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](url)): 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=<xyz> -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
Author
Owner

@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...)

@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...)
Author
Owner

@jhornet commented on GitHub (Sep 28, 2019):

Thank you very much that solve the issue :-)

@jhornet commented on GitHub (Sep 28, 2019): Thank you very much that solve the issue :-)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#431