Integration and Digest::MD5 Perl module
The Digest::MD5 Perl module is no longer bundled with the cPanel and WHM application suite. Existing applications and cPAddons that rely upon this Perl module being provided by cPanel will not function properly after upgrading to cPanel™ 11.25.0.
Developers can address this change in one of two ways:
1. Use the md5_fallback.pm functionality provided in the OSCommerce cPAddon.
2. Bundle the Digest::Perl::MD5 Perl module with their application.
Email Addresses Disallowed characters
cPanel™ 11.25 expands the range of acceptable characters in the local part of email addresses to be closer in line with RFC 5322. Addresses created and managed by cPanel™ have the following limitations:
• Disallowed characters that have special meaning to the shell: &’`*|/
• Disallowed characters due to use as data value separators: @:%
Prior versions of cPanel™ only accepted the dash (-), underscore (_), and period (.) in the local part of an email address.
Interfaces that accept an email address for contact purposes should accept all RFC 5322 characters in the local part.
When upgrading to cPanel™ 11.25, email accounts with quotas larger than 2 GB will be upgraded to unlimited. This is due to limitations with Exim and Courier in handling larger quota values.
DNS Clustering dnsadmin operations.
Certain dnsadmin operations are now performed in batches. This reduces both the memory needed during large operations, and the amount of time needed to perform the operation.
Each cPanel™ 11.25 cluster member may now configure a peer failure threshold. This option is found in the Configure Cluster interface in WHM. The threshold specifies how many dnsadmin commands a peer may fail to respond to before that peer is automatically disabled. The threshold is local to the server where it is stipulated.
By default, each cPanel™ 11.25 cluster member will notify the system administrator when peers are disabled due to reaching the failure threshold. The notifications are sent to the High priority destinations as set in the Contact Manager in WHM.
The amount of time between BIND restarts issued by dnsadmin is configurable via a new option in the WHM Tweak Settings interface.
As with the database counts, the disk usage calculation is handled by /scripts/update_db_cache which executes every 4 hours. This script is executed upon enabling the Tweak Setting. Administrators may also execute this script to recalculate the figures. The disk usage figures are stored in /var/cpanel/datastore/mysql-disk-usage and /var/cpanel/datastore/postgres-disk-usage. The file contents are a colon (:) separated list of user names and
figures in bytes.
Example “mysql-disk-usage contents”
[~]# cat /var/cpanel/datastore/mysql-disk-usage
Support for /scripts/updatemysqlquota ends as of cPanel™ 11.25.0. Per this change /scripts/updatemysqlquota is no longer distributed with the product.
Cpanel Database Soft Quotas
The file used to cache the number of databases owned by an account moved from /home/user/.cpanel/datastore/mysql-db-count to /var/cpanel/datastore/user/mysql-db-count. Likewise the PostgreSQL cache file is now /var/cpanel/datastore/user/postgres-db-count.
To keep the cache file current, a cron job executes the following command periodically: /scripts/update_db_cache.
cPanel™ 11.25 provides support for including the disk space consumed by an account’s MySQL and PostgreSQL database in the disk usage for the account. To enable this feature toggle the following Tweak Settings: When displaying disk usage in cPanel/WHM include Postgresql and MySQL® disk usage.