-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 23 Nov 2002 08:14:15 -0800, Steve Garcia wrote:
> While researching this forum for several solutions, I've seen several > suggestions to test whether imap/ipop are running by telnetting to the > imap/pop port. Now I thought telnet was considered insecure (clear > text passwords?) and so I expect a lot of you have disabled telnet > connections into your RH server. > > Assuming that is the case, why would > telnet servername 110 > be expected to work even if the pop3 daemon is running. Because "telnet" is just a client (!) program that opens a TCP connection to a service port which understands an ASCII-based protocol on top of TCP. For instance, using "telnet" as a web client: $ telnet www.google.com http Trying 216.239.51.101... Connected to www.google.com. Escape character is '^]'. GET / <HTML><HEAD><TITLE>302 Moved</TITLE></HEAD><BODY> <H1>302 Moved</H1> The document has moved <A HREF="http://www.google.de/">here</A>. </BODY></HTML> Connection closed by foreign host. Simulating a POP3 client with telnet: $ telnet pop.gmx.net pop3 Trying 213.165.64.20... Connected to pop.gmx.net. Escape character is '^]'. +OK GMX POP3 StreamProxy ready <25201.1038069456@mp015-rz3> USER 123456789 +OK May I have your password, please? PASS foo <-- plain-text password!!! RETR 1 <get message 1 here> QUIT Connection closed by foreign host. Using the telnet client to access a mail server: $ telnet mx1.redhat.com smtp Trying 66.187.233.31... Connected to mx1.redhat.com. Escape character is '^]'. 220 **************************************************2******2002*******0***0*00 HELO test 250 mx1.redhat.com Hello [---snip---] quit 221 2.0.0 mx1.redhat.com closing connection Connection closed by foreign host. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE937B70iMVcrivHFQRAub+AJ0cy7XwFlSzIiI2ioPmxgn3SOcLHACfV759 qop0unFzNFtB5FQgJ3NFTzw= =zgUt -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list