Bandwidth exceded emails are totally flooding my clients

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
One of our clients have complained today about the bandwidth limit mails we send.

We have cPanel setup to warn our clients when they've reached 75-85-95-99 % of their bandwidth, but our idea is to send them ONE email per EACH one of them; although cPanel sends them each time their on the 75% and not only once per day, it's repeatedly sent over the day, check this out:

21/8 23:30 - The domain xxxxxxxx.com (xxxxxxxx) has reached 75% of its bandwidth limit (1955.35/2500.00 Megs).
22/8 05:45 - The domain xxxxxxxx.com (xxxxxxxx) has reached 75% of its bandwidth limit (1964.68/2500.00 Megs).
22/8 11:30 - The domain xxxxxxxx.com (xxxxxxxx) has reached 75% of its bandwidth limit (1971.66/2500.00 Megs).
22/8 05:35 - The domain xxxxxxxx.com (xxxxxxxx) has reached 75% of its bandwidth limit (1997.70/2500.00 Megs).
22/8 23:45 - The domain xxxxxxxx.com (xxxxxxxx) has reached 75% of its bandwidth limit (2021.35/2500.00 Megs).
23/8 06:00 - The domain xxxxxxxx.com (xxxxxxxx) has reached 75% of its bandwidth limit (2028.58/2500.00 Megs).
23/8 11:40 - The domain xxxxxxxx.com (xxxxxxxx) has reached 75% of its bandwidth limit (2035.08/2500.00 Megs).
It's allways the same domain, the same user, and the same % bandwidth used, but it's totally absurd to warn about it so many times, I'd like cPanel to send just one email per month when he reaches any of the limits.

Let's say, the month starts, you're using 0%, you reach 75% you get just ONE advice about it, until you use 85% and then you get the SECOND advice mail.

Can you do any fix for this or maybe, some local setting to prevent the mail flooding ?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
This is a flaw corrected in cPanel 11.25 The way the thresholds were computed if a domain/account went many thresholds during a short interval the notification system would flood the user.

One thing does bug me though: on your system, is there a batch sent per threshold or does the notification system keep sending regardless?

For example if you have the following thresholds: 75%, 80%, 85%, 90%, 95%, 100%. That means you have 6 thresholds. Are your users receiving 6 batches of six messages? Or are they receiving 6 messages continually?
 

Silent Ninja

Well-Known Member
Apr 18, 2006
196
0
166
Buenos Aires, Argentina
This is a flaw corrected in cPanel 11.25 The way the thresholds were computed if a domain/account went many thresholds during a short interval the notification system would flood the user.

One thing does bug me though: on your system, is there a batch sent per threshold or does the notification system keep sending regardless?

For example if you have the following thresholds: 75%, 80%, 85%, 90%, 95%, 100%. That means you have 6 thresholds. Are your users receiving 6 batches of six messages? Or are they receiving 6 messages continually?
The idea is that they get warned at each of those thresholds, but just once per each, and not more than just one daily anounce; eg. if the user was 75% one day, he won't be bothered again, unless he gets pass beyond the 80% and it's been at least 24 hours. We doesn't have to be bothered again because of the 75% exceded, he already knows that this month.

Now, the user gets warned maybe 3 or 4 times each day that he have exceeded the 75% threshold.