From 7e6be6bf72ccde3c2af1fb777d47630b1e6483d7 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 5 Feb 2021 16:54:06 +0100 Subject: [PATCH] Updated Inst:AppendCMS Mod:Postfix Inst:AppendCMS added var store when adding CMS Mod:Postfix Added fix to conf.sh --- AppendCMS.sh | 6 ++++++ SubModules/postfix/conf.sh | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/AppendCMS.sh b/AppendCMS.sh index 0966189..979e4c8 100644 --- a/AppendCMS.sh +++ b/AppendCMS.sh @@ -156,6 +156,12 @@ fi #Cleaning options from menu CMS="${CMS//:}" && CMS="${CMS,,}" +##-----------------## +# Storeing vars # +##-----------------## + +touch /etc/ICTM/sites/"$sitename" + ##-----------## # AptList # diff --git a/SubModules/postfix/conf.sh b/SubModules/postfix/conf.sh index e6cabcc..685d080 100644 --- a/SubModules/postfix/conf.sh +++ b/SubModules/postfix/conf.sh @@ -22,7 +22,9 @@ root: $email EOF newaliases -cat <> +cat <> /etc/postfix/main.cf + +#openDKIM milter_default_action = accept milter_protocol = 2 smtpd_milters = unix:/var/run/opendkim/opendkim.sock