From bdae914303c651ba8fd7ee031eb733cc4359dfc0 Mon Sep 17 00:00:00 2001 From: Gildas <25692645+Gildas-GH@users.noreply.github.com> Date: Sat, 23 Dec 2023 23:26:35 +0100 Subject: [PATCH] Use main domain to fix security error --- conf/lemmy.hjson | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/lemmy.hjson b/conf/lemmy.hjson index 43cf4cf..f19f389 100644 --- a/conf/lemmy.hjson +++ b/conf/lemmy.hjson @@ -77,7 +77,7 @@ # Email sending configuration. All options except login/password are mandatory email: { # Hostname and port of the smtp server - smtp_server: "127.0.0.1:25" + smtp_server: "__MAIN_DOMAIN__:587" # Login name for smtp server smtp_login: "__APP__" # Password to login to the smtp server @@ -85,7 +85,7 @@ # Address to send emails from, eg noreply@your-instance.com smtp_from_address: "__APP__@__DOMAIN__" # Whether or not smtp connections should use tls. Can be none, tls, or starttls - tls_type: "none" + tls_type: "starttls" } # the domain name of your instance (mandatory) hostname: "__DOMAIN__"