<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>[Nagios-users] check_smtp says OK and timeout - but telnet to port 25 works ?</TITLE>
</HEAD>
<BODY dir=ltr>
<DIV>Covered extensively before. please RTFM at <A
href="http://sourceforge.net/search/?type=mlists&exact=&q=check_smtp&offset=25&group_id=26589&forum_id=1873">http://sourceforge.net/search/?type=mlists&exact=&q=check_smtp&offset=25&group_id=26589&forum_id=1873</A></DIV>
<DIV> </DIV>
<DIV>--</DIV>
<DIV>Marc</DIV>
<DIV> </DIV>
<DIV>p.s. Sorry for the html mail. Stupid OWA doesn't let me switch to
plain-text.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> Brian Ipsen
[mailto:Brian.Ipsen@andebakken.dk] <BR><B>Sent:</B> Sun 11/24/2002 3:00 PM
<BR><B>To:</B> nagios-users@lists.sourceforge.net <BR><B>Cc:</B>
<BR><B>Subject:</B> [Nagios-users] check_smtp says OK and timeout - but telnet
to port 25 works ?<BR><BR></FONT></DIV>
<P><FONT size=2>Hi!</FONT> </P>
<P><FONT size=2> When checking against a Microsoft Exchange server, that
is located bwhind a</FONT> <BR><FONT size=2>firewall, I get timeout..</FONT>
<BR><FONT size=2> Trying from the shell-prompt I do:</FONT> </P>
<P><FONT size=2># ./check_smtp -H 80.199.yyy.xxx -w 20 -c 30 -t 20 -v</FONT>
<BR><FONT size=2>SMTP OK - 0 sec. response time, 220 domain-sbs.domain
Microsoft ESMTP MAIL</FONT> <BR><FONT size=2>Service, Version: 5.0.2195.5329
ready at Sun, 24 Nov 2002 21:57:21 +0100</FONT> <BR><FONT size=2>Socket
timeout after 20 seconds</FONT> </P>
<P><FONT size=2>It says OK - and then timeout ??</FONT> </P>
<P><FONT size=2>With telnet I get:</FONT> </P>
<P><FONT size=2># telnet 80.199.yyy.xxx 25</FONT> <BR><FONT size=2>Trying
80.199.yyy.xxx...</FONT> <BR><FONT size=2>Connected to 80.199.yyy.xxx.</FONT>
<BR><FONT size=2>Escape character is '^]'.</FONT> <BR><FONT size=2>220
domain-sbs.domain Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329</FONT>
<BR><FONT size=2>ready at Sun, 24 Nov 2002 22:00:02 +0100</FONT>
<BR><FONT size=2>helo ff</FONT> <BR><FONT size=2>250 domain-sbs.domain Hello
[195.184.zzz.qqq]</FONT> <BR><FONT size=2>quit</FONT> <BR><FONT size=2>221
2.0.0 domain-sbs.domain Service closing transmission channel</FONT> <BR><FONT
size=2>Connection closed by foreign host.</FONT> </P><BR>
<P><FONT size=2>Any ideas ??</FONT> </P>
<P><FONT size=2>/Brian</FONT> </P><BR><BR>
<P><FONT size=2>-------------------------------------------------------</FONT>
<BR><FONT size=2>This sf.net email is sponsored by:ThinkGeek</FONT> <BR><FONT
size=2>Welcome to geek heaven.</FONT> <BR><FONT size=2><A
href="http://thinkgeek.com/sf">http://thinkgeek.com/sf</A></FONT> <BR><FONT
size=2>_______________________________________________</FONT> <BR><FONT
size=2>Nagios-users mailing list</FONT> <BR><FONT
size=2>Nagios-users@lists.sourceforge.net</FONT> <BR><FONT size=2><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
</P></BLOCKQUOTE>
</BODY>
</HTML>