Topic: Mail alias not propagated to alias domains
==== Provide basic information to help troubleshoot and get quick answer ====
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version: CentOS 6 i386
====
Hi,
When you add mail aliases to a domain, they are only working for the alias domains if you create the alias domain after creating all mail aliases.
E.g. suppose you have defined in iRedAdmin Pro a domain "mydomain.com".
You define an alias domain "mydomainalias.com" for "mydomain.com".
You then define a mail alias "myalias@mydomain.com".
The problem is now that if you try to send mail to myalias@mydomainalias.com postfix gives a 5.1.1 error that the user is not known in the virtual mailbox table.
However, if you define the alias domain last, myalias@mydomainalias.com works fine:
E.g. suppose you have defined in iRedAdmin Pro a domain "mydomain.com".
You define a mail alias "myalias@mydomain.com".
You then define an alias domain "mydomainalias.com" for "mydomain.com".
In this case, the virtual mailbox table works fine and mail to myalias@mydomain.com arrives correctly.
So I think there could be something missing in the iRedAmin Pro backend code which creates mail aliases (it only creates mail aliases for the domain itself and not for the domain aliases).
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.