Hi
I am using monit to monitor sendmail This is via the following
config:
check process sendmail with pidfile /var/run/sendmail/mta/
sendmail.pid
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
[127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to
MTA-v4
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?
Kevin