How to set particular email limits for per domain on serv

First steps in cPanel, creating emails, databases, etc

How to set particular email limits for per domain on serv

Postby Mark » Sat Dec 19, 2009 3:45 pm

# However you can set The maximum each domain can send out per hour (0 is unlimited) in WHM >> Main >> Server Configuration >> Tweak Settings.
>> The maximum each domain can send out per hour (0 is unlimited) >> change the limit (do not change the defult setting on shared server without asking )

Or for particular domain

#vi /var/cpanel/maxemails

<domain>=100

save and close

#/scripts/build_maxemails_config"


To increase the mail limit for the particular domain then you would need to add the domain in your maxemailsperdomain from the below mentioned location:

#pico /var/cpanel/maxemailsperdomain/yourdomainhere.com


yourdomainhere.com is the domain for increasing the number of mails. Once you enter the no. in the file. You may save it and REMEMBER to restart exim services by executing the following command :

/scripts/build_maxemails_config


We can provide you the step by step instructions

1) login to the server as root

2) vi /var/cpanel/maxemails

abc.com=100

3) save the file and execute the following script from the shell.

/scripts/build_maxemails_config

The above script will automatically create a file abc.com inside

cat /var/cpanel/maxemailsperdomain/abc.com
100
Mark
 
Posts: 124
Joined: Fri Dec 11, 2009 2:18 pm

Return to Basic cPanel usage tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron