How to get Zimbra Emailed Contact from CLI


Command to get your local Emailed Contacts
$zmmailbox -z -m test2@linuxsolution.in gact -f "/Emailed Contacts"

Id: 373
Folder: /Emailed Contacts
Date: 04/07/17 07:31
Revision: 451
Attrs:
  firstName: Shahzad
  lastName: Alam
  fullName: Shahzad Alam
  email: test18@linuxsolution.in

Grep only Emailed Contacts 
$ zmmailbox -z -m test2@linuxsolution.in gact -f "/Emailed Contacts"  | grep email

Delete Email Contacts from CLI
$ zmmailbox -z -m test2@linuxsolution.in dct 373

Note: 373 is id of specific email contact.


Ref:

Comments

Popular posts from this blog

Disabling Zimbra's AntiSpam, Amavis and AntiVirus filtering

Cambium cnPilot E400/E410/E500 Configuration Tutorial

Error "Unable to retrive Zimbra GPG key for package validation"