Take away domain and/or users from "Number of unique recipients per hour to trigger potential spammer notification."

certit

Active Member
Jun 11, 2008
33
0
56
Hi guys!
I have some problems with "Number of unique recipients per hour to trigger potential spammer notification."
I want it to apply to all users but users A,B and domains C,D. Seems to be possible?

I have made custom changes to /var/cpanel/users/USER to the users that I don't want the changes to apply to..

But it doesn't work. Any suggestions or good howto that I have missed?

Thanks in advance!
 

certit

Active Member
Jun 11, 2008
33
0
56
This is a global modification and can't be made on a per-user basis with this setting. What did you add to /var/cpanel/users/USER?
Ahh. Is there any other way? I have some accounts that send a lot of legit e-mails.

I added MAX_EMAIL_PER_HOUR= on the account..
 

cPSamuelM

Technical Analyst Team Lead
Staff member
Nov 20, 2019
196
37
103
USA
cPanel Access Level
Root Administrator
Hello @certit

In fact, it is possible to use the "Edit a Package" and/or "Modify an Account" features in WHM to modify the Maximum Hourly Email by Domain Relayed setting:

https://docs.cpanel.net/whm/packages/edit-a-package/
https://docs.cpanel.net/whm/account-functions/modify-an-account/

This value should limit the number of messages sent per hour to the setting you choose. Note that the changes made when editing the /var/cpanel/users/$USER files do not take effect until you run the /usr/local/cpanel/scripts/updateuserdomains script. Using the WHM interfaces which I provided documentation for above is the preferred method to modify these values.

Please let us know if you have any questions.