Steps to add and remove datasource from GAL account: Difference between revisions

No edit summary
No edit summary
Line 34: Line 34:
'''Command Syntax :'''
'''Command Syntax :'''
  zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval}
  zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval}
  forceSync -a {GAL-account-name} -n {datasource-name}
  zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}


'''Example :'''
'''Example :'''

Revision as of 20:56, 20 August 2017

Steps to add and remove datasource from GAL account



Problem:

Remove an old or non-working datasource from the GAL account.

Solution:

1). Check and find out the exact datasource name which one we want to remove.

Command Syntax :

zmprov getDataSources {GAL-account-name}

Example :

zmprov getDataSources galsync@DOMAIN.COM

2). Now remove the datasource.

Command Syntax :

zmprov deleteDataSource {GAL-account-name} {datasource-name}

Example :

zmprov deleteDataSource galsync@DOMAIN.COM "DataSource-Name"



Additional Information

If somehow Internal datasource deleted by mistake then we need to add it again and forcesync to fix autocomplete issues. In this type situation we need to use following commands to re-create Internal datasource.

Command Syntax :

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@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -t zimbra -f _InternalGAL -p 60m
zmgsautil forceSync -a galsync@DOMAINNAME.COM -n InternalGAL



Submitted by: Heera Singh Koranga

Jump to: navigation, search