[Nagiosplug-devel] Recent patch to check_smtp.c
Benjamin Madsen
ben.madsen at attbi.com
Thu Jun 13 12:04:07 CEST 2002
Running the recent patch against a Microsoft 2000 Server w/ Exchange SMTP
agent caused problems with the SMTP_DUMMYCMD check. Apparently, Exchange's
SMTP agent looks for a '\r\n' as opposed to just a '\n'. Since I am
unfamiliar with how to patch things, could somebody do that?
Also, I'm wondering what implications changing the SMTP_DUMMCMD to
"MAIL\r\n" would be... Any ideas?
Thanks,
Ben Madsen
IT Manager
Wisp Communications
http://www.wispcommunications.com
--- Original Message ---
FROM: Karl Ewald
DATE: 06/09/2002 12:12:36
SUBJECT: [Nagiosplug-devel] patch for check_smtp.c
Hi plugin developers,
sendmail will create a syslog entry when a session only issues a quit
command, looking roughly like this:
Jun 9 19:50:44 beaulieu.ixos.de sendmail[26790]: NOQUEUE: mucnm01.ixos.de
[149.
235.38.10] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
This clobbers the syslog of every machine where SMTP is checked and can be
prevented by issuing a command. Thze following patch does just that.
It is a diff against the netsaint-plugins-1.2.9-4 plugins/check_smtp.c file
(which I checked in locally as 1.1).
Apologies if this change was already made in the latest release of the
plugins, I haven't checked.
Have fun,
Karl Ewald
Network Administrator, IT Services
IXOS Software AG http://www.ixos.com/
More information about the Devel
mailing list