How To Check Owner Of DL Through CLI: Difference between revisions
Aman Shukla (talk | contribs) No edit summary |
Aman Shukla (talk | contribs) (→Step 1) |
||
Line 11: | Line 11: | ||
=====Step 1===== | =====Step 1===== | ||
* First step will give the zimbra id of the DL owner user | * First step will give the zimbra id of the DL owner user | ||
$ zmprov gdl dl@domain.com |grep -w "zimbraACE:" | awk '{ print $2 }' | $ zmprov gdl dl@domain.com |grep -w "zimbraACE:" |grep "ownDistList" |awk '{print $2}' | ||
f74f6b75-6c31-49e8-8aa1-08a391eb58b1 | f74f6b75-6c31-49e8-8aa1-08a391eb58b1 | ||
=====Step 2===== | =====Step 2===== |
Revision as of 14:23, 30 December 2021
How to check owner of DL through CLI
Overview
This article will show the method to find the owner of different DL through CLI commands
Solution
To find the owner of a DL below steps are needed to follow:
Step 1
- First step will give the zimbra id of the DL owner user
$ zmprov gdl dl@domain.com |grep -w "zimbraACE:" |grep "ownDistList" |awk '{print $2}' f74f6b75-6c31-49e8-8aa1-08a391eb58b1
Step 2
- Now run below command to find the actual name of the owner from id
$ zmprov -l ga f74f6b75-6c31-49e8-8aa1-08a391eb58b1 |grep -w "mail:" | awk '{ print $2 }' dlowner@domain.com
Submitted by: Aman Shukla |