Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Why?
Blocking users and dropping their mails is the rudest thing that could ever happen. Dropping incoming traffic can cause irremediable data loss, and as such should be avoided as much as possible.
Soft quota is a way to force user acting before taking the rudest actions is required.
What?
If the users exceed the soft quota limit (say 95%) prevent this user from sending email. Receiving is still OK.
This should be enough to force the user acting and fix the issue before taking extreme decisions.
How?
SMTP: have a softQuota MailHook. This hook, for local sender checks if the soft quota is exceeded. Soft quota ratio is a parameter of the hook.
JMAP. Have a `softQuotaRatio` configuration option. Have it enforced within `emailSubmission/set` if `softQuotaRatio < 1`