$ /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