From aa8fd0732538bc80675d06fd242cedba4b5027e9 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 19 Dec 2023 10:49:04 +0100 Subject: [PATCH] set smtp_host to the domain value, enable starttls --- conf/vaultwarden.env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/vaultwarden.env b/conf/vaultwarden.env index 637c134..474fd3b 100644 --- a/conf/vaultwarden.env +++ b/conf/vaultwarden.env @@ -344,10 +344,10 @@ ROCKET_WORKERS=1 ## Mail specific settings, set SMTP_HOST and SMTP_FROM to enable the mail service. ## To make sure the email links are pointing to the correct host, set the DOMAIN variable. ## Note: if SMTP_USERNAME is specified, SMTP_PASSWORD is mandatory -SMTP_HOST=127.0.0.1 +SMTP_HOST=__DOMAIN__ SMTP_FROM=__APP__@__DOMAIN__ SMTP_FROM_NAME=Vaultwarden -SMTP_SECURITY=off +SMTP_SECURITY=starttls SMTP_PORT=25 SMTP_USERNAME=__APP__ SMTP_PASSWORD=__MAIL_PWD__