Gmane
Favicon
From: Sven Mueller <cyrus <at> incase.de>
Subject: Re: How to use cyradm when I only have ssl imap port available
Newsgroups: gmane.mail.imap.cyrus
Date: 2006-02-07 18:32:39 GMT (3 years, 21 weeks, 1 day, 7 hours and 6 minutes ago)
Ralph Blach wrote on 07/02/2006 19:24:
> I wish to use cyrus Imad and cyradm to adminster
> 
> in my /etc/cyrus.conf file
> the only service available
> 
>    imaps         cmd="imapd -s" listen="imaps" prefork=1
> 
> Which means I am using ssl.
> 
> when I try to use cyradm, and specify port 993, I can seem to log
> on.
> 
> What are the magic commands when I use ssl only?

stunnel.conf:
---- cut here ----
foreground = yes
client = yes
[imaps]
accept = localhost:143
connect = <servername>:993
---- cut here ----

stunnel stunnel.conf &
cyradm -h localhost [.....]
fg
CTRL-C

(fg to bring stunnel back to foreground, CTRL-C to stop it.)
Alternatively, you could set "foreground = no" and leave stunnel running
to re-use it later.

cu,
sven
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html