Subscribe user folder using telnet

Patrick T. Tsang patrick at
Tue Oct 25 11:37:20 EDT 2005

Thanks Ken

This is still a good way.
However, is there any commands which is working for subscribing user IMAP
folder using root admin,cyrus, in telnet mode?
This is important to my company project since we will access the cyrus mail
server using socket connection.

BTW, how to PIPE subscribe command into imtest such that I can do the
subscription by just one single shell command line?


----- Original Message ----- 
From: "Ken Murchison" <murch at>
To: "Patrick T. Tsang" <patrick at>
Cc: <info-cyrus at>
Sent: Tuesday, October 25, 2005 9:49 PM
Subject: Re: Subscribe user folder using telnet

> Patrick T. Tsang wrote:
>> Hello,
>> I would like to use telnet (console) to subscribe user IMAP user folders.
>> How to do it?
>> What is the standard way / command ?
>> Since I login onto the IMAP server using the root user, cyrus,
>> I can do many things but I cannot subscribe user IMAP folders.
> Rather than using telnet, use imtest which can do the proxy
> authentication that you need.  Do something like this:
> imtest -t '' -m plain -a cyrus -u <user> <servername>
> When prompted, enter the password for cyrus (alternatively, use the -w
> option to put the password on the command line).
> This will use the PLAIN mechanism under a TLS layer to authenticate you
> as cyrus, but authorize you as whatever user that you want to have
> subscribe to mailboxes.
> -- 
> Kenneth Murchison
> Systems Programmer
> Carnegie Mellon University

More information about the Info-cyrus mailing list