Update v-make-separated-ip-for-email

This commit is contained in:
myvesta 2020-07-13 16:08:46 +02:00 committed by GitHub
commit 47f5f8a1d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,12 @@
# Variable&Function #
#----------------------------------------------------------#
# Importing system environment
source /etc/profile
# Includes
source /usr/local/vesta/func/main.sh
MAIL_HOSTNAME=$1
MAIL_IP=$2
@ -158,3 +164,12 @@ if [ "$PTR" != "$MAIL_HOSTNAME" ]; then
echo "WARNING: PTR for $MAIL_IP is $ptr"
echo "WARNING: PTR for $MAIL_IP should be $MAIL_HOSTNAME"
fi
#----------------------------------------------------------#
# Vesta #
#----------------------------------------------------------#
# Logging
log_event "$OK" "$ARGUMENTS"
exit