The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
- Zimbra Tech Center
- Certified
- Delete emailed contact
How to delete emailed contact using CLI?
KB 24089
|
Last updated on 2021-11-16
|
Last updated by Vdhande
|
|
Verified in: ZCS 8.8
|
|
- This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.
|
KB 24089
|
Last updated on 2021-11-16
|
|
|
- This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.
|
Problem
- Remove any wrong emailed contact from a user's account.
Solution
- Search for the details of the account by running below command
zmmailbox -z -m account@example.com gact -f "Emailed Contacts" |grep -i -B6 "email: user@example.com"
- The output should look like below
Id: 3142
Folder: /Emailed Contacts
Date: 03/31/20 16:53
Revision: 25933
Attrs:
firstName: admin
email: user@example.com
Note "Id" from the above command's output which is needed in the next step to remove the emailed contact. In the above example, Id is "3142".
- Delete emailed contacts using CLI by copying above mentioned "Id" in below command
$ zmmailbox -z -m account@example.com dct 3142
Submitted by: Vivek Dhande
|
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 »