Forwarding multiple user with script
i'm in the middle of account migration in zimbra (e.g firstname.lastname@example.org) and to make migration smoothly i made another server with address email@example.com as forwarding address for firstname.lastname@example.org. i could do this one by one with this command
as zimbra user :
zmprov ma email@example.com zimbraPrefMailForwardingAddress firstname.lastname@example.org
but it would be not efective if i type it one by one, is there any way to make this automatically
loop on user list and execute command till the last user (i have 2000 user)?