Verify email IMAP certificates.

master
Karchnu 2023-06-26 12:56:42 +02:00
parent 0b5db1314f
commit adfb5b249b
1 changed files with 3 additions and 0 deletions

View File

@ -18,3 +18,6 @@ which-bin-uses-this-port:
MAIL_DOMAIN ?= mail.karchnu.fr
verify-mail-certificate:
echo | openssl s_client -starttls smtp -showcerts -connect $(MAIL_DOMAIN):587 -servername $(MAIL_DOMAIN) | openssl x509 -noout -dates
verify-mail-imap-certificate:
echo | openssl s_client -showcerts -connect $(MAIL_DOMAIN):993 -servername $(MAIL_DOMAIN) | openssl x509 -noout -dates