mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
Error 400 when setting up SMTP #426
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 @Javihache on GitHub.
Hi,
I am using docker compose to start vaultwarden on Ubuntu 24.04 with the following config.
When I try to send a test e-mail I get:
[2024-07-28 22:02:53.489][vaultwarden::mail][ERROR] SMTP error: Connection error: failed to lookup address information: Name or service not knownI am running a Pi Hole using a macvlan network in order to work as DHCP server too.
I can resolve URLs from within the container without an issue and I have network connectivity. However I was still getting that error.
However, in a last effort I tried to type in the IP address resolved for
smtp.mail.me.com... I got an SSL error due to the certificates. But once I reverted tosmtp.mail.me.comof iCloud's SMTP server, then the test e-mail was sent correctly.I am not sure if someone else could be able to reproduce this issue, but I'll leave it here in case that it helps someone else.