Run following command:

for i in `cat /etc/localdomains`; do grep -E ^$i: /etc/userdomains ; done | sed 's/://g' | awk '{ system("cat /home/"$2"/etc/"$1"/passwd") }' 2>/dev/null | wc -l

The answer will be the total number of email accounts on your cPanel server.

 

Found this article interesting?
Subscribe to DomainRegister´s newsletter!

You can unsubscribe at any time by simply clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp s privacy practices here.

  • cPanel, WHM
  • 0 uporabniku/om je bi članek v pomoč
Vam je bil odgovor v pomoč?

Povezani članki

 Come sospendere o riattivare un account in WHM

Per sospendere o riattivare un account precedentemente sospeso in WHM: effettuare il log-in su...

 How to add additional IPs in WHM

NOTE: this gude applies onfy if you have a CronusCloud VPS or a dedicated server with...

 How to monitor user CPU and memory usage in WHM

If you need to monitor and check the CPU and memory usage for a certain user/process; Log on to...

 How to change email attachment size in WHM

The default maximum message size limit that can be sent and received by email in cPanel is...

 Autenticazione a due fattori (2FA) per WHM

L'autenticazione a due fattori (2FA) è una misura di sicurezza che per accedere all'interfaccia...