Update v-make-separate-ip-for-email

This commit is contained in:
myvesta 2020-07-12 04:46:40 +02:00 committed by GitHub
commit 7d2dda10bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,7 @@ fi
echo "=== Done!"
ptr=$(dig +short -x $MAIL_IP)
if [ "$PTR" != "$MAIL_HOSTNAME" ]; then
if [ "$PTR" != "$MAIL_HOSTNAME." ]; then
echo ""
echo "WARNING: PTR for $MAIL_IP is $ptr"
echo "WARNING: PTR for $MAIL_IP should be $MAIL_HOSTNAME"