zmprov incredibly slow
I want to disable all users OutOfOffice-replies but backup their original settings.
So what I do for each user:
I run "zmprov ga" to query their actual state and then I run "zmprov ma" to disable OOO.
I've 207 users on my system and the above code takes approx. 30minutes. WOW !!! This is really really slow.
zmprov -l gaa | sort | while read i; do echo -n "$i:"; zmprov ga "$i" | grep zimbraPrefOutOfOfficeReplyEnabled || echo; zmprov ma "$i" zimbraPref
OutOfOfficeReplyEnabled FALSE; done
Any way to make things faster? To query directly from ldap or mysql? Why is it so slow?
Thnx for your ideas,
Release 7.1.3_GA_3346.UBUNTU10_64 UBUNTU10_64 FOSS edition