From 98ef636c903a360048f4a2e8d69c774a10f951d2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 29 Oct 2023 09:58:45 +0100 Subject: [PATCH] fix --- conf/config.json | 2 +- scripts/_common.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/config.json b/conf/config.json index ddf9fea..4c80dd2 100644 --- a/conf/config.json +++ b/conf/config.json @@ -21,7 +21,7 @@ "panel": { "email": { "provider": "smtp", - "from": "pufferpanel@__DOMAIN__", + "from": "pufferpanel@__MAIN_DOMAIN__", "host": "localhost", "username": "__APP__", "password": "__MAIL_PWD__", diff --git a/scripts/_common.sh b/scripts/_common.sh index 944a65e..0f1a117 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,8 @@ # COMMON VARIABLES #================================================= +main_domain=$(cat /etc/yunohost/current_host) + #================================================= # PERSONAL HELPERS #=================================================