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,
Obtain all the forwards per each account
- DualBoot
- 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
Quick answer :
zmprov -l gaa | while read ACCOUNT ; do zmprov ga ${ACCOUNT} zimbraMailForwardingAddress
Regards,
zmprov -l gaa | while read ACCOUNT ; do zmprov ga ${ACCOUNT} zimbraMailForwardingAddress
Regards,
- DualBoot
- 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
Sorry missing end :
zmprov -l gaa | while read ACCOUNT ; do zmprov ga ${ACCOUNT} zimbraMailForwardingAddress ; done
zmprov -l gaa | while read ACCOUNT ; do zmprov ga ${ACCOUNT} zimbraMailForwardingAddress ; done