[Pkg-nagios-devel] Bug#467493: check_smtp only says "Invalid SMTP response received from host"
Josip Rodin
joy at debbugs.entuzijast.net
Mon Feb 25 21:30:41 UTC 2008
Package: nagios-plugins-basic
Version: 1.4.5-1etch1
Hi,
check_smtp.c around line 239 says:
if (!strstr (buffer, server_expect)) {
if (server_port == SMTP_PORT)
printf (_("Invalid SMTP response received from host\n"));
In such a case, it makes sense to actually *print* what the server said
(different from SMTP_EXPECT, "220"), because this error message is pretty
much useless for later debugging. Including the 'buffer' variable in
that output seems like a no-brainer.
Please fix this. TIA.
--
2. That which causes joy or happiness.
More information about the Pkg-nagios-devel
mailing list