<div class="gmail_quote"><div>Hi Chris,<br><br>Some tinkering led me to the same thing - and it got resolved after I <br>1. Installed the openssl-devel package, and<br>2. Ran ./configure with the --with-openssl=<open ssl lib dir> option and built it again.<br>
<br>Thanks!<br><br>Regards<br>Hrish<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Date: Mon, 27 Dec 2010 09:55:13 -0500<br>
From: Chris Beattie <<a href="mailto:cbeattie@geninfo.com">cbeattie@geninfo.com</a>><br>
Subject: Re: [Nagios-users] check_smtp doesn't support TLS?<br>
To: Nagios Users List <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>
Message-ID: <<a href="mailto:4D18A8D1.9090808@geninfo.com">4D18A8D1.9090808@geninfo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; format="flowed"<br>
<br>
<a href="mailto:talonx@gmail.com">talonx@gmail.com</a> wrote:<br>
> I'm trying to setup the check_smtp plugin for a remote mail server. I<br>
> downloaded the latest version of nagios-plugins, built and installed<br>
> it. This is what I get when I invoke check_smtp from the command line<br>
> (actual data removed) -<br>
><br>
> received 530 5.7.0 Must issue a STARTTLS command first<br>
><br>
> I'm including the -S flag for it to use TLS. I couldn't see any other<br>
> options that might be relevant. Any pointers?<br>
I had something similar happen to me with SSL once. I compiled and<br>
installed the plugins, but I could not get SSL to work for the<br>
check_http command. I had installed the openssl package, but I had<br>
forgotten to install the openssl-devel package before I compiled the<br>
plugins.<br>
<br>
When you ./configure the plugins, does it say "--with-gnutls: no" at the<br>
end? You may have to install the gnutls-devel package first.<br>
<br></blockquote></div>