Benoit Tellier created JAMES-3947:
-------------------------------------

             Summary: Soft quota
                 Key: JAMES-3947
                 URL: https://issues.apache.org/jira/browse/JAMES-3947
             Project: James Server
          Issue Type: New Feature
          Components: JMAP, mailbox, SMTPServer
            Reporter: Benoit Tellier
            Assignee: Antoine Duprat


h3. 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.

h3. 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.

h3. 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` 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to