Max hourly emails per "user" instead per "domain" - sendmail ratelimit

jmginer

Well-Known Member
Jul 26, 2006
160
7
168
Alicante
cPanel Access Level
Root Administrator
Hello, I see the tweak option called: "Max hourly emails per domain" don't take effect if a hacker/spammer has istalled a spam script that send via sendmail/php. LFD has alerted me that a "LOCALRELAY Alert for username" but there are not any option to block it?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Email sent through the PHP mail() function are not bound by the "Max hourly emails per domain" limit. You will need to force your script to use SMTP authentication when sending out emails to ensure it's included in the limit. Or, you may want to consider trying a third-party application such as Mail Manage by ConfigServer. It's found here:

ConfigServer Mail Manage

It offers some additional options not available in cPanel for limiting email that you may find helpful.

Thank you.