Obtain all the forwards per each account

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Obtain all the forwards per each account

Post by DualBoot »

Hello,

not a zimbra problem, it is bash problem.
By the way you can check if you're in the right folder or anything else by using ls -lha command.

Regards,
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Obtain all the forwards per each account

Post by DualBoot »

Quick answer :
zmprov -l gaa | while read ACCOUNT ; do zmprov ga ${ACCOUNT} zimbraMailForwardingAddress

Regards,
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Obtain all the forwards per each account

Post by DualBoot »

Sorry missing end :
zmprov -l gaa | while read ACCOUNT ; do zmprov ga ${ACCOUNT} zimbraMailForwardingAddress ; done
Post Reply