[Nagiosplug-devel] bugfix: check_smtp on MS exchange 2K servers

Subhendu Ghosh sghosh at sghosh.org
Sun Sep 1 06:44:44 CEST 2002


On Sun, 1 Sep 2002, Reinier F. Kleipool wrote:

> Hello developers,
> 
>   I had some trouble with check_smtp against a Microsoft Exchnage 2000
> server. The plugin checked ALL my mailservers, except MS ex2K. I solved this
> by changing the SMTP_DUMMYCMD to the following definition:
> #define SMTP_DUMMYCMD  "HELO nagios\r\nMAIL from:nagios at localhost\r\n"
> It turn out that *^%^# exchange 2K needs a valid HELO and MAIL command AND
> the \r 's to reply. If you don't, the read from the socket waits for ever,
> and times out. this returns a critical to nagios. This change does not break
> the checks with my other mailservers: sendmail and MS exchange 5.5..
> 
> Hope this helps....
> 
> Kind regards,
> Reinier Kleipool
> 

Thanks - 

-- 
-sg





More information about the Devel mailing list