Updated Postfix mail form

This commit is contained in:
bprieshof
2019-10-17 13:57:41 +02:00
parent 5b539a545f
commit 1808a6e7ed

View File

@@ -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