#608714 nagios-plugins: smtp plugin gives incomplete debugging output

#608714#5
Date:
2011-01-02 22:39:00 UTC
From:
To:
$ /usr/lib/nagios/plugins/check_smtp --verbose -H ivanova.notwork.de
HELOCMD: HELO scyh00167
220 ivanova.notwork.de ESMTP Exim 4.72 Sun, 02 Jan 2011 23:37:22 +0100
sent QUIT
received 221 ivanova.notwork.de closing connection

SMTP OK - 0.074 sec. response time, 221 ivanova.notwork.de closing
connection
|time=0.074478s;;;0.000000


This debugging output either suggests that no HELO is sent at all, or
HELO is sent without waiting for the initial 220 prompt.

Using strace or wireshark reveals that the plugin is actually talking
proper SMTP on the wire while giving incomplete debug output while
printing extra information that is not part of the actual SMTP dialog.

Greetings
Marc

#608714#12
Date:
2011-05-14 13:56:29 UTC
From:
To:
forwarded 608714 https://sourceforge.net/tracker/?func=detail&aid=3302033&group_id=29880&atid=397597
Thanks

Hi Marc,

thanks for taking care and reporting this problem.

I talked with upstream and indeed this should be fixed. Anyways ... seems they
are really busy at the moment, but they are open to accept patches solving the
problem. :)

With kind regards, Jan.