Page 1 of 1

Hourly limit is not compatilbe with 11.32.2

Posted: 05 Apr 2012, 07:59
by Sergio
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

mail limit script changing

Posted: 06 Apr 2012, 00:09
by mitgib
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.

please use new cPanel mail limits command

Posted: 18 Apr 2012, 10:16
by SoftDux
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

Re: Hourly limit is not compatilbe with 11.32.2

Posted: 24 Apr 2012, 09:45
by chirpy
Thank you, we will address the issue once v11.32 has entered the STABLE tree.

Re: Hourly limit is not compatilbe with 11.32.2

Posted: 22 May 2012, 21:44
by peterelsner
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

Re: Hourly limit is not compatilbe with 11.32.2

Posted: 22 May 2012, 22:02
by peterelsner
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.

Re: Hourly limit is not compatilbe with 11.32.2

Posted: 01 Jun 2012, 22:25
by peterelsner
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.

Re: Hourly limit is not compatilbe with 11.32.2

Posted: 15 Aug 2013, 09:08
by senton1
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.