Topic: Alias domains with different alias addresses
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 14.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql 5.5.44
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? No
====
Hi
I have a main domain (DOMAIN.COM) and an alias domain (ALIAS.COM)
Let's say I have two users user1@DOMAIN.COM and user2@DOMAIN.COM.
I'd need to deliver messages sent to list@DOMAIN.COM to user1@DOMAIN.COM, and messages sent to list@ALIAS.COM to user2@DOMAIN.COM.
For the alias "list@DOMAIN.COM" there shouldn't be any problems, but I can't get "list@ALIAS.COM" working.
I tried using these combinations in the alias table (vmail database), but all ended in the catch-all mailbox:
TEST #1
address: list@ALIAS.COM
goto: user2@DOMAIN.COM
domain: DOMAIN.COM
TEST #2
address: list@ALIAS.COM
goto: user2@ALIAS.COM
domain: DOMAIN.COM
TEST #3
address: list@ALIAS.COM
goto: user2@DOMAIN.COM
domain: ALIAS.COM
TEST #4
address: list@ALIAS.COM
goto: user2@ALIAS.COM
domain: ALIAS.COM
So, it seems it's not possible to have an email address that's specific to an alias domain...
I hope that I'm wrong, otherwise I'd have to promote ALIAS.COM to it's own domain (instead of being an alias of DOMAIN.COM), but that's not feasible due to our (rather complicated) structure and the number of user/rules we have.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.