Hi all,
I installed a new System with Release 8.6.0.GA.1153.UBUNTU14.64 UBUNTU14_64 FOSS edition, Patch 8.6.0_P6.
When I m creating a new E-Mail (over Webgui) and use the "to" Button to select a Address from the GAL I always see the entries twice.
Is it possible to purge / recreate / edit the GAL?
thanks and regards
Tobias
Dublicated GAL entries
- cayaraa
- Outstanding Member
- Posts: 341
- Joined: Sat Sep 13, 2014 12:33 am
- ZCS/ZD Version: ZCS 8 NE & ZCS 8 FOSS
Re: Dublicated GAL entries
Two things you can look at are the GAL config for that domain and to look for the gal account (just search for galsync under users and "view mail") which stores the actual address book thats globally shared to the domain.
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Dublicated GAL entries
Yes you can purge the galsync, but you need to know which folder of the galsync account stores the addresses.
For example you have the following galsync account : galsync@domain.tld
check the data source of this account : zmprov gds galsync@domain.tld
If your galsync is set for example with internal GAL option only, your request should return something like that :
After that you can purge the data source by using the following command :
And to finish you will need to re-synchronize the data source.
For example you have the following galsync account : galsync@domain.tld
check the data source of this account : zmprov gds galsync@domain.tld
If your galsync is set for example with internal GAL option only, your request should return something like that :
Code: Select all
# name InternalGal
# type gal
objectClass: zimbraDataSource
objectClass: zimbraGalDataSource
zimbraCreateTimestamp: 20120404172153Z
zimbraDataSourceEnabled: TRUE
zimbraDataSourceFolderId: 7
zimbraDataSourceId: 7cbd9de7-5603-4506-be2e-d2e10524c0db
zimbraDataSourceName: InternalGal
zimbraDataSourcePollingInterval: 1h
zimbraDataSourceType: gal
zimbraGalLastFailedSyncTimestamp: 20140102212433Z
zimbraGalLastSuccessfulSyncTimestamp: 20160706091915Z
zimbraGalStatus: enabled
zimbraGalType: zimbra
Code: Select all
zmmailbox -z -m galsync@domain.tld ef /_InternalGal
The Guy - DualBoot
PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
-
- Posts: 46
- Joined: Sat Sep 13, 2014 1:44 am
Re: Dublicated GAL entries
I checked the Settings for all my Domains and I always have "Gal Mode Internal" activated.
I got 2 entries with zmprov gds galsync@xxx.com
Is there any way to disable "zimbra" Gal over command Line?
I got 2 entries with zmprov gds galsync@xxx.com
Code: Select all
# name zimbra
# type gal
objectClass: zimbraDataSource
objectClass: zimbraGalDataSource
zimbraCreateTimestamp: 20160503135736Z
zimbraDataSourceEnabled: TRUE
zimbraDataSourceFolderId: 257
zimbraDataSourceId: 30a02ea3-e0c1-4915-a3f3-xxxxxxxxx
zimbraDataSourceName: zimbra
zimbraDataSourcePollingInterval: 1d
zimbraDataSourceType: gal
zimbraGalLastSuccessfulSyncTimestamp: 20160705160021Z
zimbraGalStatus: enabled
zimbraGalType: zimbra
# name InternalGAL
# type gal
objectClass: zimbraDataSource
objectClass: zimbraGalDataSource
zimbraCreateTimestamp: 20160624130845Z
zimbraDataSourceEnabled: TRUE
zimbraDataSourceFolderId: 508
zimbraDataSourceId: 9fe722b0-03fd-4a4e-9d78-xxxxxxxx
zimbraDataSourceName: InternalGAL
zimbraDataSourcePollingInterval: 1h
zimbraDataSourceType: gal
zimbraGalLastSuccessfulSyncTimestamp: 20160706123658Z
zimbraGalStatus: enabled
zimbraGalType: zimbra
- cayaraa
- Outstanding Member
- Posts: 341
- Joined: Sat Sep 13, 2014 12:33 am
- ZCS/ZD Version: ZCS 8 NE & ZCS 8 FOSS
Re: Dublicated GAL entries
If you want to delete the "zimbra" data sources:
zmprov deleteDataSource galsync@xxx.com zimbra
And then to remove the mailbox folder that was created by the data source:
zmmailbox -z -m galsync@xxx.com zimbra deleteFolder _zimbra
You can learn some more about GAL here: https://wiki.zimbra.com/wiki/GAL_Sync_Account
-Aaron
zmprov deleteDataSource galsync@xxx.com zimbra
And then to remove the mailbox folder that was created by the data source:
zmmailbox -z -m galsync@xxx.com zimbra deleteFolder _zimbra
You can learn some more about GAL here: https://wiki.zimbra.com/wiki/GAL_Sync_Account
-Aaron