To our horror we have found that since 11.28 the per domain max emails changed drastically; while there is still a way to make it work per domain the default has been shifted to a per account setup which in our situation (and we believe in many others situations) very unwanted.
We have clients with multiple add-on domains; often one of these domains is used to send out larger mailing lists; and this we raise the max emails for this domain only; this is not only practical it also avoids large amounts of spam send out of any other domain on the same account if things would turn ugly.
The default functionality has been shifted to the user file of cPanel, meaning it is now a global variable for the users account; once set to any number; it will overwrite all settings you ever did set on this accounts separate domains (used to be maxemails in /var/cpanel; but moved to: /var/cpanel/maxemailsperdomain/
so as long you do not set the global setting for the account, you can still use /var/cpanel/maxemailsperdomain/ to set the limit per domain.
As this is a huge change in functionality i consider this a major bug. It has not been well documented. i.e. the old maxemails is now containing a reference to : # This file is no longer in use, please update the MAX_EMAIL_PER_HOUR in the /var/cpanel/users/USER file
Which is a per user file; and not a per domain file.
While the /var/cpanel/maxemailsperdomain/ in my eyes would be more the replacement of the maxemails file as there the settings are set per domain.
So in short; cPanel has now the following limits:
Global setting (can be set in tweak settings)
an Override in the /var/cpanel/users/USER file for the complete account
an Override in the /var/cpanel/maxemailsperdomain/ for per domain tweaking
The problem is that the last will be overwritten when you use the /var/cpanel/users/USER settings
This doesnt look right to us.
We have clients with multiple add-on domains; often one of these domains is used to send out larger mailing lists; and this we raise the max emails for this domain only; this is not only practical it also avoids large amounts of spam send out of any other domain on the same account if things would turn ugly.
The default functionality has been shifted to the user file of cPanel, meaning it is now a global variable for the users account; once set to any number; it will overwrite all settings you ever did set on this accounts separate domains (used to be maxemails in /var/cpanel; but moved to: /var/cpanel/maxemailsperdomain/
so as long you do not set the global setting for the account, you can still use /var/cpanel/maxemailsperdomain/ to set the limit per domain.
As this is a huge change in functionality i consider this a major bug. It has not been well documented. i.e. the old maxemails is now containing a reference to : # This file is no longer in use, please update the MAX_EMAIL_PER_HOUR in the /var/cpanel/users/USER file
Which is a per user file; and not a per domain file.
While the /var/cpanel/maxemailsperdomain/ in my eyes would be more the replacement of the maxemails file as there the settings are set per domain.
So in short; cPanel has now the following limits:
Global setting (can be set in tweak settings)
an Override in the /var/cpanel/users/USER file for the complete account
an Override in the /var/cpanel/maxemailsperdomain/ for per domain tweaking
The problem is that the last will be overwritten when you use the /var/cpanel/users/USER settings
This doesnt look right to us.