#!/bin/bash cd for user in `cat ../accounts/users.txt`; do zmprov ga $user | grep zimbraMailSieveScript | awk '{print $2}' | tee -a $user.txt ;echo $i ;done