|
|
@@ -15,14 +15,11 @@ if [ -e "/etc/nginx/nginx.conf" ]; then
|
|
|
fi
|
|
|
fi
|
|
|
|
|
|
-echo '[ * ] Updating System Administrator account permissions...'
|
|
|
-$HESTIA/bin/v-change-user-role admin admin
|
|
|
-
|
|
|
# Populating HELO/SMTP Banner for existing ip's
|
|
|
if [ "$MAIL_SYSTEM" == "exim4" ]; then
|
|
|
source $HESTIA/func/ip.sh
|
|
|
|
|
|
- echo "[ * ] Populating HELO/SMTP Banner param for existing IP's..."
|
|
|
+ echo "[ * ] Populating HELO/SMTP Banner value for existing IP addresses..."
|
|
|
> /etc/exim4/mailhelo.conf
|
|
|
|
|
|
for ip in $($BIN/v-list-sys-ips plain | cut -f1); do
|
|
|
@@ -101,8 +98,6 @@ if [ "$MAIL_SYSTEM" == "exim4" ]; then
|
|
|
line=$(expr $(sed -n '/begin transports/=' /etc/exim4/exim4.conf.template) + 2)
|
|
|
sed -i "${line}i $insert" /etc/exim4/exim4.conf.template
|
|
|
fi
|
|
|
-
|
|
|
- $HESTIA/bin/v-restart-mail
|
|
|
fi
|
|
|
|
|
|
# Fix PostgreSQL repo
|