From 1808a6e7ed5872fd1986f8c22dc625340a227faa Mon Sep 17 00:00:00 2001 From: bprieshof Date: Thu, 17 Oct 2019 13:57:41 +0200 Subject: [PATCH] Updated Postfix mail form --- NGINX-Installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index 9839466..76f8ef2 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -88,7 +88,7 @@ sed -i 's/'rtag'/'"${phpver}"'/g' /etc/php/"$phpver"/fpm/pool.d/www.conf # Postfix # ##-------------## -debconf-set-selections <<< "postfix postfix/mailname string $hostname" +debconf-set-selections <<< "postfix postfix/mailname string $domain" debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" apt install -y mailutils sed -i 's/#inet_interfaces = all/inet_interfaces = loopback-only/g' /etc/postfix/main.cf