1 (edited by AC 2015-08-12 22:20:00)

Topic: Alias domain

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? NO
- Related log if you're reporting an issue:
====

Hi, I understand that domain alias management is a feature of iRedMail Pro, as stated in the Features page:
"Alias domain support. Emails sent to user@[ALIAS_DOMAIN] will be delivered to user@[primary_domain]."

Anyway I need to create, just one alias, one time and then forget.
My questions:
- what are the configuration files/db tables i have to modify to enable this one alias domain?
- what postfix/dovecot features are used to enable this alias domains, so that I could find some more documentation myself?

Thanks.

----

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

2

Re: Alias domain

For SQL backends, it's simple. Just insert one sql record like this:

sql> USE vmail;
sql> INSERT INTO alias_domain (alias_domain, target_domain, active) VALUES ('alias_domain.com', 'primary.com', 1);

For OpenLDAP backend, it's way more complex than just one change.

3

Re: Alias domain

Great!
Thank you!