How to find the total number of email accounts on a WHM/cPanel server? cPanel / WHM

As a server admin, there would be situations to find the total number email accounts on your WHM/cPanel server. The below steps helps you to find the total number of email accounts on the WHM/cPanel server

  1. Login to your server using the terminal (Shell mode- SSH) and download the following script

                       # cd /usr/local/src/
# wget
https://github.com/SSS015/compressed/archive/master.zip

  1. Unzip the file using the below command

                      # unzip master.zip
# cd compressed-master

  1. Un-tar the file using the following command

                      #tar -xvf email_account_list.tar

  1. Modify the file permission to make the file executable

                      #chmod +x final.sh

  1. Execute the script. The output would show the all the email accounts in the server with the corresponding users.

                       #bash final.sh

At Velan, our server support engineers can help you find all the email accounts on your WH</cPanel server. We troubleshoot problems like these for our clients every day. If you are interested in our service, please fill the Quick connect form to get in touch with us

Credentials

123

Quick Connect With Us

captcha reload