[Nagiosplug-devel] [ nagiosplug-Bugs-1174070 ] check_smtp TLS mistake with echange 2003

SourceForge.net noreply at sourceforge.net
Wed Apr 6 21:36:10 CEST 2005


Bugs item #1174070, was opened at 2005-03-31 05:06
Message generated for change (Comment added) made by seanius
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1174070&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: jeff_fr (jeff_fr)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_smtp TLS mistake with echange 2003

Initial Comment:
Exchange 2003 is waitng EHLO or HELO before the
STARTTLS instruction, this make the plugin unable to
get the OK state from echange 2003 when using TLS .

the solution is to add :

send(sd, helocmd, strlen(helocmd), 0);
recv(sd,buffer, MAX_INPUT_BUFFER-1, 0);

between the line (approx 181) :

 if(use_ssl){

and line:

send(sd, SMTP_STARTTLS, strelen(SMTP_STARTTLS), 0);

It's not very clean but it's a fast modification to get
the real result, in fact i checked that postfix was
able to get the HELO before or after STARTTLS




----------------------------------------------------------------------

Comment By: M. Sean Finney (seanius)
Date: 2005-04-06 21:35

Message:
Logged In: YES 
user_id=226838

i've committed a slightly cleaner version of your patch to
cvs.  try it out and let me know how it goes.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1174070&group_id=29880




More information about the Devel mailing list