Thanks, that worked for me. I guess it's not possible to list all users in all domains, but I can work around that. Patrick On 5/16/06, Tuan Van <tvan@xxxxxxxxxxxxxxxxxxx> wrote:
patrick wrote: > I have a Cyrus 2.2.12 server, and I'm having trouble getting the > listmailbox command to return me what I want. > > The notable parts of my configuration are: > > unixhierarchysep: yes > virtdomains: yes > > In the examples from the O'Reilly book on Cyrus > (http://www.oreilly.com/catalog/mimap/chapter/ch09.html), they have: > >> You can list all the users on the system by listing their top-level >> mailboxes (remember, a > top-level mailbox is essentially the same as >> a username in the Cyrus namespace): >> >> localhost> listmailbox user.% > > But when I run "listmailbox user/%" (because I have the > unixhierarchysep set to yes), I don't get any mailboxes listed. > > If I do just a plain "listmailbox", I'll get entries like: > > user/mike/Sent@xxxxxxxxxxx (\HasNoChildren) > user/mike/Trash@xxxxxxxxxxx (\HasNoChildren) > user/mike/Trash@xxxxxxxxxxx (\HasNoChildren) > user/mike@xxxxxxxxxxx (\HasChildren) > user/mike@xxxxxxxxxxx (\HasChildren) > user/patrick/Cron@xxxxxxxxxxx (\HasNoChildren) > user/patrick/Deleted Items@xxxxxxxxxxx (\HasNoChildren) > user/patrick/Deleted Messages@xxxxxxxxxxx (\HasNoChildren) > user/patrick/Drafts@xxxxxxxxxxx (\HasNoChildren) > user/patrick/Saved Messages@xxxxxxxxxxx (\HasNoChildren) > user/patrick/Sent Messages@xxxxxxxxxxx (\HasNoChildren) > user/patrick@xxxxxxxxxxx (\HasNoChildren) > > What I want to be able to get is: > > user/mike@xxxxxxxxxxx (\HasChildren) > user/mike@xxxxxxxxxxx (\HasChildren) > user/patrick@xxxxxxxxxxx (\HasNoChildren) > > Is there something special I need to do because of my configuration? > http://asg.web.cmu.edu/cyrus/download/imapd/install-virtdomains.html doesn't document the usage but localhost> lm user.%@xxxxxxxxxxx work for me. HTH
---- 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