The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
How to migrate distribution list between two servers
KB 23131
|
Last updated on 2017-02-10
|
Last updated by Teodor Vizirov
|
|
Verified in: ZCS 8.6
ZCS 8.5
ZCS 8.0
|
|
 - This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.
|
KB 23131
|
Last updated on 2017-02-10
|
|
|
 - This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.
|
This article explains how to export a distribution list from one server, and import it to a different server.
Resolution
1. First we export&save all members from distribution list called "dist_list1" to a text file:
zmprov gdlm dist_list1@domain.com > distlist.txt
2. Then we move the file to the other server (using scp for example) and run:
for i in `cat distlist.txt | egrep -v '#|members'`;do zmprov adlm dist_list2@domain.com $i;done
The above command imports all members from the "dist_list1" distribution list, into the "dist_list2" distribution list on the second server.
Try Zimbra
Try Zimbra Collaboration with a 60-day free trial.
Get it now »
Want to get involved?
You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »
Looking for a Video?
Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »
Wiki/KB reviewed by
|
SME1
|
SME2
|
COPY EDITOR
|
Last edit by Teodor Vizirov
|