1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lemmy_ynh.git synced 2024-09-03 19:36:09 +02:00

Use main domain to fix security error

This commit is contained in:
Gildas 2023-12-23 23:26:35 +01:00
parent 6660de4536
commit bdae914303

View file

@ -77,7 +77,7 @@
# Email sending configuration. All options except login/password are mandatory # Email sending configuration. All options except login/password are mandatory
email: { email: {
# Hostname and port of the smtp server # Hostname and port of the smtp server
smtp_server: "127.0.0.1:25" smtp_server: "__MAIN_DOMAIN__:587"
# Login name for smtp server # Login name for smtp server
smtp_login: "__APP__" smtp_login: "__APP__"
# Password to login to the smtp server # Password to login to the smtp server
@ -85,7 +85,7 @@
# Address to send emails from, eg noreply@your-instance.com # Address to send emails from, eg noreply@your-instance.com
smtp_from_address: "__APP__@__DOMAIN__" smtp_from_address: "__APP__@__DOMAIN__"
# Whether or not smtp connections should use tls. Can be none, tls, or starttls # Whether or not smtp connections should use tls. Can be none, tls, or starttls
tls_type: "none" tls_type: "starttls"
} }
# the domain name of your instance (mandatory) # the domain name of your instance (mandatory)
hostname: "__DOMAIN__" hostname: "__DOMAIN__"