We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276beae commit 7ee9864Copy full SHA for 7ee9864
func/rebuild.sh
@@ -446,9 +446,10 @@ rebuild_mail_domain_conf() {
446
fi
447
448
# Inherit web domain local ip address
449
+ unset -v nat ip local_ip domain_ip
450
local domain_ip=$(get_object_value 'web' 'DOMAIN' "$domain" '$IP')
- local local_ip=$(get_real_ip "$domain_ip")
451
- if [ ! -z "$local_ip" ]; then
+ if [ ! -z "$domain_ip" ]; then
452
+ local local_ip=$(get_real_ip "$domain_ip")
453
is_ip_valid "$local_ip" "$user"
454
else
455
get_user_ip
0 commit comments