This looks like one of those problems where it is easy to fall down a rabbit hole.

I don't have experience with this problem, so be careful I don't send you down one of those rabbit holes.

$sender = new Mail::Sender({from => 'janedoe@madeup.org',smtp => '10.11.74.18'})

For exploration purposes, reading IO::Socket::SSL docs it looks like you might be able to disable the client side from verifying the certificate. If that hides the problem then that suggests the problem is in the certificate verification.

SSL_verify_mode => SSL_VERIFY_NONE

From the server log line 22, it looks like the certificate is for "webmail.somedomain.org", while your script is connecting via IP address. Does it make a difference if you specify "webmail.somedomain.org" instead of the IP address?

A quick google for godaddy CA openSSL returns some results that may be apropos, or perhaps just a very deep rabbit whole.


In reply to Re: Mail::Sender script fails upon Linux (and Perl) update by wazat
in thread Mail::Sender script fails upon Linux (and Perl) update by dneill8

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.