Webhosting Blog

Set max emails per hour for a particular domain


In order  to set max emails per hour for a specific domain follow following steps:

Create a  file if it does not exists.

[root@server~]# vi /var/cpanel/maxemails

2) Using each new line specify the domain and number of email messages it should be allowed to send.

For example:
test.com=100
testing.com=300
mytest.org=250

3) Run /scripts/build_maxemails_config.

[root@server~]# /scripts/build_maxemails_config

4)The domains not having an entry in the file /var/cpanel/maxemails will follow the default entry on the “TWEAK SETTINGS” in WHM.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s