Re: Possible virtual domain problem showing up in cyradm -- corrected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/01/2010 09:25, Nybbles2Byte wrote:
> Hello,
>
> /root is a global admin. I thought logging on as a global user meant you
> did not specify a domain but when you don't you get this error. Next
> logon as global admin but use default domain.
>
> /*cyradm> exit
>
> a>cyradm -u root@localhost localhost
> *Password:
>
> /Hopefully this is now the global admin login and I can work on all
> domain accounts.
>



Looking at your configuration you may have a simple authentication 
problem when no realm is specify (your SQL request may fail). I use 
sasldb for my global admin user.

> /*localhost> lm
> localhost> lm user/*
>
> */I thought this was supposed to list all accounts but it looks like it
> wants to ignore them all when you don't specify a domain.

That's normal. It only list users without a domain (that is, using the 
default domain).

>
> /*localhost> lm user/*@seowebsales.com
> *user/Reg/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg@xxxxxxxxxxxxxxx (\HasChildren)
> user/Sales/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales@xxxxxxxxxxxxxxx (\HasChildren)
>
> /Fair enough, this works.
>
> /*localhost> lm user/*@localhost
> localhost> lm user/*@neutrino
> localhost> cm user/root@localhost
> localhost> cm user/cyrus@localhost
>
> *I've just created two users in the default domain, is that going cause
> problems because you are also supposed be able to use these without a
> domain?

> Could I have done "cm user/root" and "cm user/cyrus" and would this be
> the more correct way to do this?
>

I think so (you should never specify the default domain when creating 
mailbox, IIRC). But you should test.

> *localhost> lm user/*@localhost
> *user/cyrus (\HasNoChildren)
>

> /Why is "root@localhost" that I just created not listed?

Not sure, but you shouldn't create maiboxes for admin users anyway.

> /*localhost> lm *@localhost
> *user/Reg/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg@xxxxxxxxxxxxxxx (\HasChildren)
> user/Sales/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales@xxxxxxxxxxxxxxx (\HasChildren)
> user/cyrus (\HasNoChildren)
>
> /Is this right? To show all mailboxes in all domains you do "lm
> *@localhost" or is there something wrong with my setup?
>

It does not work here, but we use an old (2.2.x) cyrus version.

> /*localhost> lm *@localhost
> *user/Reg/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg@xxxxxxxxxxxxxxx (\HasChildren)
> user/Sales/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales@xxxxxxxxxxxxxxx (\HasChildren)
> user/cyrus (\HasNoChildren)
>
> *localhost> lm *
> *INBOX (\HasNoChildren)
>
> *localhost> lm
> *INBOX (\HasNoChildren)
>
> /Why is there the special INBOX here but not for each of my created
> mailboxes in the various domains?
> Is this how it is supposed to be?
>
> /*localhost> cm user/support@xxxxxxxxx
>
> */Let's create a non-default domain mailbox through cyradm and see if we
> get the all important INBOX.
>
> /*localhost> lm *@seows.com
> *user/Reg/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Reg@xxxxxxxxxxxxxxx (\HasChildren)
> user/Sales/Drafts@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Sent@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales/Trash@xxxxxxxxxxxxxxx (\HasNoChildren)
> user/Sales@xxxxxxxxxxxxxxx (\HasChildren)
> user/support@xxxxxxxxxxxxxxx (\HasNoChildren)
>
> /Nope, no other INBOXes. Perhaps I misread how INBOXes are meant to
> work, is there only meant to one for the whole installation?
>


According to your configuration, you don't use alternate namespace, so 
you shouldn't have any INBOX folder.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux