[Nagiosplug-devel] [ nagiosplug-New Plugins-1119927 ] check_smtp_tls

SourceForge.net noreply at sourceforge.net
Mon May 2 14:36:06 CEST 2005


New Plugins item #1119927, was opened at 2005-02-10 03:10
Message generated for change (Comment added) made by shadowlore
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1119927&group_id=29880

Category: Perl plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: noliono (noliono)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_smtp_tls

Initial Comment:
needed : lib net:telnet has to be install.

a telnet command is send on the SMTP server, then a
"STARTTLS" command and if TLS is present they will have
a response code 250 ... 
and so on a nagios state (warning,critical,ok,unknow)

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

Comment By: Bill Anderson (shadowlore)
Date: 2005-05-02 15:35

Message:
Logged In: YES 
user_id=13339

postfix will either handle starttls before or after
ehlo/helo. IN other words, you can do it in either order for
postfix.

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

Comment By: jeff_fr (jeff_fr)
Date: 2005-04-05 02:47

Message:
Logged In: YES 
user_id=1250267

Modification to do

$telnet->print("EHLO $HOSTNAME");

just before

$telnet->print("STARTTLS");


:-)

ps: the hostname should be the name of the computer that
send the helo, but because it is not given in argument, i
use hostname to put something ... else some server reject
the command EHLO without argument... 



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

Comment By: noliono (noliono)
Date: 2005-04-05 02:26

Message:
Logged In: YES 
user_id=1216152

I will do the correction when i will have time to.
But if you do the correction send it to all !
bye

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

Comment By: jeff_fr (jeff_fr)
Date: 2005-04-05 02:16

Message:
Logged In: YES 
user_id=1250267

I checked the RFC and exchange2003 respects the SMTP/TLS
RFC, every SMTP/TLS Server should be waiting for HELO or
EHLO before the STARTTLS command, I don't know why postfix
doesn't...

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

Comment By: jeff_fr (jeff_fr)
Date: 2005-03-31 06:32

Message:
Logged In: YES 
user_id=1250267

Exchange is waiting for HELO or EHLO before the STARTTLS, in
this case the script will return an ALERT instead of OK

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

Comment By: jeff_fr (jeff_fr)
Date: 2005-03-31 06:31

Message:
Logged In: YES 
user_id=1250267

Exchange is waiting for HELO or EHLO before the STARTTLS, in
this case the script will return an ALERT instead of OK

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

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




More information about the Devel mailing list