[Pkg-nagios-devel] Bug#861814: nagios-plugins-contrib: check_email_delivery fails using SMTP TLS

Gabriele Vivinetto gabriele.mailing at rvmgroup.it
Thu May 4 09:50:37 UTC 2017

Package: nagios-plugins-contrib
Version: 4.20120702
Severity: important

Using check_email_delivery with  SMTP TLS fails with error

EMAIL DELIVERY CRITICAL - smtp failed: SMTP SEND CRITICAL - invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 332 

Command used:

/usr/lib/nagios/plugins/check_email_delivery \
	--smtp-server smtp.gmail.com \
	--smtp-username nagios at gmail.com \
	--smtp-password 12345678 \
	--smtptls \
	--imap-server imap.example.com \
	--username nagios at example.com \
	--password 12345678 \
	--imapssl \
	--imap-port 993 \
	--mailto nagios at example.com \
	--mailfrom nagios at gmail.com

-- System Information:
Debian Release: 7.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

nagios-plugins-contrib depends on no packages.

Versions of packages nagios-plugins-contrib recommends:
ii  freeipmi-tools                    1.1.5-3
ii  libc6                             2.13-38+deb7u11
ii  libdate-manip-perl                6.32-1
ii  libio-socket-ssl-perl             1.76-2
ii  libipc-run-perl                   0.92-1
ii  liblocale-gettext-perl            1.05-7+b1
ii  liblwp-useragent-determined-perl  1.06-1
ii  libmail-imapclient-perl           3.31-2
ii  libmemcached10                    1.0.8-1
ii  libnagios-plugin-perl             0.36-1
ii  libnet-dns-perl                   0.66-2+b2
ii  libnet-smtp-tls-perl              0.12-1
ii  libnet-snmp-perl                  6.0.1-2
ii  libnet-ssleay-perl                1.48-1+b1
ii  libreadonly-perl                  1.03-4
ii  libyaml-syck-perl                 1.20-1
ii  lsof                              4.86+dfsg-1
ii  openssl                           1.0.1t-1+deb7u2
ii  python                            2.7.3-4+deb7u1
ii  ruby                              1:1.9.3
ii  ruby1.9.1 [ruby-interpreter]
ii  snmp                              5.4.3~dfsg-2.8+deb7u1

Versions of packages nagios-plugins-contrib suggests:
pn  backuppc          <none>
pn  cciss-vol-status  <none>
pn  expect            <none>
pn  mpt-status        <none>
ii  perl-doc          5.14.2-21+deb7u4

-- Configuration Files:
/etc/nagios-plugins/check_rbl.ini changed [not included]

-- no debconf information

More information about the Pkg-nagios-devel mailing list