Hourly limit is not compatilbe with 11.32.2

8 posts Page 1 of 1
Sergio
Junior Member
Posts: 1351
Joined: 12 Dec 2006, 14:56


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 ...
Regards,

Sergio
mitgib
Junior Member
Posts: 5
Joined: 13 Aug 2007, 13:42


Noticed on 11.32.2 (build 15) today, seems the old script is still working, but a replacement has been deployed
Code: Select all
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.
SoftDux
Junior Member
Posts: 71
Joined: 11 Dec 2006, 14:03


When changing a domain's mail limits, cmm / WHM reports:
Code: Select all
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
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13


Thank you, we will address the issue once v11.32 has entered the STABLE tree.
peterelsner
Junior Member
Posts: 73
Joined: 16 Nov 2010, 22:49


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
peterelsner
Junior Member
Posts: 73
Joined: 16 Nov 2010, 22:49


Ok, nevermind... I did find the solution in a cPanel Forum article.

http://forums.cpanel.net/f43/11-28-max- ... 73212.html
It is now stored in /var/cpanel/users/username file.

Good to know.
peterelsner
Junior Member
Posts: 73
Joined: 16 Nov 2010, 22:49


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 ...

Changes saved.
senton1
Junior Member
Posts: 1
Joined: 15 Aug 2013, 08:59


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.
8 posts Page 1 of 1