Here is a simple PHP script that you can use to test if a port is open on the server or not. <?php $host = $_SERVER['SERVER_ADDR']; $ports = array(21, 25, 80, 81, 110, 443, 3306); foreach ($ports as $port) { $connection = @fsockopen($host...
If you use dynamic DNS privately and need to whitelist a hostname or domain name in cPanel/WHM, you can use the DYNDNS feature of ConfigServer Security and Firewall plugin. csf.dyndns is a file that is specifically used for allowing hostnames in CSF...
If clients are complaining for dozens of LFD alerts from their VPS’s running cPanel here is how to completely disable those email alerts. Here are two ways to disable LFD alerts: From WHM > ConfigServer Security & FirewallFrom the...
Here is a list of the top 10 most useful browser extensions that I use daily, and hopefully some other System Administrators and Web Developers will find them useful as well. AdBlocker Number one of this list is the first extension that I always...
If you’ve installed the official CentOS image, after trying to login as root you will see the following message: “Please login as the user “centos” rather than the user “root”. Here is how to permit root login in...
Is there exim at all? yum list installed |grep -i exim ———————— WHO DID IT ———————— WHO deleted email account grep execute/Email/delete_pop...
Check the following log files:
To check if the files were deleted using FTP
/var/log/messages
To check if the files were deleted using file manager
/usr/local/cpanel/logs/error_log
If the files were deleted using shell access
history
Lately I’ve been dealing a lot with email accounts in cPanel: Bulk change cPanel mailbox quota for all email ✉️ accounts and Bulk delete ✉️ email forwarders in cPanel. Here is how to bulk create email accounts in...