Results 1 to 5 of 5

Thread: Other way to get mailboxId

  1. #1
    loocek is offline Senior Member
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default Other way to get mailboxId

    Hi,

    I know, I can get this by:
    # zmprov getMailboxInfo <foo@bar.com>

    ok.. but I want faster command, so do You know any other way ?

  2. #2
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    461
    Rep Power
    4

    Default

    Yes, you can.

    Try Zimbra mysql query

    Regards.

  3. #3
    loocek is offline Senior Member
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default

    Sorry, but under Your link there isn't any mysql request to obtain mailbox_id. They also get this by command zmprov .

    Maybe someone of us know any SOAP, REST, LDAP way ? I don't know...

  4. #4
    chauvetp is offline Elite Member
    Join Date
    Apr 2008
    Location
    New Paltz, NY
    Posts
    288
    Rep Power
    7

    Default

    Hi loocek,

    In the zimbra database in mysql:
    "select id from mailbox where comment = 'username@your-zimbra-domain"

    Only other way I know beyond the zmprov command, but I am not experienced with SOAP/REST. Its FAR quicker than the zmprov command though.
    ---
    Paul Chauvet
    State University of New York at New Paltz

  5. #5
    loocek is offline Senior Member
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default

    And that's it . You are great! Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •