1

Topic: Domain Aliases not working

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
0.9.6
CentOS Linux release 7.2.1511
MySQL
Apache
Yes

We have added domain aliases on some domains and they are not working:-

Jun 13 21:13:51 mailhub postfix/smtpd[7471]: NOQUEUE: reject: RCPT from unknown[162.211.122.230]: 454 4.7.1 <user@jubco.ca>: Relay access denied; from=<bounce-36356-4524356-35336-248@056195.com> to=<user@jubco.ca> proto=ESMTP helo=<f.056195.com>

Post's attachments

Aliases.JPG
Aliases.JPG 26.63 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: Domain Aliases not working

Could you please show me output of commands below?

cd /etc/postfix/mysql/
for cf in $(ls); do echo ${cf}; postmap -q 'jubco.ca' mysql:./${cf}; done

3

Re: Domain Aliases not working

[root@mailhub mysql]# for cf in $(ls); do echo ${cf}; postmap -q 'jubco.ca' mysql:./${cf}; done
catchall_maps.cf
domain_alias_catchall_maps.cf
domain_alias_maps.cf
recipient_bcc_maps_domain.cf
recipient_bcc_maps_user.cf
relay_domains.cf
sender_bcc_maps_domain.cf
sender_bcc_maps_user.cf
sender_dependent_relayhost_maps.cf
sender_login_maps.cf
transport_maps_domain.cf
transport_maps_user.cf
virtual_alias_maps.cf
virtual_mailbox_domains.cf
virtual_mailbox_maps.cf

4

Re: Domain Aliases not working

Could you please try this:

- Remove this alias domain first
- Add it back

5

Re: Domain Aliases not working

I skipped the domain validation part but I have removed and added it back in again..

6

Re: Domain Aliases not working

Does it work now?