Topic: How to create new domains and users?
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 MYSQL edition.
- Linux/BSD distribution name and version: Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have set up iRedMail with a domain: mailsrv.mydomain.com, and things are working fine. How do I add new domains, then create new users on each of the new domains?
For example, I'd like to create a new domain support.mydomain.com, and a user on that domain: sarah@support.mydomain.com. Both support.mydomain.com and mailsrv.mydomain.com are on the same machine.
I'd like to perform this in a programatic/automated way, like executing a SQL statement, etc., if possible.
Thanks!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.