Subject: Problem installing UW Imap on Solaris 8 for Sparc

From: Irwan Hadi <[email-masked]>
Date: Mon, 21 Jan 2002 05:00:50 -0700

Dear All,

I got a problem in installing UW Imap on Solaris 8 for Sparc. The
problem is although I can installed it successfully, but when a client
wants to connect, it gives error like below :
Jan 21 04:48:58 sol imapd[7092]: [ID 927837 daemon.info] connect from
irwanhadi.dorms.usu.edu
Jan 21 04:49:01 sol imapd[7092]: [ID 210418 auth.notice] Login disabled
user=irwanhadi auth=irwanhadi host=irwanhadi.dorms.usu.edu
[129.123.230.12]

for the imaps, I also got problem like this
[sol]/> telnet localhost 993
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[sol]/> Jan 21 04:52:02 sol imapd[7152]: [ID 781495 mail.alert] Unable
to load private key from /opt/ssl/certs/imapd.pem, host=localhost
[127.0.0.1]

[sol]/>
(seems it can't read the private key, but in the imapd.pem I put exactly
as on the example at
http://www.washington.edu/imap/documentation/SSLBUILD.html)

(the certificate below is just a test certificate and not a real one)

[sol]/opt/ssl/certs> cat imapd.pem
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,49B69C8BF2371538

9a06Q9nrSzGmzIJIOjdl3aAsgbj1Tezu6f8t2KoEcXiHyp62hnJsReumUf/fIku+
zUqFE0J2eipxxhNwMPA84TaMWsMpo6v/cN4J1PHjaN8MRhprn3xFbi6zPnrg9Pih
NUYlMH5rMZwvwpmfjx7UpF8gAcg3xI93VPBXC3bCVYgyT4ViTPhbNoa+y2L/eGOY
iO8HHP4eb5gKZE2vdEV2KJ2uRIBpzn2+LfYY+L/9AC3LbcDLNRrgdkffU6mMNof2
1WIkbRObX9k9xPyiK1adm2IFoeN7P9s/qYZfJBRRL5Ec+BSYEBfBvU9JmdxhB4Ud
9En5+PcpnPCjvI9G8NjkvMt16tIrQSHjr3x0fy0gq0C+BABlMWA4kYoKaPHE3Bng
WaFeJuLmLLwYBhKYgPjv9C5uiUSC1Ay2XFaqhp0s8Krosgd64tgBwg==
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
[sol]/opt/ssl/certs>

So, what did I do wrong in this case and how to fix it ?

Thanks

-- 
------------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/c-client-list.html
------------------------------------------------------------------

---

From: Mark Crispin <[email-masked]>
Date: Mon, 21 Jan 2002 20:07:17 -0800 (PST)

> user=irwanhadi auth=irwanhadi host=irwanhadi.dorms.usu.edu

The client tried to do a LOGIN command.  Either:

1) You built imapd with PASSWDTYPE=nul, meaning that the LOGIN command is
   never permitted.

2) You built imapd with SSLTYPE=nopwd, meaning that the LOGIN command is only
   permitted in SSL sessions, and the client connected in a non-SSL session.

> [sol]/> telnet localhost 993

This won't work.  You can not telnet to an SSL port.  Try using OpenSSL's
s_client program instead.