Create an iRedMail Domain Admin

From KlavoWiki
Revision as of 08:52, 5 July 2016 by David (Sọ̀rọ̀ | contribs) (Created page with "To create an administrator that can only administer a particular domain. Create the user as normal. As an example we'll create a user called her@justme.com. Once the user h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To create an administrator that can only administer a particular domain. Create the user as normal. As an example we'll create a user called her@justme.com. Once the user has been created.

Open SQL CLI into vmail database.

mysql -pMyLongandComplexSQLPassword vmail

Set the isadmin parameter for the required user.

update mailbox set isadmin=1 where username='her@justme.com';

Set the user as a domain admin.

insert into domain_admins (username, domain, created) values('her@justme.com', 'justme.com', now());