Use localhost instead of domain for mail server address

This commit is contained in:
Josué Tille 2023-12-13 10:10:44 +01:00
parent 1a620afa86
commit 676d283d14
No known key found for this signature in database
GPG Key ID: 716A6C99B04194EF

View File

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