[Nagiosplug-devel] [ nagiosplug-Bugs-1174070 ] check_smtp TLS mistake with echange 2003
SourceForge.net
noreply at sourceforge.net
Thu Mar 31 05:08:45 CEST 2005
Bugs item #1174070, was opened at 2005-03-31 13:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
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
----------------------------------------------------------------------
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