Hi Chirpy,
today CPanel has a major upgrade, after the upgrade CMM is not working as it should be.
The following error is showing up:
/scripts/update_email_limits user01
This command is deprecated, please run /usr/local/cpanel/scripts/updateuserdomains instead
Executing /usr/local/cpanel/scripts/updateuserdomains ...
ConfigServer Mail Manage
/scripts/update_email_limits fusionma
This command is deprecated, please run /usr/local/cpanel/scripts/updateuserdomains instead
Executing /usr/local/cpanel/scripts/updateuserdomains ...
Changes saved.
ConfigServer Mail Manage
/scripts/update_email_limits ntsakoho
This command is deprecated, please run /usr/local/cpanel/scripts/updateuserdomains instead
Executing /usr/local/cpanel/scripts/updateuserdomains ...
Changes saved.
Please use the new command instead to avoid confusion, and / or make sure this function works on new cPanel servers as well which doesn't have the old command anymore
Note: This is still happening and 11.32 is in STABLE tree for some time already.
Also, what we used to do, is this:
Create a file in /var/cpanel/maxemailsperdomain/domainname.tld
with the number of emails allowed per hour (say 300).
Save the file and then we ran the /scripts/update_email_limits username
and it would work.
Just noticed that a site that I had set up in 2010 with 300 emails per hour, was hitting the 100 limit.
Looked at it, using cmm and saw 100 (not the 300 that was and still is in that file).
Changed it to 300 and hit save, (got the above error message), and checked that file again. The timestamp never updated and still shows 2010!
Where are the limits now stored???
They no longer appear to be in /var/cpanel/maxemailsperdomain
Still getting this when changing hourly limit for a domain using mail manage...
/scripts/updateemail_limits xxxxxxxx
This command is deprecated, please run /usr/local/cpanel/scripts/updateuserdomains instead
Executing /usr/local/cpanel/scripts/updateuserdomains ...
Create a file in /var/cpanel/maxemailsperdomain/domainname.tld
using the number of emails allowed each hour (say 300).
Save the file after which it we ran the /scripts/update_email_limits username
and yes it would work.