Skip to content

feat(mda): enable trash plugin#680

Draft
jeboehm wants to merge 1 commit intomainfrom
feat/trash
Draft

feat(mda): enable trash plugin#680
jeboehm wants to merge 1 commit intomainfrom
feat/trash

Conversation

@jeboehm
Copy link
Owner

@jeboehm jeboehm commented Jan 28, 2026

Normally, a quota exceeded error is returned if saving/copying a message would bring the user over quota. With the trash plugin, the oldest messages are instead expunged from the specified mailboxes until the message can be saved. If the new message is large enough that it wouldn't fit even if all messages from configured mailboxes were expunged, then no messages are expunged and the user receives a "Quota exceeded" error.

Normally, a quota exceeded error is returned if saving/copying a message would bring the user over quota. With the trash plugin, the oldest messages are instead expunged from the specified mailboxes until the message can be saved.
If the new message is large enough that it wouldn't fit even if all messages from configured mailboxes were expunged, then no messages are expunged and the user receives a "Quota exceeded" error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant