Results 1 to 2 of 2

Thread: How to get the aliases of a specific account holder

  1. #1
    Join Date
    Nov 2009
    Rep Power

    Smile How to get the aliases of a specific account holder


    I am able to connect to the soap admin via curl and get authenticated. My concern is I need to get the aliases(alias e-mail address & target e-mail address) of a specific user. I am connected via admin, just don't now what soap request to use.

    I have tried to use this soap request but only accounts work and aliases return non:

    <soap:Envelope xmlns:soap="">
    <context xmlns="urn:zimbra">
    <authToken>' . $authToken . '</authToken>
    <sessionId id="' . $sessionId . '">' . $sessionId . '</sessionId>

    <SearchDirectoryRequest xmlns="urn:zimbraAdmin" offset="0" limit="0" sortBy="name" sortAscending="1"
    attrs="displayName, zimbraId, uid, description, EmailAddress, zimbraAccountStatus" types="accounts">
    <query xmlns="">!(mail=*archive)</query>


    Help is much appreciated. Feedbacks and ideas.. Thanks...

  2. #2
    Join Date
    Jan 2010
    Rep Power


    This helped for me:

    zmprov -l ga username@domain | grep mail:

Similar Threads

  1. Zimbra desktop no sync with an specific zimbra account
    By info2000 in forum Error Reports
    Replies: 6
    Last Post: 06-25-2010, 01:16 AM
  2. [SOLVED] Batch delete of specific emails in account
    By jsabater in forum Administrators
    Replies: 2
    Last Post: 09-20-2008, 04:45 AM
  3. Replies: 0
    Last Post: 08-23-2007, 10:06 AM
  4. Prevent account creation on specific mailstore?
    By bowergo in forum Administrators
    Replies: 6
    Last Post: 06-28-2007, 09:26 AM
  5. Catch All for a specific account
    By LaptopsForLess in forum Administrators
    Replies: 4
    Last Post: 01-26-2007, 12:36 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