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

SourceForge.net noreply at sourceforge.net
Mon May 2 18:12:00 CEST 2005


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

Category: Perl plugin
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: noliono (noliono)
>Assigned to: M. Sean Finney (seanius)
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: M. Sean Finney (seanius)
Date: 2005-05-02 21:11

Message:
Logged In: YES 
user_id=226838

hey,

the check_smtp plugin (check_tcp that is) now supports tls,
so this plugin isn't really relevant any more, so i'm going
to close this plugin report.

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

Comment By: Bill Anderson (shadowlore)
Date: 2005-05-02 17: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 04: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 04: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 04: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 08: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 08: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