[Pkg-nagios-devel] Bug#578333: check_smtp HELO bad default and -F missing from --help

Josip Rodin joy at debbugs.entuzijast.net
Sun Apr 18 23:06:40 UTC 2010

Package: nagios-plugins-basic
Version: 1.4.12-5


I noticed our check_smtp was sending garbage in HELO,

% /usr/lib/nagios/plugins/check_smtp -v | head -1
HELOCMD: HELO shortmachinename

When is it ever a good idea to send the unqualified hostname as HELO?
Doing that to an actual real-world SMTP server just makes Nagios look like
a spammer :)

But regardless of the crap default, I went to fix that in the local config,
but didn't find any way. By reading the source I discovered that it was
actually possible by using -F, but:

% /usr/lib/nagios/plugins/check_smtp --help | grep -- -F

Please fix that. TIA.

     2. That which causes joy or happiness.

More information about the Pkg-nagios-devel mailing list