ZCS 4.5.x Mass delete of Contacts

From Zimbra :: Wiki

Jump to: navigation, search
   Article-alert.png  - This article is a community contribution and may include unsupported customizations for network edition customers.


Admin Article

Article Information

This article applies to the following ZCS versions.
  ZCS 4.5 Article  ZCS 4.5

Here is the scenerio for the proposed situation.

My company uses dotProject to store the Master List of contacts, as well as project management. For now, untill I get a fancy zimlet made, once a week I want to ...

I created a email account dotproject@example.com. This account has shared contacts.

If you don't delete the contacts that are in there, before you do the import, you will end up with duplicate contacts.

  • ssh into the server, I use putty ssh
  • paste the following command to delete the contacts.
  • /opt/zimbra/bin/zmprov sm dotproject@example.com emptyFolder /contacts
  • now you can import your contacts via the csv uploader, in the options of your mail box.
  • I upload them into the shared folder, through my account.

But explain to your users that what they have in there will be deleted.

Verified Against: ZCS 4.5.x or prior Date Created: 11/17/2006
Article ID: http://wiki.zimbra.com/index.php?title=ZCS_4.5.x_Mass_delete_of_Contacts Date Modified: 04/16/2010
Personal tools