[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit and sendmail

From: Jan-Henrik Haukeland
Subject: Re: monit and sendmail
Date: Wed, 23 Aug 2006 19:31:45 +0200

I have checked in a patch into the monit CVS repository which add support for EHLO and HELO as required by RFC 2821. Please check out from CVS and test and let us know if that fixes the problem. The bugfix will be part of the next release of monit. Thanks for the report.


On 23. aug. 2006, at 16.50, Kevin Maguire wrote:


I am using monit to monitor sendmail This is via the following config:

check process sendmail with pidfile /var/run/sendmail/mta/
group smmsp
start program = "/etc/init.d/sendmail start"
stop  program = "/etc/init.d/sendmail stop"
if failed port 25 protocol smtp then restart
if 5 restarts within 5 cycles then timeout
depends on sendmail_bin
depends on sendmail_rc

These are the setting needed for the sendmail setup with Ubuntu 6.06 LTS.

Anyway this causes a problem which is my logs fill with these messages

Aug 23 15:47:11 IOtest sm-mta[20581]: k7NDlBQ6020581: localhost
[] did not issue MAIL/EXPN/VRFY/ETRN during connection to

One message every 30 secs.  I am presuming this is because of the lack
of a HELO or EHLO in the smtp connection monit makes to check sendmail
is up, as this changelog entry suggests

*  Wait for complete SMTP server greeting in SMTP protocol test before
  sending QUIT to the server. Exim4 is sensible on the client-server
synchronization and the protocol test failed because monit was faster
  then expected. Thanks to Tadas Zelionis < tm at equs ! home ! lt >
  for reporting the bug.

I am not minded to change my sendmail config to NOT log those errors,
so is there a way to force monit to say "HELO localhost" before
sending a QUIT command  when checking there is something listenin g on
port 25?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]