If you need to check the SMTP certificate from commandline:
openssl s_client -connect mail.example.com:25 -starttls smtp
Just random Linux dumps I don't want to remember ;-)
If you need to check the SMTP certificate from commandline:
openssl s_client -connect mail.example.com:25 -starttls smtp