Email blocking and notification configuration?

Azim

Well-Known Member
Oct 16, 2015
67
0
6
India
cPanel Access Level
Website Owner
Hello ,

I have two queries and hope you can resolve at the earliest.

1) Can I set some email notification if someone is sending more than 500 emails in one hour or 30 minutes.

2) Can I block any email account if he sends 500 emails per hours or 30 minutes.

Please guide . Thanks.
 

Henry Carter

Active Member
Jul 31, 2019
35
6
8
India
cPanel Access Level
Website Owner
Hi Azim,

You can do this using CSF, enable RT_RELAY_ALERT and configure as per the requirement. "Relay Tracking. This allows you to track email that is relayed through the server. There are also options to send alerts and block external IP addresses if the number of emails relayed per hour exceeds configured limits. The blocks can be either permanent or temporary.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
Hello,

This is all possible through WHM without the use of a 3rd party software such as CSF. These settings can all be found in WHM>>Server Configuration>>Tweak Settings -> Mail

1) Can I set some email notification if someone is sending more than 500 emails in one hour or 30 minutes.
For the email notification - the following setting will be useful:

Monitor the number of unique recipients per hour to detect potential spammers.
The system will monitor the number of emails to unique recipients that each individual email user sends. If this number exceeds the specified threshold, the system will send a notification.

2) Can I block any email account if he sends 500 emails per hours or 30 minutes.
The setting here will allow you to determine the action:

Select the action for the system to take on an email account when it detects a potential spammer.
The system will automatically take this action on every email account that it detects as a potential spammer. To detect spammers, the system monitors the number of emails to unique recipients that each individual user sends.
----

You can also set the Maximum hourly email by domain for specific packages in WHM>>Packages>>Edit A Package

Or modify by individul account by going to WHM>>Account Functions>>Modify An Account


There are also the mail limiting features further discussed in the following documentation:

 

Azim

Well-Known Member
Oct 16, 2015
67
0
6
India
cPanel Access Level
Website Owner
Hello,

It would be really great if someone can guide me how can I just get the email notification if any user account is sending more than 100 emails per hour.

Thanks a lot.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
Hello @Azim

The closest there is to what you're requesting would be WHM>>Server Configuration>>Tweak Setting -> Mail -> Number of unique recipients per hour to trigger potential spammer notification - each recipient is a separate email.

In the same location possibly: Number of emails a domain may send per day before the system sends a notification