Steps to add and remove datasource from GAL account: Difference between revisions
No edit summary |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Steps to add and remove datasource from GAL account= | |||
<hr> | <hr> | ||
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | |||
====Problem==== | |||
Remove old or non-working datasources from the GAL account. | |||
Remove | |||
====Solution==== | |||
* Check and find out the exact datasource name to remove. | |||
zmprov getDataSources {GAL-account-name} | zmprov getDataSources {GAL-account-name} | ||
Example: | |||
zmprov getDataSources galsync@example.com | |||
zmprov getDataSources galsync@ | |||
* Now remove the datasource: | |||
zmprov deleteDataSource {GAL-account-name} {datasource-name} | zmprov deleteDataSource {GAL-account-name} {datasource-name} | ||
Example: | |||
zmprov deleteDataSource galsync@example.com "DataSource-Name" | |||
=====Additional Information===== | |||
If an internal datasource is deleted by mistake, we can add it again and forcesync to fix autocomplete issues. | |||
In this type situation we need to use following commands to re-create the internal datasource: | |||
zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval} | |||
zmgsautil forceSync -a {GAL-account-name} -n {datasource-name} | |||
Example: | |||
zmgsautil addDataSource -a galsync@example.com -n InternalGAL --domain example.com -t zimbra -f _InternalGAL -p 60m | |||
zmgsautil forceSync -a galsync@example.com -n InternalGAL | |||
zmgsautil addDataSource -a | |||
Submitted by: Heera Singh Koranga | |||
{{Article Footer|ZCS 8.8, 8.7, 8.6|2017-08-15}} |
Latest revision as of 09:41, 31 May 2018
Steps to add and remove datasource from GAL account
Problem
Remove old or non-working datasources from the GAL account.
Solution
- Check and find out the exact datasource name to remove.
zmprov getDataSources {GAL-account-name}
Example:
zmprov getDataSources galsync@example.com
- Now remove the datasource:
zmprov deleteDataSource {GAL-account-name} {datasource-name}
Example:
zmprov deleteDataSource galsync@example.com "DataSource-Name"
Additional Information
If an internal datasource is deleted by mistake, we can add it again and forcesync to fix autocomplete issues. In this type situation we need to use following commands to re-create the internal datasource:
zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval} zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}
Example:
zmgsautil addDataSource -a galsync@example.com -n InternalGAL --domain example.com -t zimbra -f _InternalGAL -p 60m zmgsautil forceSync -a galsync@example.com -n InternalGAL
Submitted by: Heera Singh Koranga