The point is that the connection attempt does show up in the logs, but beyond the connection being initiated, nothing more happens. I'm experiencing the same issues when I set SSL => 0 (this is still possible, because my MTA is configured so that TLS doesn't have to be used for incoming mails) so it's not a problem with SSL/TLS, though. As far as the form mailer is concerned, it is supposed to transmit its data on port 25. No idea why it stopped working after upgrading the distro...

However, I'm going to give the Debug approach a shot.

EDIT: It appears that STARTTLS is required, but the method starttls() seems to be missing in my Net::SMTP...

Anyway, here's what the script dumped with Debug enabled:

Sanity check of recipient address... <recipient address displayed here> Net::SMTP>>> Net::SMTP(2.31) Net::SMTP>>> Net::Cmd(2.29) Net::SMTP>>> Exporter(5.68) Net::SMTP>>> IO::Socket::INET(1.33) Net::SMTP>>> IO::Socket(1.36) Net::SMTP>>> IO::Handle(1.34) Net::SMTP=GLOB(0x1c9d748)<<< 220 <domain name displayed here> mail. Al +l spam is reported. ESMTP Net::SMTP=GLOB(0x1c9d748)>>> EHLO <domain displayed here> Net::SMTP=GLOB(0x1c9d748)<<< 250-<server name displayed here> Net::SMTP=GLOB(0x1c9d748)<<< 250-PIPELINING Net::SMTP=GLOB(0x1c9d748)<<< 250-SIZE 26214400 Net::SMTP=GLOB(0x1c9d748)<<< 250-ETRN Net::SMTP=GLOB(0x1c9d748)<<< 250-STARTTLS Net::SMTP=GLOB(0x1c9d748)<<< 250-ENHANCEDSTATUSCODES Net::SMTP=GLOB(0x1c9d748)<<< 250-8BITMIME Net::SMTP=GLOB(0x1c9d748)<<< 250 DSN Issuing STARTTLS... Net::SMTP=GLOB(0x1c9d748)>>> QUIT Net::SMTP=GLOB(0x1c9d748)<<< 221 2.0.0 Bye The transaction failed: Can't locate object method "starttls" via pack +age "Net::SMTP" at /srv/www1-ssl/cgi-lib/sendmail.pm line 74. Transmission failure

UPDATE: I had to update both Net::SMTP and IO::Socket::SSL from CPAN. After the update STARTTLS could be issued, but that caused another bunch of problems to appear:

Sanity check of recipient address... <recipient address shown here> Net::SMTP>>> Net::SMTP(3.10) Net::SMTP>>> Net::Cmd(3.10) Net::SMTP>>> Exporter(5.68) Net::SMTP>>> IO::Socket::IP(0.37) Net::SMTP>>> IO::Socket(1.36) Net::SMTP>>> IO::Handle(1.34) Net::SMTP=GLOB(0x20461c8)<<< 220 <domain shown here> mail. All spam is + reported. ESMTP Net::SMTP=GLOB(0x20461c8)>>> EHLO <domain shown here> Net::SMTP=GLOB(0x20461c8)<<< 250-<server address shown here> Net::SMTP=GLOB(0x20461c8)<<< 250-PIPELINING Net::SMTP=GLOB(0x20461c8)<<< 250-SIZE 26214400 Net::SMTP=GLOB(0x20461c8)<<< 250-ETRN Net::SMTP=GLOB(0x20461c8)<<< 250-STARTTLS Net::SMTP=GLOB(0x20461c8)<<< 250-ENHANCEDSTATUSCODES Net::SMTP=GLOB(0x20461c8)<<< 250-8BITMIME Net::SMTP=GLOB(0x20461c8)<<< 250 DSN Issuing STARTTLS... Net::SMTP=GLOB(0x20461c8)>>> STARTTLS Net::SMTP=GLOB(0x20461c8)<<< 220 2.0.0 Ready to start TLS Sending MAIL FROM... Net::SMTP=GLOB(0x20461c8)>>> MAIL FROM:<sender address shown here> Net::SMTP: Net::Cmd::getline(): unexpected EOF on command channel: at + /srv/www1-ssl/cgi-lib/sendmail.pm line 76. Attempting RCPT TO... Net::SMTP: Net::Cmd::_is_closed(): unexpected EOF on command channel: + at /srv/www1-ssl/cgi-lib/sendmail.pm line 78. Net::SMTP: Net::Cmd::_is_closed(): unexpected EOF on command channel: + at /srv/www1-ssl/cgi-lib/sendmail.pm line 78. Net::SMTP: Net::Cmd::_is_closed(): unexpected EOF on command channel: + at /srv/www1-ssl/cgi-lib/sendmail.pm line 102. Net::SMTP: Net::Cmd::_is_closed(): unexpected EOF on command channel: + at /srv/www1-ssl/cgi-lib/sendmail.pm line 102. The transaction failed: Connection refused Transmission failure

In reply to Re^2: Net::SMTP - Connection to local MTA refused by Robidu
in thread Net::SMTP - Connection to local MTA refused by Robidu

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.