mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Update v-make-separated-ip-for-email
This commit is contained in:
parent
99f2e5b165
commit
47f5f8a1d1
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue