Our zimbra email server is of version 7.2.0 GA and is installed on Centos 6.3 64 bit.

We would like to create a shell script to generate a report of the users who has more than 10 unread emails in their inbox along with the count of unread emails for each user.

Please guide me who to accomplish this task.