Topic: Alias domain with MySQL backend
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
I cannot find anything about adding an alias domain with mysql backend.
Example:
My server has hostname: mail.whatever.com
And hosts mails for the following domains:
@whatever.com (same as the host name)
@wherever.com
I need to create alias domains such as:
@somedomain.com -> @whatever.com
@anotherdomain.com -> @wherever.com
So that any email sent to test@somedomain.com is forwarded to test@whatever.com, and same for the other aliases.
And so on...
Is it that simple as doing:
sql> USE vmail;
sql> INSERT INTO alias_domain (alias_domain, target_domain) VALUES ('some domain.com', 'whatever.com');
?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.