Fix email stack config

This commit is contained in:
Josué Tille 2023-11-29 14:52:09 +01:00 committed by Félix Piédallu
parent e73acdd808
commit 361d0bb652

View File

@ -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