Browse Source

[Helper] Fix expiry-dates.sh

andryyy 5 years ago
parent
commit
a036d5d5f1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      helper-scripts/expiry-dates.sh

+ 2 - 2
helper-scripts/expiry-dates.sh

@@ -8,5 +8,5 @@ DOVECOT=$(echo | openssl s_client -connect ${MAILCOW_HOSTNAME}:143 -starttls ima
 NGINX=$(echo | openssl s_client -connect ${MAILCOW_HOSTNAME}:443 2>/dev/null | openssl x509 -inform pem -noout -enddate | cut -d "=" -f 2)
 echo TLS expiry dates:
 echo Postfix: ${POSTFIX}
-echo Dovecot: ${POSTFIX}
-echo Nginx: ${POSTFIX}
+echo Dovecot: ${DOVECOT}
+echo Nginx: ${NGINX}