Skip to content
Permalink
Browse files

Force TLS disabled if set in SST

  • Loading branch information...
NEMS Linux
NEMS Linux committed Apr 12, 2019
1 parent 0924af3 commit 470bd2cc9238c89b701dfe2115afdeb81af71ab2
Showing with 8 additions and 0 deletions.
  1. +8 −0 fixes.sh
@@ -421,6 +421,14 @@ if (( $(awk 'BEGIN {print ("'$ver'" >= "'1.5'")}') )); then
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/nems_sendmail_host /usr/local/nagios/libexec/
fi

# Forcibly disable TLS if disabled in NEMS SST
if ! grep -q "SMTPAutoTLS" /usr/local/nagios/libexec/nems_sendmail_service; then
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/nems_sendmail_service /usr/local/nagios/libexec/
fi
if ! grep -q "SMTPAutoTLS" /usr/local/nagios/libexec/nems_sendmail_host; then
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/nems_sendmail_host /usr/local/nagios/libexec/
fi

fi


0 comments on commit 470bd2c

Please sign in to comment.
You can’t perform that action at this time.