Browse Source

Use local ip instead of public / natted ip

v-update-sys-ip-helo contains correct system to use nat instead
Jaap Marcus 4 years ago
parent
commit
248e529aaf
2 changed files with 2 additions and 2 deletions
  1. 1 1
      install/hst-install-debian.sh
  2. 1 1
      install/hst-install-ubuntu.sh

+ 1 - 1
install/hst-install-debian.sh

@@ -1757,7 +1757,7 @@ fi
 
 if [ "$exim" = 'yes' ]; then
 # Set HELO for IP as it didn't set during v-change-sys-hostname
-$HESTIA/bin/v-change-sys-ip-helo $pub_ip $servername
+$HESTIA/bin/v-change-sys-ip-helo $ip $servername
 fi
 
 # Configuring libapache2-mod-remoteip

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -1789,7 +1789,7 @@ fi
 
 if [ "$exim" = 'yes' ]; then
 # Set HELO for IP as it didn't set during v-change-sys-hostname
-$HESTIA/bin/v-change-sys-ip-helo $pub_ip $servername
+$HESTIA/bin/v-change-sys-ip-helo $ip $servername
 fi
 
 # Configuring libapache2-mod-remoteip