1 |
Hi, |
2 |
|
3 |
On Sun, 18 Jun 2006 09:20:53 +0000 Mick <michaelkintzios@×××××.com> wrote: |
4 |
|
5 |
> On 17/06/06, Hans-Werner Hilse <hilse@×××.de> wrote: |
6 |
> > On Sat, 17 Jun 2006 23:09:57 +0200 Jarry <jarry@×××.net> wrote: |
7 |
> > > But what if mail-server uses secure connection (SSL) and secure |
8 |
> > > authentication? Could I use ssh-client in such a case? Telnet |
9 |
> > > would not help... |
10 |
> > |
11 |
> > The OpenSSL executable has this facility built-in. See "man |
12 |
> > openssl-s_client" (it has a basic server, too). |
13 |
> |
14 |
> Hmm . . . |
15 |
> ===================================== |
16 |
> $ openssl s_client -host pop.gmai.com -port 110 CONNECTED(00000003) |
17 |
> 16228:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown |
18 |
> protocol:s23_clnt.c:601: |
19 |
> ===================================== |
20 |
> |
21 |
> I guess it may only be good for checking the verification/exchange of SSL certs? |
22 |
|
23 |
Nope. It acts like a telnet client after establishing an SSL connection: |
24 |
---snip |
25 |
hw@sub00421 ~ $ openssl s_client -connect pop.gmail.com:pop3s |
26 |
CONNECTED(00000003) |
27 |
[lots of info snipped] |
28 |
+OK Gpop ready for requests from 123.45.67.89 n23pf2387435nfc |
29 |
---snip |
30 |
|
31 |
For your test case: POP3 is usually on port 110, POP3S is usually on |
32 |
port 995. If the SSL connection isn't set up on connection level at |
33 |
start, but on an application configured stage afterwards, however, |
34 |
s_client wouldn't work. An example would be STARTTLS on IMAP (not |
35 |
IMAPS) and SMTP. |
36 |
|
37 |
-hwh |
38 |
-- |
39 |
gentoo-user@g.o mailing list |