Create a package with default MAX_EMAIL_PER_HOUR

jmginer

Well-Known Member
Jul 26, 2006
150
4
168
Alicante
cPanel Access Level
Root Administrator
Hello! I have searched in the doc: How to Set Email Send Limits - cPanel Knowledge Base - cPanel Documentation but not find anything related with my question.

When I create a package, I only have a option to set a value limit or set to unlimited, but not to set the default server value configured in tweak settings.

How to create a package to use the default MAX_EMAIL_PER_HOUR, (Maximum Hourly Email by Domain Relayed) ?

Thanks!
 

redesignunit

Member
Sep 24, 2015
16
0
1
cPanel Access Level
Root Administrator
You may specify values for individual domains by editing the cpuser file at /var/cpanel/users/. Add a MAX_EMAIL_PER_HOUR-[$domain] key and specify a value. Remember to replace $domain with the domain you wish to limit. If you make any changes to the cpuser file, make sure to run the /usr/local/cpanel/scripts/updateuserdomainsscript. Hope it helpful for you.
 

jmginer

Well-Known Member
Jul 26, 2006
150
4
168
Alicante
cPanel Access Level
Root Administrator
You may specify values for individual domains by editing the cpuser file at /var/cpanel/users/. Add a MAX_EMAIL_PER_HOUR-[$domain] key and specify a value. Remember to replace $domain with the domain you wish to limit. If you make any changes to the cpuser file, make sure to run the /usr/local/cpanel/scripts/updateuserdomainsscript. Hope it helpful for you.
Seriously, have you read my question?
How to create a package to use the default MAX_EMAIL_PER_HOUR

You know what is a package in WHM ?