Steps to add and remove datasource from GAL account

Steps to add and remove datasource from GAL account

   KB 23339        Last updated on 2018-05-31  

(0 votes)


Remove old or non-working datasources from the GAL account.


  • Check and find out the exact datasource name to remove.
zmprov getDataSources {GAL-account-name}


zmprov getDataSources
  • Now remove the datasource:
zmprov deleteDataSource {GAL-account-name} {datasource-name}


zmprov deleteDataSource "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}


zmgsautil addDataSource -a -n InternalGAL --domain -t zimbra -f _InternalGAL -p 60m
zmgsautil forceSync -a -n InternalGAL

Submitted by: Heera Singh Koranga

Verified Against: ZCS 8.8, 8.7, 8.6 Date Created: 2017-08-15
Article ID: Date Modified: 2018-05-31

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