Email Accounts Showing Incorrect Disk Usage After Deleting Emails

Symptoms After removing emails from the email accounts, the disk usage for the email accounts in the “Email Accounts” section is not updated or accurate. Description The Email address shows incorrect disk space usage due to the maildirsize file for the email accounts not being updated. Workaround Please note that “CPUSER” in the following examples…

How to Install and Configure CSF on AlmaLinux 9
|

How to Install and Configure CSF on AlmaLinux 9

ConfigServer Security & Firewall (CSF) is an iptables-based firewall that provides high-level security to the Linux system. CSF includes a wide range of features, such as IP blocking, port blocking, and DoS protection. It also supports advanced security measures, such as rate limiting, connection tracking, and SSH login detection. In addition to its firewall features,…

| |

How can I BACKUP a MySQL database from the command line?

Performing a MySQL Database Dump From your SSH command prompt type … mysqldump -u {username} -p {password} {databasename} > {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql} – the file to…

| |

How can I RESTORE a MySQL database from the command line?

Importing a MySQLDUMP From your SSH command prompt type … mysqladmin -u {username} -p {password} create {databasename} mysql -u {username} -p {password} < {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql}…

How to disable or customize cPanel’s Update Preferences from the Command Line

The default update settings for a cPanel installation are usually controlled from the WHM interface: WHM > Server Configuration > Update Preferences However, there are situations where a greater level of control might be required. In such cases, it is usually easier to modify the update settings right from the command line. The file that…