Cpanel: Count and List all mailboxes
Did you ever wanted to see how many mailboxes do you serve in total ?
You can see per user listing mailboxes in cPanel, but all of them is a pain. No such feature. It’s easy enough:
1 |
find /home/*/etc -maxdepth 2 -mindepth 2 -name passwd -exec cat {} \; | wc -l |
you can also try:
1 |
find /home*/*/etc -name passwd -exec cat {} \; | wc -l |
Want to check a complete list of all emails ? That’s even …Read More
Email Security – Blocking outgoing spoofed emails from cPanel server
As a company that proactively manages web hosting servers, we do regular security audits on them. One of the recurring issues we have seen with un-managed servers is loss of server reputation, and service up-time through outbound spam mails.
To combat spam, the first step is finding a common pattern that …Read More
Bulk / Mass delete mails from exim mail queue
Sometimes a user or a domain might be hijacked. Most common use of hijacked accounts is to send spam. After dealing with the account itself, you may find that there is a queue of hundeds or maybe thousands (in my case I got a record of 108K mails in queue) …Read More