Topic: Domain alias does not work
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04 (all patches installed)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello Zhang,
now in a new post.
Steps to reproduce the issue:
1. Create new domain with a mailbox. e.g. abcde.de
2. Now configure the domain to have an alias "abcde.com"
3. Now send an email to mailbox@abcde.com
I get following error message on my iRedMail installation:
Nov 14 08:10:40 mail postfix/smtpd[16963]: NOQUEUE: reject: RCPT from mail-wm0-f45.google.com[74.125.82.45]: 550 5.1.1 <info@abcde.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<xxx@gmail.com> to=<info@abcde.com> proto=ESMTP helo=<mail-wm0-f45.google.com>
abcde.com is an alias for domain abcde.de
Why is this happening? Postfix seem to igore the alias domain.
I can apply the workaround to create domain, mailbox and forward but I rather would prefer the alias domain to be working.
Thank you!
Best regards,
Bernhard
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.