Update 'CoreModules/generic/conf.sh'

This commit is contained in:
Bram Prieshof
2020-05-01 11:05:33 +02:00
parent a73d12c9ca
commit 59444e1029

View File

@@ -5,6 +5,7 @@
sed -i 's/#inet_interfaces = all/inet_interfaces = loopback-only/g' /etc/postfix/main.cf
sed -i 's/mydestination/#mydestination/g' /etc/postfix/main.cf
sed -i 's/relayhost =/mydestination = '$hostname', localhost.'$hostname', '$hostname'/g' /etc/postfix/main.cf
echo "bounce_notice_recipient = info@$domain" >/etc/postfix/main.cf
cat <<EOF > /etc/aliases
# See man 5 aliases for format
postmaster: root