From adfb5b249b0d76a237644e5b8691789a5ba9e4e8 Mon Sep 17 00:00:00 2001 From: Karchnu Date: Mon, 26 Jun 2023 12:56:42 +0200 Subject: [PATCH] Verify email IMAP certificates. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 5435769..75253b0 100644 --- a/Makefile +++ b/Makefile @@ -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