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] [mailer]
ENABLED = true ENABLED = true
SMTP_ADDR = __DOMAIN__ SMTP_ADDR = localhost
SMTP_PORT = 587 SMTP_PORT = 587
PROTOCOL = smtp+starttls PROTOCOL = smtp+starttls
FROM = "Gitea" <__APP__@__DOMAIN__> FROM = "Gitea" <__APP__@__DOMAIN__>
@ -46,7 +46,7 @@ FORCE_TRUST_SERVER_CERT = true
[email.incoming] [email.incoming]
ENABLED = true ENABLED = true
REPLY_TO_ADDRESS = __APP__+%{token}@__DOMAIN__ REPLY_TO_ADDRESS = __APP__+%{token}@__DOMAIN__
HOST = __DOMAIN__ HOST = localhost
PORT = 993 PORT = 993
USE_TLS = true USE_TLS = true
USERNAME = __APP__ USERNAME = __APP__