The smtp protocol test tries to send EHLO (and if failed HELO as well) before sending quit.

There was bug which is fixed in svn ... EHLO may send multiline greeting (which could be your case) which incorrectly failed the test.

You can get the source code here:
http://code.google.com/p/monit/source/checkout


Martin



On Sep 15, 2009, at 10:30 PM, Len Conrad wrote:


trying to check clamsmtpd as postfix content-filter with:

if failed host 127.0.0.1 port 10025 protocol smtp with timeout 5 seconds 3 times within 3 cycles then alert

It always fails, but:

telnet 127.0.0.1 10025

Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

220 smtp.passthru
quit

221 2.0.0 Bye
Connection closed by foreign host.

suggestions?

Len



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to