cyradm lm wildcard and the @ sign

Andrew Morgan morgan at orst.edu
Wed May 12 15:51:16 EDT 2010


On Thu, 13 May 2010, Berend de Boer wrote:

>>>>>> "Reinaldo" == Reinaldo de Carvalho <reinaldoc at gmail.com> writes:
>
>    Reinaldo> On Wed, May 12, 2010 at 4:04 PM, Berend de Boer
>    Reinaldo> <berend at pobox.com> wrote:
>    >>
>    >> Clearly I can get the mailboxes to list if I don't use the @
>    >> sign so doesn't that indicate I am indeed the global admin?
>    >>
>    >> The user I'm logged in at can change the acl on all mailboxes
>    >> for example, so that indicates to me it is a global admin as
>    >> wel.
>    >>
>
> I agree. Try:
>
>    Reinaldo> # all mailboxes
>    Reinaldo> $ nc server 143
>    Reinaldo> * OK maindeua Cyrus IMAP4 [...] server ready
>    Reinaldo> . LOGIN admin password . OK
>    Reinaldo> User logged in
>    Reinaldo> . LIST * *@example.com
>
> This doesn't work. I get:
>
>  # nc localhost 143
>  * OK server2.xplainhosting.com Cyrus IMAP4 v2.2.13-Debian-2.2.13-16ubuntu1 server ready
>  . LOGIN admin password
>  . NO Login only available under a layer
>  . LOGIN admin at server2.example.com password
>  . NO Login only available under a layer

Use "imtest" instead of "nc".  imtest can do all the SASL login magic and 
still gives you raw access to the connection for sending commands.

 	Andy


More information about the Info-cyrus mailing list