How do I add unlimited domains and mailbox to the add admin API call? I tried 0 and -1 they don’t work. Is there a different variable I can use?
Domain admins can’t add new domains, they can only manage the domains they got assigned. The Number ob Mailboxes depends on the setting for the corresponding domain.
Okay and is there a way to add unlimited mailboxes to the domain using the API with a variable?
As far as I know that’s not possible. Use a large number like 10.000 instead.
Okay, I’ll put in some feedback. You should just be able to use 0 for unlimited instead of having to write in a large number. I thought you could do this in previous versions but I guess not.
Looks like someone already beat me to it: mailcow/mailcow-dockerized#71 but for some reason it was never implemneted.