Results 1 to 4 of 4

Thread: Dump Aliases and Lists?

  1. #1
    Join Date
    Jan 2006
    Posts
    25
    Rep Power
    9

    Default Dump Aliases and Lists?

    How would I go about dumping all my aliases and lists to a text file?

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    I'm pretty sure you can do this with zmprov. Did you look at the zmprov options ?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Jan 2006
    Posts
    25
    Rep Power
    9

    Default

    Something like:

    Code:
    for i in `zmprov gadl`; do
      echo $i
      zmprov gdl $i | grep Forwarding | awk '{ print $2 }'
      echo ""
    done
    will get me a list of all my lists and their members.

    I see where zmprov aaa and raa will set and remove aliases on an account, but I don't see an argument that will pull all the aliases associated with a single account.

    Am I missing something?

  4. #4
    Join Date
    Jan 2006
    Posts
    25
    Rep Power
    9

    Default

    Got it:

    Code:
    zmprov ga address@domain | grep Alias
    will get all the aliases on an account.

    Thanks for the nudge in the right direction!

    -j

Similar Threads

  1. aliases and procmail
    By bibo in forum Administrators
    Replies: 5
    Last Post: 07-24-2007, 06:08 AM
  2. Replies: 5
    Last Post: 05-31-2006, 02:19 PM
  3. Likes and wants :)
    By billm in forum Users
    Replies: 31
    Last Post: 05-24-2006, 06:37 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
  •