How to get Zimbra Emailed Contact from CLI

Help command
$zmmailbox help contact

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.
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

1 comments: