Hello,
How to find all cpanel email accounts with a single one command.
You can run the following command to find all email accounts you need
for i in $(find /var/cpanel/users -type f | egrep -o '[a-zA-Z0-9]+$' | grep -v system);do whmapi1 list_pops_for user=$i;done
Best Regards