浏览代码

Delete expiry file

andryyy 5 年之前
父节点
当前提交
680da56567
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      expiry-dates.sh

+ 0 - 9
expiry-dates.sh

@@ -1,9 +0,0 @@
-#!/usr/bin/env bash
-
-POSTFIX=$(echo | openssl s_client -connect mail.79v.de:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -enddate | cut -d "=" -f 2)
-DOVECOT=$(echo | openssl s_client -connect mail.79v.de:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -enddate | cut -d "=" -f 2)
-NGINX=$(echo | openssl s_client -connect mail.79v.de:443 2>/dev/null | openssl x509 -inform pem -noout -enddate | cut -d "=" -f 2)
-echo TLS expiry dates:
-echo Postfix: ${POSTFIX}
-echo Dovecot: ${DOVECOT}
-echo Nginx: ${NGINX}