How would I go about dumping all my aliases and lists to a text file?
How would I go about dumping all my aliases and lists to a text file?
I'm pretty sure you can do this with zmprov. Did you look at the zmprov options ?
Something like:
will get me a list of all my lists and their members.Code:for i in `zmprov gadl`; do echo $i zmprov gdl $i | grep Forwarding | awk '{ print $2 }' echo "" done
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?
Got it:
will get all the aliases on an account.Code:zmprov ga address@domain | grep Alias
Thanks for the nudge in the right direction!
-j
There are currently 1 users browsing this thread. (0 members and 1 guests)