Phil Dibowitz wrote:
> 
> Hey all,
> 
> I just installed Cyrus, and I can get imap to work, but I can't get secure
> imap to work.
> 
> I have both lines uncommented in cyrus.conf:
> imap          cmd="/usr/cyrus/bin/imapd" listen="imap" prefork=1
> imaps         cmd="/usr/cyrus/bin/imapd -s" listen="imaps" prefork=1
> 
> And my imapd.conf is standard, I haven't changed it. I managed to use cyradm

You need to tell Cyrus where your cert, key, and CA file are located. 
See the tls_* options in imapd.conf(5).


> to add a user and saslpasswd to give that user a password. I was then able to
> use imtest to connect as that user.
> 
> So, this works fine for example:
> imtest -a test -m login -p imap localhost
> 
> But this just hangs:
> imtest -a test -m login -p imaps localhost


You can't use imtest to test imaps (SSL-wrapped imap).  The only way to
do this is to use something like:

openssl s_client -connect localhost:imaps

an then login manually with:

. login test <password>


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Reply via email to