I was looking into something else and spotted this code in exim.pl:
Code:
open(CF,"/var/cpanel/cpanel.config"); while(
The first open is getting the maxemailsperhour that you have set in WHM. The second open is the interesting one. It's opening a file /var/cpanel/maxemails and reading in domain=number pairs. If the domain for the email matches then the number overrides the WHM one.
So, if you want to exempt a domain from maxemailsperhour, create that file and put in it:
domain.com=0
If you just want to set a higher limit for a domain (or different domains), use:
domain.com=1000
otherdomain=20
Not tried it, but the code is there to use it
No comments:
Post a Comment