Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users can create infinite mailboxes #512

Closed
titanism opened this issue Oct 4, 2023 · 2 comments
Closed

Users can create infinite mailboxes #512

titanism opened this issue Oct 4, 2023 · 2 comments

Comments

@titanism
Copy link
Contributor

titanism commented Oct 4, 2023

Hi @andris9 just sharing that we looked at on the handler for onCreate and don't see that it prohibits users from creating an infinite amount of mailboxes nor does it check the user's current quota.

@titanism
Copy link
Contributor Author

titanism commented Oct 4, 2023

@andris9
Copy link
Member

andris9 commented Oct 4, 2023

Yeah, all these limits are implementation-specific. The test server instance uses Arrays, and you have to consider issues like running out of memory if the array grows too large, but WildDuck itself stores mailboxes as database entries, and these are not hard-capped like Maildir folders, where you need to count inode values. There probably should be some sanity check limit, though. Maybe as well 10k like Gmail, or 100k, I'll add this to our JIRA backlog (WildDuck development happens mostly off-Github).

@andris9 andris9 closed this as completed Oct 4, 2023
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

No branches or pull requests

2 participants