How to move a distribution list from one mailbox server to another: Difference between revisions

(How to move a distribution list from one mailbox server to another?)
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__FORCETOC__
<div class="col-md-12 ibox-content">
=How to move a distribution list from one mailbox server to another?=
=How to move a distribution list from one mailbox server to another?=
<hr>
<hr>
{{KB|{{WIP}}|{{ZCS 9.0}}|{{ZCS 8.8}}|}}
{{KB|{{ZC}}|{{ZCS 9.0}}}}
<hr>
<hr>


==Problem==
====Problem====
In mulit-server environment,how to move distribution list from one mailbox server to another.
In multi-server environment, how to move distribution list from one mailbox server to another?




==Solution==
====Solution====


In below example <code>test@example.com</code> is moved from mailbox server <code>example.com</code> to <code>example2.com</code>
In below example <code>test@example.com</code> is moved from mailbox server <code>example.com</code> to <code>example2.com</code>


'''1)''' Check current value of attribute zimbraMailhost for DL.
'''1)''' Check current value of attribute zimbraMailhost for DL


<pre>
<pre>
$ zmprov gdl test@example.com zimbraMailhost
$ zmprov gdl test@example.com |grep zimbraMailhost
# distributionList test@example.com memberCount=5
</pre>
The above command will return the below output
<pre>
zimbraMailHost: example.com
zimbraMailHost: example.com
members
1@example.com
2@example.com
3@example.com
4@example.com
5@example.com
</pre>
</pre>


'''2)''' To move a distribution list, zimbraMailhost needs to be changed with new mailbox server's hostname.
'''2)''' To move a distribution list, zimbraMailhost needs to be changed with new mailbox server's hostname
<pre>
<pre>
zmprov mdl test@example.com zimbraMailhost example2.com
zmprov mdl test@example.com zimbraMailhost example2.com
</pre>
</pre>


'''3)''' Then flush the server cache,
'''3)''' Then flush the server cache
<pre>
<pre>
zmprov fc all
zmprov fc all
Line 41: Line 38:
{{SubmittedBy|Vivek Dhande}}
{{SubmittedBy|Vivek Dhande}}


{{Article Footer|ZCS 8.8|2021-06-04}}
{{Article Footer|ZCS 9.0|2021-06-04}}

Latest revision as of 11:18, 3 November 2021

How to move a distribution list from one mailbox server to another?


   KB 24312        Last updated on 2021-11-3  




0.00
(0 votes)

Problem

In multi-server environment, how to move distribution list from one mailbox server to another?


Solution

In below example test@example.com is moved from mailbox server example.com to example2.com

1) Check current value of attribute zimbraMailhost for DL

$ zmprov gdl test@example.com |grep zimbraMailhost

The above command will return the below output

zimbraMailHost: example.com

2) To move a distribution list, zimbraMailhost needs to be changed with new mailbox server's hostname

zmprov mdl test@example.com zimbraMailhost example2.com

3) Then flush the server cache

zmprov fc all


Submitted by: Vivek Dhande
Verified Against: ZCS 9.0 Date Created: 2021-06-04
Article ID: https://wiki.zimbra.com/index.php?title=How_to_move_a_distribution_list_from_one_mailbox_server_to_another Date Modified: 2021-11-03



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 »


Jump to: navigation, search