Set max emails per hour for a particular domain

ARUN Post in WHM BACKEND
0

vi /var/cpanel/maxemails

webhostingdevelopment.com=20000

Then run the command

/scripts/build_maxemails_config

This will create a file  :   /var/cpanel/maxemailsperdomain/webhostingdevelopment.com

To verify if the emails per hour is set use :

cat /var/cpanel/maxemailsperdomain/webhostingdevelopment.com

IN NEW CPANEL 11.32 USE

vi /var/cpanel/users/USER_NAME  to change this value

MAX_EMAIL_PER_HOUR=1500

After editing the file run the below commands as well :

/usr/local/cpanel/scripts/update_email_limits USER_NAME

/usr/local/cpanel/scripts/updateuserdomains

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.