[GH-ISSUE #1717] Domain Admin cannot add users: Quota Limit Reached #1356

Closed
opened 2026-02-27 11:16:41 +03:00 by kerem · 11 comments
Owner

Originally created by @JPerryJr on GitHub (Apr 12, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1717

Impacted versions

  • Modoboa: 1.13.1
  • installer used: Yes
  • Webserver: Nginx
  • Database: Postgresql w/additional steps followed (Default, Trigger, etc)

Steps to reproduce

Create a domain (e.g. na.example.com)
Create multiple domain admins (e.g. bill@na.example.com, joe@na.example.com)
Log in as Bill@na.example.com and attempt to create a new regular user/mailbox. Mailboxes: limit reached

Current behavior

Error message "Mailboxes: limit reached" occurs when you hit submit.

Expected behavior

Add new regular user/mailbox.

Video/Screenshot link (optional)

image

image

image

Originally created by @JPerryJr on GitHub (Apr 12, 2019). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1717 # Impacted versions * Modoboa: 1.13.1 * installer used: Yes * Webserver: Nginx * Database: Postgresql w/additional steps followed (Default, Trigger, etc) # Steps to reproduce Create a domain (e.g. na.example.com) Create multiple domain admins (e.g. bill@na.example.com, joe@na.example.com) Log in as Bill@na.example.com and attempt to create a new regular user/mailbox. Mailboxes: limit reached # Current behavior Error message "Mailboxes: limit reached" occurs when you hit submit. # Expected behavior Add new regular user/mailbox. # Video/Screenshot link (optional) ![image](https://user-images.githubusercontent.com/32584892/56011369-eeadab00-5cac-11e9-9a88-e71ea5a82240.png) ![image](https://user-images.githubusercontent.com/32584892/56011409-1997ff00-5cad-11e9-8ab0-e0cda08f56c8.png) ![image](https://user-images.githubusercontent.com/32584892/56011544-ba86ba00-5cad-11e9-953d-85cbf55e1056.png)
kerem closed this issue 2026-02-27 11:16:41 +03:00
Author
Owner

@tonioo commented on GitHub (Apr 29, 2019):

@JPerryJr Can you check the limits defined for the user you're using?

<!-- gh-comment-id:487510272 --> @tonioo commented on GitHub (Apr 29, 2019): @JPerryJr Can you check the limits defined for the user you're using?
Author
Owner

@JPerryJr commented on GitHub (May 17, 2019):

I'm logged in as admin (superadmin) when I get the error. Is there another way to do this?

<!-- gh-comment-id:493598441 --> @JPerryJr commented on GitHub (May 17, 2019): I'm logged in as admin (superadmin) when I get the error. Is there another way to do this?
Author
Owner

@JPerryJr commented on GitHub (May 18, 2019):

I figured it out. I went back and set the resource limits to 999 as 0 does not appear to indicate unlimited.

Thx

<!-- gh-comment-id:493690098 --> @JPerryJr commented on GitHub (May 18, 2019): I figured it out. I went back and set the resource limits to 999 as 0 does not appear to indicate unlimited. Thx
Author
Owner

@jawwadnaeem commented on GitHub (Feb 12, 2024):

@JPerryJr Can you share screenshot of your settings that worked as i am facing the same issue

<!-- gh-comment-id:1938404566 --> @jawwadnaeem commented on GitHub (Feb 12, 2024): @JPerryJr Can you share screenshot of your settings that worked as i am facing the same issue
Author
Owner

@tcjn commented on GitHub (Dec 10, 2025):

Image Image

Seems like issue still exist - as domain administrator I cannot create new account due to above error. I was trying to set -1, 999 and result is the same.

<!-- gh-comment-id:3636856248 --> @tcjn commented on GitHub (Dec 10, 2025): <img width="820" height="816" alt="Image" src="https://github.com/user-attachments/assets/34192072-59a2-4e68-8bfe-2609ab157a60" /> <img width="1310" height="262" alt="Image" src="https://github.com/user-attachments/assets/9ab26d39-b0b7-4b11-8275-0b28cc631049" /> Seems like issue still exist - as domain administrator I cannot create new account due to above error. I was trying to set -1, 999 and result is the same.
Author
Owner

@tonioo commented on GitHub (Dec 10, 2025):

@tcjn And if you turn off the switch?

<!-- gh-comment-id:3636991522 --> @tonioo commented on GitHub (Dec 10, 2025): @tcjn And if you turn off the switch?
Author
Owner

@tcjn commented on GitHub (Dec 11, 2025):

@tcjn And if you turn off the switch?

Then it works, I am going to use unlimited approach. Just saying it's not resolved imho.

<!-- gh-comment-id:3642243731 --> @tcjn commented on GitHub (Dec 11, 2025): > [@tcjn](https://github.com/tcjn) And if you turn off the switch? Then it works, I am going to use unlimited approach. Just saying it's not resolved imho.
Author
Owner

@tonioo commented on GitHub (Dec 11, 2025):

@tcjn Ok, I'll take a look at this but at least you're not stuck.

<!-- gh-comment-id:3642326127 --> @tonioo commented on GitHub (Dec 11, 2025): @tcjn Ok, I'll take a look at this but at least you're not stuck.
Author
Owner

@tcjn commented on GitHub (Dec 11, 2025):

@tcjn Ok, I'll take a look at this but at least you're not stuck.

Thanks a lot ;)

<!-- gh-comment-id:3642912451 --> @tcjn commented on GitHub (Dec 11, 2025): > [@tcjn](https://github.com/tcjn) Ok, I'll take a look at this but at least you're not stuck. Thanks a lot ;)
Author
Owner

@tonioo commented on GitHub (Dec 16, 2025):

@tcjn Have you actually checked what are the limits defined AT the admin level directly? Because those global limits are only applied at account creation time

<!-- gh-comment-id:3660006899 --> @tonioo commented on GitHub (Dec 16, 2025): @tcjn Have you actually checked what are the limits defined AT the admin level directly? Because those global limits are only applied at account creation time
Author
Owner

@tcjn commented on GitHub (Dec 18, 2025):

@tcjn Have you actually checked what are the limits defined AT the admin level directly? Because those global limits are only applied at account creation time

I would say yes. IMHO by default it does not work as it should. I do not use them anyway so for me its not an issue ;-)

<!-- gh-comment-id:3669854473 --> @tcjn commented on GitHub (Dec 18, 2025): > [@tcjn](https://github.com/tcjn) Have you actually checked what are the limits defined AT the admin level directly? Because those global limits are only applied at account creation time I would say yes. IMHO by default it does not work as it should. I do not use them anyway so for me its not an issue ;-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1356
No description provided.