Jump to content

How to use throttle on Emails sent by whmcs on cpanel server


ghpk

Recommended Posts

hi,

iam very happy with whmcs,

as i am importing clients manually (from offline records) i need to send the users notification for the Billing manager, who are not less than 700 - 800 in number, But as most of the servers running cpanel have a Limit set globally for "MAX emails a domain can send in a hour"

 

This is set as 100 mails a hour on most of my servers and iam sure most of the hosts around the world set caps on this as per their hardware, load levels etc etc and this helps server from being exploited too.

 

I am not able to find any option in whmcs to use throttle the mails sent to a certain limit of users, per hour basis.

 

cPanel has recent made changes to this limit handling, and currently on some release versions, it may queue the mails if a domain exceeds the max allow limit for a hour and then relay them later (once they are off the threshold value with time delay), and on some versions they simply Bounce quantity above the set limit.

 

how would whmcs handle this issue in current or future updates.

 

thanks,

ghpk

Link to comment
Share on other sites

ghpk:

 

Here's a solution for ya, (but only if you have root access):

 

Edit, or more likely create, as it's not there by default, the file /var/cpanel/maxemail.

 

Add to the file this single line:

 

yourdomain.com=0

 

(where yourdomain.com is your whmcs site's domain name).

 

This will override the email limits for the site, and you won't have to worry about how many emails whmcs sends.

Link to comment
Share on other sites

  • 2 years later...
hi,

iam very happy with whmcs,

as i am importing clients manually (from offline records) i need to send the users notification for the Billing manager, who are not less than 700 - 800 in number, But as most of the servers running cpanel have a Limit set globally for "MAX emails a domain can send in a hour"

 

This is set as 100 mails a hour on most of my servers and iam sure most of the hosts around the world set caps on this as per their hardware, load levels etc etc and this helps server from being exploited too.

 

I am not able to find any option in whmcs to use throttle the mails sent to a certain limit of users, per hour basis.

 

cPanel has recent made changes to this limit handling, and currently on some release versions, it may queue the mails if a domain exceeds the max allow limit for a hour and then relay them later (once they are off the threshold value with time delay), and on some versions they simply Bounce quantity above the set limit.

 

how would whmcs handle this issue in current or future updates.

 

thanks,

ghpk

 

 

I would like to know how to throttle emails being sent out from whmcs (not from cpanel) to a certain limit rep hour and per second as well

 

please help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated