Daily/Hourly per email SMTP limit

koda

Well-Known Member
Jan 10, 2014
63
2
58
cPanel Access Level
Root Administrator
Hallo,
I've searched trough the forum and found dozens of topics with this kind of request but didn't find a solution so far.
We have a mail server with a single domain and a single administrator account. On that domain we have ~300 email accounts.
We have a very "newbie" user base for our email account so the most (and only) issue we are constantly facing is that some email account is scammed and spam is being sent from that account (with the consequence of infinite queues and being blacklisted).
The domain limit makes no sense for us since we have some trusted, secure and important email accounts which sends hundreds of legit mail.
The CPanel "bounced mail" prevention makes no sense as well since it will block the entire domain and it's percentage based. So if a user sends 10 emails and 6 bounce back the whole domain is blocked for 1 hour. If a spammers sends 10000 emails and 1000 bounce back nothing happens. Which makes this feature completely useless in my opinion (most of all beacuse it will block the whole domain and not that single user).
Having a domain wide hourly/daily limit (per email account) and then the possibility to tweak this for individual email account seems a quite common and perfect prevention to malicious scamming/spamming that may happen.

Since it seems that CPanel doesn't (and won't considering the many requests here dated back to 2007) support this feature, do you know if there is any addon for CPanel wich let you do this? Or some addon/script that will hang directly in Exim to do this?

Thank you in advance for your suggestions.
 

cPanelMichael

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

koda

Well-Known Member
Jan 10, 2014
63
2
58
cPanel Access Level
Root Administrator
Thank you Michael, I voted and commented.
If I didn't misunderstood Exim docs this seem like something that is natively supported by Exim so far:
42. Access control lists
Am I wrong?
If so it shouldn't be so hard to add this kind of functionality I guess or to write an addon for this.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
The documentation you provided indicates you should be able to develop and implement a custom ACL rule with Exim so that it limits emails on a per-email-account basis. However, keep in mind that falls outside our scope of support.

Thank you.
 

koda

Well-Known Member
Jan 10, 2014
63
2
58
cPanel Access Level
Root Administrator
Of course Michael :) This was just an "hint" to CPanel devs that Exim seems to support this functionality "off the bat" so it shouldn't be too difficult to include this extremely useful feature to fight account scammers iwthout bloating the queue or being blacklisted.
I'll try to find some help on this subject on Exim mailing list then, but if some one here comes up with a ready made addon/script/whatever solution it's welcome.

Thanks so far