mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix email configuration
This commit is contained in:
parent
43f16d8898
commit
2c0266f6bf
6 changed files with 6 additions and 1 deletions
|
@ -2260,7 +2260,7 @@ password_providers:
|
|||
email:
|
||||
# The hostname of the outgoing SMTP server to use. Defaults to 'localhost'.
|
||||
#
|
||||
smtp_host: "localhost"
|
||||
smtp_host: "__MAIN_DOMAIN__"
|
||||
|
||||
# The port on the mail server for outgoing SMTP. Defaults to 25.
|
||||
#
|
||||
|
|
|
@ -41,6 +41,7 @@ registration_shared_secret=$(ynh_app_setting_get --app=$app --key=registration_s
|
|||
form_secret=$(ynh_app_setting_get --app=$app --key=form_secret)
|
||||
macaroon_secret_key=$(ynh_app_setting_get --app=$app --key=macaroon_secret_key)
|
||||
synapse_user_app_pwd=$(ynh_app_setting_get --app=$app --key=synapse_user_app_pwd)
|
||||
main_domain=$(yunohost domain list --output-as json | jq -r .main)
|
||||
|
||||
synapse_user="matrix-$app"
|
||||
synapse_user_app="$app"
|
||||
|
|
|
@ -28,6 +28,7 @@ jitsi_server=$(ynh_app_setting_get --app=$app --key=jitsi_server)
|
|||
e2e_enabled_by_default=$(ynh_app_setting_get --app=$app --key=e2e_enabled_by_default)
|
||||
synapse_user_app_pwd=$(ynh_app_setting_get --app=$app --key=synapse_user_app_pwd)
|
||||
domain_whitelist_client=$(get_domain_list)
|
||||
main_domain=$(yunohost domain list --output-as json | jq -r .main)
|
||||
|
||||
#=================================================
|
||||
# SHOW_CONFIG FUNCTION FOR 'SHOW' COMMAND
|
||||
|
|
|
@ -50,6 +50,7 @@ path_url="/_matrix"
|
|||
final_path="/opt/yunohost/matrix-$app"
|
||||
final_www_path="/var/www/$app"
|
||||
data_path="/home/yunohost.app/matrix-$app"
|
||||
main_domain=$(yunohost domain list --output-as json | jq -r .main)
|
||||
|
||||
if [[ "$server_name" == "$default_domain_value" ]]; then
|
||||
server_name=$domain
|
||||
|
|
|
@ -39,6 +39,7 @@ turnserver_alt_tls_port=$(ynh_app_setting_get --app=$app --key=turnserver_alt_tl
|
|||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
synapse_db_pwd=$(ynh_app_setting_get --app=$app --key=synapse_db_pwd)
|
||||
synapse_user_app_pwd=$(ynh_app_setting_get --app=$app --key=synapse_user_app_pwd)
|
||||
main_domain=$(yunohost domain list --output-as json | jq -r .main)
|
||||
|
||||
#=================================================
|
||||
# SET ALL CONSTANT
|
||||
|
|
|
@ -42,6 +42,7 @@ form_secret=$(ynh_app_setting_get --app=$app --key=form_secret)
|
|||
macaroon_secret_key=$(ynh_app_setting_get --app=$app --key=macaroon_secret_key)
|
||||
synapse_user_app_pwd=$(ynh_app_setting_get --app=$app --key=synapse_user_app_pwd)
|
||||
domain_whitelist_client=$(get_domain_list)
|
||||
main_domain=$(yunohost domain list --output-as json | jq -r .main)
|
||||
|
||||
#=================================================
|
||||
# SET ALL CONSTANT
|
||||
|
|
Loading…
Reference in a new issue