소스 검색

[Helper] Fix expiry-dates.sh

andryyy 5 년 전
부모
커밋
a036d5d5f1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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}