<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.3">
</HEAD>
<BODY>
On Thu, 2007-08-30 at 18:28 +0200, Timothy Murphy wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Mark C. Allman wrote:</FONT>

<FONT COLOR="#000000">>> I'm trying to access my IMAPS (dovecot) server on my laptop</FONT>
<FONT COLOR="#000000">>> while on holiday.</FONT>
<FONT COLOR="#000000">>> But when I run kmail I get the message</FONT>
<FONT COLOR="#000000">>> "Could not connect to host <myserver>".</FONT>
<FONT COLOR="#000000">>> Both server and laptop are running Fedora 7 + KDE.</FONT>
<FONT COLOR="#000000">>> </FONT>
<FONT COLOR="#000000">>> I suspect the problem lies in my openssl setup,</FONT>
<FONT COLOR="#000000">>> as when I run</FONT>
<FONT COLOR="#000000">>> openssl s_client -ssl2 -crlf -host <myserver> -port 993</FONT>
<FONT COLOR="#000000">>> I get no response - the program just waits until I press ctrl-C.</FONT>
<FONT COLOR="#000000">...</FONT>
<FONT COLOR="#000000">>> Any advice or suggestions gratefully received.</FONT>

<FONT COLOR="#000000">> May be a dumb questions, but ... port 993 is open on the server (it's in</FONT>
<FONT COLOR="#000000">> iptables, for example)?  Can you telnet to port 993 on the server and</FONT>
<FONT COLOR="#000000">> get some kind of response?</FONT>

<FONT COLOR="#000000">Thanks for your response.</FONT>

<FONT COLOR="#000000">Yes, I am running shorewall, and have</FONT>
<FONT COLOR="#000000">        IMAPS/ACCEPT    net             $FW</FONT>
<FONT COLOR="#000000">in /etc/shorewall/rules .</FONT>

<FONT COLOR="#000000">When I run</FONT>
<FONT COLOR="#000000">        telnet <myserver> 993</FONT>
<FONT COLOR="#000000">I just get</FONT>
<FONT COLOR="#000000">        Trying <server IP address></FONT>
<FONT COLOR="#000000">and nothing further, until I type ctrl-C.</FONT>
<FONT COLOR="#000000">Maybe it would time out if I left it long enough.</FONT>

<FONT COLOR="#000000">(With almost any other port, I get an immediate "Connection refused".)</FONT>


<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">Timothy Murphy  </FONT>
<FONT COLOR="#000000">e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie</FONT>
<FONT COLOR="#000000">tel: +353-86-2336090, +353-1-2842366</FONT>
<FONT COLOR="#000000">s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland</FONT>

</PRE>
</BLOCKQUOTE>
Check /var/log/messages to see if anything is logged.  The behavior of telnet sounds like the behavior of openssl.  It's probably not the firewall, but you could just about rule it out by shutting down the firewall for a minute, test (e.g., telnet), and then starting it again.<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<TABLE CELLSPACING="0" WIDTH="450">
<TR>
<TD>
<TABLE WIDTH="250">
<TR>
<TD>
<FONT SIZE="2">-- </FONT><B><FONT SIZE="2">Mark C. Allman, PMP</FONT></B>
</TD>
</TR>
<TR>
<TD>
<FONT SIZE="2">-- Allman Professional Consulting, Inc.</FONT>
</TD>
</TR>
<TR>
<TD>
<FONT SIZE="2">-- <A HREF="http://www.allmanpc.com">www.allmanpc.com</A>, 617-947-4263</FONT>
</TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE WIDTH="200">
<TR>
<TD ALIGN="left" VALIGN="top">
<IMG SRC="cid:1188492754.30747.32.camel@prez" ALIGN="bottom" BORDER="0">
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<B><FONT SIZE="2"><FONT COLOR="#800000">BusinessMsg</FONT></FONT></B><FONT SIZE="2"><FONT COLOR="#000000"> -- the secure, managed, J2EE</FONT></FONT><FONT SIZE="2">/</FONT><FONT SIZE="2"><FONT COLOR="#800000">AJAX</FONT></FONT><FONT SIZE="2"><FONT COLOR="#000000"> Enterprise IM</FONT></FONT><FONT SIZE="2">/IC</FONT><FONT SIZE="2"><FONT COLOR="#000000"> solution.</FONT></FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>