From 361d0bb6520c4c6d6e7c45a6012b024d499b1323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 29 Nov 2023 14:52:09 +0100 Subject: [PATCH] Fix email stack config --- conf/app.ini | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/conf/app.ini b/conf/app.ini index a3bdadd..1bb15a2 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -37,13 +37,22 @@ LFS_JWT_SECRET = __LFS_JWT_SECRET__ ENABLED = true SMTP_ADDR = __DOMAIN__ SMTP_PORT = 587 -PROTOCOL = smtps +PROTOCOL = smtps+starttls FROM = "Gitea" <__APP__-noreply@__DOMAIN__> USER = __APP__ PASSWD = __MAIL_PWD__ SKIP_VERIFY = true FORCE_TRUST_SERVER_CERT = true +[email.incoming] +ENABLED = true +REPLY_TO_ADDRESS = __APP__+%{token}@__DOMAIN__ +HOST = __DOMAIN__ +PORT = 993 +USE_TLS = true +USERNAME = __APP__ +PASSWORD = __MAIL_PWD__ + [service] REGISTER_EMAIL_CONFIRM = false ENABLE_NOTIFY_MAIL = true