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.
2 parents 3c0e021 + c63d79b commit 64cdb86Copy full SHA for 64cdb86
bin/v-add-mail-domain-smtp-relay
@@ -54,6 +54,7 @@ port:$port
54
user:$username
55
pass:$password
56
EOL
57
+rm $HOMEDIR/$user/conf/mail/$domain/ip
58
59
#----------------------------------------------------------#
60
# Hestia #
func/rebuild.sh
@@ -635,7 +635,7 @@ rebuild_mail_domain_conf() {
635
touch $HOMEDIR/$user/conf/mail/$domain/limits
636
637
# Setting outgoing ip address
638
- if [ -n "$local_ip" ]; then
+ if [ -n "$local_ip" ] && [ "$U_SMTP_RELAY" != 'true' ]; then
639
echo "$local_ip" > $HOMEDIR/$user/conf/mail/$domain/ip
640
fi
641
0 commit comments