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...
First, get the current version of cPanel
cat /usr/local/cpanel/version
and just grep for that version number in update logs:
grep PUT-YOUR-VERSION-HERE /var/cpanel/updatelogs/*
Quick List of the Best Web Hosting Control Panels cPanel – Best Linux-only web hosting control panel for users who want a control panel that’s tried and tested over the yearsPlesk – Perfect Windows/Linux web hosting...
On a WordPress website that is protected with ModSecurity, when admin edits pages using Elementor or Gutenber in wp-admin dashboard, ModSecurity may falsely detect it as XSS attack. What we usually do is disable specific rules that create this false...
xmlrpc.com is a WordPress file that was intended to be used for API’s but lately it’s more and more used as a way for hackers to brute-force WordPress installations. To block access to xmlrpc.php on a single WordPress installation add...
Here is how to add a custom message to every outgoing email in Roundcube: Edit the config/default.php file: nano /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php and add the following to it: $config['generic_message_footer'] =...
Email forwarders in cPanel are stored in file /etc/valiases/domain *Where domain is the domain name under which email forwarders are created. To bulk delete email forwarders in cPanel you can edit this file with your favorite text...
in cPanel mailbox quota for all email accounts under a single domain name is stored in a file named quota. To bulk change mailbox quota for all email accounts under one domain you can modify the quota file located in the following path:...
Here is how to mass change the “Default Mail Address” for all domains (existing accounts) in the server to a specific email address ([email protected]).
sed "s/^\*:.*/[email protected]/g" -i /etc/valiases/*
If you are looking to change the Ftp port on your server from 21 to a non-standard port say 2121, you need tweak the ‘bind’ option in the Ftp configuration file. On a cPanel server with pure-ftp as a Ftp server, you need to edit...