Send 80% mail quota warning directly to the filling mail account.

8p-design

Well-Known Member
Mar 25, 2006
53
3
158
A single Cpanel accounts has many email accounts.
When an email account quota is reaching 80% or is full, the main contact of the account gets a warning.

Is there any way for the email user to receive such warning? This way they manage their account without account admin intervention.
 

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
A single Cpanel accounts has many email accounts.
When an email account quota is reaching 80% or is full, the main contact of the account gets a warning.

Is there any way for the email user to receive such warning? This way they manage their account without account admin intervention.
in the users cpanel
if you scroll to the bottom it says > contact information
there are a few checkboxes and a spot to add an email address to get notifications. have you looked there ?




  • My account approaches its bandwidth usage limit. — Send a notification if your website will soon exceed the maximum amount of traffic.
    Note:
  • SSL certificate expiry. — Send a notification if a non-AutoSSL certificate will expire soon.
  • Any of my account’s email accounts approaches or is over quota. — Send a notification if one of your email addresses will soon reach its maximum amount of disk space.
    Note:
    To resolve this issue, delete old email or upgrade your hosting plan.
 

8p-design

Well-Known Member
Mar 25, 2006
53
3
158
in the users cpanel
if you scroll to the bottom it says > contact information
there are a few checkboxes and a spot to add an email address to get notifications. have you looked there ?
thanks for your reply.

yes I did look into these options.
This will send a notification to me as the cpanel account contact.

But will it notify the concerned email account?
 

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
But will it notify the concerned email account?
not understanding..

do you mean when you add an email you give each email a limit ? and you want that person to get the email of 80% full for each email address ?
 

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
I don't think this is possible if this is what your trying to ask below example.

if you create on a cpanel account with domain> 2domain.tld

you create 3 emails accounts
with address:
[email protected] assign 2048mb space
[email protected] assign 4096mb space
[email protected] assign 10GB space

I don't think [email protected] can get a notification for his email if he reaches 80% of 2048mb
I think you as the cPanel owner gets the 80% notification because you are the owner the cpanel account. and domain> 2domain.tld

I could be wrong But.... I don't see this as an option in the cpanel docs under email
 

8p-design

Well-Known Member
Mar 25, 2006
53
3
158
I don't think this is possible if this is what your trying to ask below example.

if you create on a cpanel account with domain> 2domain.tld

you create 3 emails accounts
with address:
[email protected] assign 2048mb space
[email protected] assign 4096mb space
[email protected] assign 10GB space

I don't think [email protected] can get a notification for his email if he reaches 80% of 2048mb
I think you as the cPanel owner gets the 80% notification because you are the owner the cpanel account. and domain> 2domain.tld

I could be wrong But.... I don't see this as an option in the cpanel docs under email
My point is: Bob is the one that should manage his inbox content to get his disk space down. Why would we alert the main contact, who in turn will anyway contact Bob to act on his disk usage.
 

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
Now you can setup email filters with a forwarder address for each email account..
then delete the email from server,

or create both a rule to forward and then delete emails after 2 weeks on server.

so example
[email protected] is forwarded to [email protected] and email is deleted automatically from server so it does not take up any space at all
or
[email protected] has forwarder and keeps email on server for 2 weeks then any email older than 2 weeks gets deleted automatically.

this will make sure they never go over quota
and they read their email from there Gmail account or outlook account etc..

but I do not think there is a way to each individual email on the same cpanel account to get notification of overage, because its all on the same cpanel account, so you as owner will get the email.
 

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator

Spirogg

Well-Known Member
Feb 21, 2018
696
151
43
chicago
cPanel Access Level
Root Administrator
thanks for your reply.

yes I did look into these options.
This will send a notification to me as the cpanel account contact.

But will it notify the concerned email account?
Hello again @8p-design after a long search and more testing we got the answer and I was wrong...

YES you can send them notifications...

here is the email i got on the one email account that went over the limit


Mailbox quota notification for "[email protected]".
The "[email protected]" email account is nearly full.
The email account currently uses 93.3% (955.44 KB/1 MB) of its capacity.
You should remove some emails from the mailbox as soon as possible in order to prevent the loss of any future email. Use the Email Disk Usage tool at https://server2.domain.com:2096/?goto_app=Email_DiskUsage, or ask the system administrator to upgrade your account to a larger quota.
The system generated this notice on Monday, April 25, 2022 at 9:57:59 AM UTC.
You can disable the "Quota::MailboxWarning" type of notification through the cPanel interface: https://server2.domain.com:2083/?goto_app=ContactInfo_Change
Do not reply to this automated message.



Here is what you need to activate below

we need to go to tweak settings in WHM

then click on notifications
or search for "Enable mailbox usage warnings" and turn this feature ON right below that you should see 3 more settings to set the percentages when emails get mailed to users ( each email account when it goes over) and then you click save at the bottom. and your all set.

this works as I've just tested it. hope this helps you :)

Enable mailbox usage warnings
  • On
  • Off
    default
Mailbox disk quota “warn” percentage [?]
Threshold percentage to warn a user (via email) that their mailbox’s disk quota is considered to be in the “warn” state.
  • Disable this notification
  • 80 % default
  • %
Mailbox disk quota “critical” percentage [?]
Threshold percentage to warn a user (via email) that their mailbox’s disk quota is considered to be in the “critical” state.
  • Disable this notification
  • 90 % default
  • %
Mailbox disk quota “full” percentage [?]
Threshold percentage to warn a user (via email) that their mailbox’s disk quota is considered to be in the “full” state.
  • Disable this notification
  • 98 % default
  • %
 
Last edited:
  • Like
Reactions: cPRex