[GH-ISSUE #1332] SMTP Test 404 #915

Closed
opened 2026-03-03 02:04:38 +03:00 by kerem · 2 comments
Owner

Originally created by @stripedpurple on GitHub (Jan 25, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1332

I am trying to get smtp working. I have sendmail working on the server where docker is running. But when I got to test the emails I get the following error:

[2021-01-25 21:51:10.881][request][INFO] POST /admin/test/smtp/
[2021-01-25 21:51:10.881][response][INFO] POST /admin/test/smtp (test_smtp) => 404 Not Found
Originally created by @stripedpurple on GitHub (Jan 25, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1332 I am trying to get smtp working. I have sendmail working on the server where docker is running. But when I got to test the emails I get the following error: ``` [2021-01-25 21:51:10.881][request][INFO] POST /admin/test/smtp/ [2021-01-25 21:51:10.881][response][INFO] POST /admin/test/smtp (test_smtp) => 404 Not Found ```
kerem 2026-03-03 02:04:38 +03:00
Author
Owner

@BlackDex commented on GitHub (Jan 25, 2021):

Did you filled in the textbox with a correct email address?
Maybe increase the normal log_level to debug to see a bit more information, and maybe also enable smtp_debug=true.

<!-- gh-comment-id:767142557 --> @BlackDex commented on GitHub (Jan 25, 2021): Did you filled in the textbox with a correct email address? Maybe increase the normal log_level to debug to see a bit more information, and maybe also enable smtp_debug=true.
Author
Owner

@stripedpurple commented on GitHub (Jan 25, 2021):

It looks like it is not able to connect. I am new to docker so I might have missed something.

[2021-01-25 22:56:10.463][request][INFO] POST /admin/test/smtp/
[2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url")))
[2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"])
[2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url")))
[2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"])
[2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url")))
[2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"])
[2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url")))
[2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"])
[2021-01-25 22:56:10.464][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url")))
[2021-01-25 22:56:10.464][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"])
[2021-01-25 22:56:10.465][bitwarden_rs::mail][ERROR] SMTP Client error: Could not connect
[2021-01-25 22:56:10.465][response][INFO] POST /admin/test/smtp (test_smtp) => 400 Bad Request
<!-- gh-comment-id:767168120 --> @stripedpurple commented on GitHub (Jan 25, 2021): It looks like it is not able to connect. I am new to docker so I might have missed something. ~~~ [2021-01-25 22:56:10.463][request][INFO] POST /admin/test/smtp/ [2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url"))) [2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"]) [2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url"))) [2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"]) [2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url"))) [2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"]) [2021-01-25 22:56:10.463][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url"))) [2021-01-25 22:56:10.463][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"]) [2021-01-25 22:56:10.464][handlebars::render][DEBUG] Rendering value: Path(Relative(([Named("url")], "url"))) [2021-01-25 22:56:10.464][handlebars::context][DEBUG] Accessing context value: AbsolutePath(["url"]) [2021-01-25 22:56:10.465][bitwarden_rs::mail][ERROR] SMTP Client error: Could not connect [2021-01-25 22:56:10.465][response][INFO] POST /admin/test/smtp (test_smtp) => 400 Bad Request ~~~
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#915
No description provided.