Für smtp:
openssl s_client -starttls smtp -connect mail.domain.de:25

Für imap:
openssl s_client -starttls imap -connect imap.domain.de:143


...
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : AES256-GCM-SHA384
...

Sollte z.B. dieser Eintrag auftauchen!