[GH-ISSUE #637] Not able to run container with SMTP support #431

Closed
opened 2026-03-03 01:29:04 +03:00 by kerem · 2 comments
Owner

Originally created by @jhornet on GitHub (Sep 28, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/637

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). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/637 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
kerem closed this issue 2026-03-03 01:29:05 +03:00
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...)

<!-- gh-comment-id:536173417 --> @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 :-)

<!-- gh-comment-id:536187655 --> @jhornet commented on GitHub (Sep 28, 2019): Thank you very much that solve the issue :-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#431
No description provided.