1

Topic: Why can a domain admin change his quota?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.6
- Linux/BSD distribution name and version: Debian 8.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? v2.6.0 (MySQL)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

The user is part of the domain mydomain.org and he is domain admin for the domain hisdomain.org

He is however able to change his quota in the domain mydomain.org.

Can i forbid this?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Why can a domain admin change his quota?

I also tested this with the online demo and the behavior is the same. So, is this  by design?
In my opinion, it should not be the case.

3

Re: Why can a domain admin change his quota?

Hi Nikos, Sorry about this trouble.

nikos.frangakis wrote:

He is however able to change his quota in the domain mydomain.org.

Do you mean this normal domain admin can change the domain quota (not the user mailbox quota)? Could you please show me step-by-step instruction to reproduce it with online demo?

4

Re: Why can a domain admin change his quota?

ZhangHuangbin wrote:

Hi Nikos, Sorry about this trouble.

nikos.frangakis wrote:

He is however able to change his quota in the domain mydomain.org.

Do you mean this normal domain admin can change the domain quota (not the user mailbox quota)? Could you please show me step-by-step instruction to reproduce it with online demo?


create a new domain, e.g. quotatest-domain.eu
create a new user. test@quotatest-domain.eu
make this user domain admin of example.com
when the user logs in and goes to preferences, he is able to change his quota in quotatest-domain.eu.

5

Re: Why can a domain admin change his quota?

He's domain admin, why he cannot change his own quota?

6

Re: Why can a domain admin change his quota?

Oops, i misunderstood your explanation.

He is user of domain A, also an admin of domain B. but he can change his own quota (which is user of domain A).

This is definitely a bug, i will try to reproduce it and fix it quickly.

7

Re: Why can a domain admin change his quota?

Confirmed it's a bug of iRedAdmin-Pro. Will fix it later. Stay tuned.