in reply to
Examining SSL Certificates of SMTP hosts using Perl
Expanding
mr_mischief
's answer, I'd also suggest to take a look to the certificate verification facilities that
Net::SSLeay
gives you.
Comment on
Re: Examining SSL Certificates of SMTP hosts using Perl
In Section
Seekers of Perl Wisdom