diff --git a/core/admin/mailu/manage.py b/core/admin/mailu/manage.py index 462bce67..c39fc1b6 100644 --- a/core/admin/mailu/manage.py +++ b/core/admin/mailu/manage.py @@ -96,7 +96,8 @@ def domain(domain_name, max_users=-1, max_aliases=-1, max_quota_bytes=0): """ domain = models.Domain.query.get(domain_name) if not domain: - domain = models.Domain(name=domain_name) + domain = models.Domain(name=domain_name, max_users=max_users, + max_aliases=max_aliases, max_quota_bytes=max_quota_bytes) db.session.add(domain) db.session.commit()