Results 1 to 3 of 3

Thread: [SOLVED] getting list of all domains

  1. #1
    Join Date
    Sep 2008
    Location
    Stockholm, Sweden
    Posts
    55
    Rep Power
    7

    Default [SOLVED] getting list of all domains

    Hi
    A great way of getting all email addresses is to run
    Code:
     /opt/zimbra/openldap/bin/ldapsearch -LLL -x -D"`/opt/zimbra/bin/zmlocalconfig -s zimbra_ldap_userdn | \
           awk '{print $3}'`" -w"`/opt/zimbra/bin/zmlocalconfig -s zimbra_ldap_password | \
           awk '{print $3}'`" -H `/opt/zimbra/bin/zmlocalconfig ldap_url | \
           awk '{print $3}'` $* | \
           grep ^mail | \
           awk '{print $2}' | \
           sort > zimbra_recipients.list
    I would like to find a great way to get all domains (inclusive alias domains) in a list. Anyone know how to get this?

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    su - zimbra
    zmprov gad

  3. #3
    Join Date
    Sep 2008
    Location
    Stockholm, Sweden
    Posts
    55
    Rep Power
    7

    Default

    Thank you.

Similar Threads

  1. [SOLVED] Sudden problem synching with gmail
    By bouchardpie in forum Error Reports
    Replies: 8
    Last Post: 09-09-2010, 09:50 AM
  2. Exchange/Imap errors
    By pmibal in forum General Questions
    Replies: 4
    Last Post: 09-23-2009, 11:46 AM
  3. Replies: 1
    Last Post: 03-12-2009, 12:34 AM
  4. Error using Zimbra Desktop with all folders
    By randhirv in forum Error Reports
    Replies: 3
    Last Post: 01-24-2009, 12:01 AM
  5. Problem syncing all folders
    By mark_the_chain in forum Error Reports
    Replies: 0
    Last Post: 11-23-2008, 03:59 PM

Posting Permissions

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