Hi all !
Is it possible to know the number of emails (email count) a user has in it's account ?
Including all folders ?
Cheers,
Bruno
Hi all !
Is it possible to know the number of emails (email count) a user has in it's account ?
Including all folders ?
Cheers,
Bruno
Try this...
Code:for j in $( zmprov -l gaa | egrep -v "^(spam|ham)"); do total=0; echo -n "Total for $j = "; for i in $( zmmailbox -z -m "$j" gaf | awk '{print $4}' | egrep -o "[0-9]+" ); do total=$(( total + i )); done; echo "$total"; done
There are currently 1 users browsing this thread. (0 members and 1 guests)