Update 'CoreModules/generic/conf.sh'
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
sed -i 's/#inet_interfaces = all/inet_interfaces = loopback-only/g' /etc/postfix/main.cf
|
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/mydestination/#mydestination/g' /etc/postfix/main.cf
|
||||||
sed -i 's/relayhost =/mydestination = '$hostname', localhost.'$hostname', '$hostname'/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
|
cat <<EOF > /etc/aliases
|
||||||
# See man 5 aliases for format
|
# See man 5 aliases for format
|
||||||
postmaster: root
|
postmaster: root
|
||||||
|
|||||||
Reference in New Issue
Block a user