Results 1 to 2 of 2

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

  1. #1
    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    6

    Smile How to get the aliases of a specific account holder

    Hi,

    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="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header>
    <context xmlns="urn:zimbra">
    <authToken>' . $authToken . '</authToken>
    <sessionId id="' . $sessionId . '">' . $sessionId . '</sessionId>
    </context>
    </soap:Header>
    <soap:Body>


    <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>
    </SearchDirectoryRequest>



    </soap:Body>
    </soap:Envelope>';

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

  2. #2
    Join Date
    Jan 2010
    Posts
    43
    Rep Power
    5

    Default

    This helped for me:

    Code:
    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
  •