From 676d283d14718d7b49f06e18d38c31a0e7c0d0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 13 Dec 2023 10:10:44 +0100 Subject: [PATCH] Use localhost instead of domain for mail server address --- conf/app.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/app.ini b/conf/app.ini index 71f59de..0cd9439 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -35,7 +35,7 @@ LFS_JWT_SECRET = __LFS_JWT_SECRET__ [mailer] ENABLED = true -SMTP_ADDR = __DOMAIN__ +SMTP_ADDR = localhost SMTP_PORT = 587 PROTOCOL = smtp+starttls FROM = "Gitea" <__APP__@__DOMAIN__> @@ -46,7 +46,7 @@ FORCE_TRUST_SERVER_CERT = true [email.incoming] ENABLED = true REPLY_TO_ADDRESS = __APP__+%{token}@__DOMAIN__ -HOST = __DOMAIN__ +HOST = localhost PORT = 993 USE_TLS = true USERNAME = __APP__