in reply to Re^3: Net::SMTP - Connection to local MTA refused
in thread Net::SMTP - Connection to local MTA refused

My MTA is Postfix, and AppArmor is disabled (I'm currently running SELinux in Permissive mode so that doesn't interfere at the moment).

Unfortunately the logs haven't turned up anything that could be of help so I'm at a loss here.

  • Comment on Re^4: Net::SMTP - Connection to local MTA refused

Replies are listed 'Best First'.
Re^5: Net::SMTP - Connection to local MTA refused
by kschwab (Vicar) on Mar 16, 2017 at 16:42 UTC

    Turn on verbose logging in Postfix, or try some of the other things on this page.

    Your logs show pretty clearly that it's postfix closing the connection (assuming apparmor and similar aren't doing it), so this should unearth something

      The issue had arisen, because I'm using a self-signed cert for Postfix, but that had been rejected. Making the fingerprint of said cert known to IO::Socket::SSL (and subsequently Net::SSLeay) made it accept the cert without complaint, and now the TLS runs smoothly. Thanks for your effort.