1

Topic: Relay Domain issues

==== Required information ====
iRedMail     v0.9.3
iRedAdmin-Pro     v2.2.0 (MySQL)
Ubuntu trusty
Apach
yes
/var/log/mail.log
====
Domain setup to relay to another server
Jan 12 13:23:37 charizard postfix/smtpd[2845]: NOQUEUE: reject: RCPT from mail-wm0-f46.google.com[74.125.82.46]: 550 5.1.1 <allan@domain.tld>: Recipient address rejected: User unknown in virtual mailbox table; from=<allanice001@otherdomain.tld> to=<allan@domain.tld> proto=ESMTP helo=<mail-wm0-f46.google.com>
Jan 12 13:23:37 charizard postfix/smtpd[2845]: disconnect from mail-wm0-f46.google.com[74.125.82.46]


From Mysql (Though the domain got added using iredadmin-pro)
MariaDB [vmail]> select * from domain;
+------------------+-------------+------------+---------+-----------+----------+-------+-------------------------------+----------+---------------------------------------------------------------+---------------------+---------------------+---------------------+--------+
| domain           | description | disclaimer | aliases | mailboxes | maxquota | quota | transport                     | backupmx | settings                                                      | created             | modified            | expired             | active |
+------------------+-------------+------------+---------+-----------+----------+-------+-------------------------------+----------+---------------------------------------------------------------+---------------------+---------------------+---------------------+--------+
| domain.tld | North  | NULL       |       0 |         0 |        0 |     0 | smtp:smtp.domain.tld:25 |        0 | default_language:en_US;default_user_quota:0;max_user_quota:0; | 2016-01-12 18:16:05 | 2016-01-12 18:24:31 | 9999-12-31 00:00:00 |      1 |
+------------------+-------------+------------+---------+-----------+----------+-------+-------------------------------+----------+---------------------------------------------------------------+---------------------+---------------------+---------------------+--------+
2 rows in set (0.00 sec)

This server is a clean install.
Previous versions of iredmail didn't have this issue, has the postfix config changed in the new version?


Thanks

----

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

2

Re: Relay Domain issues

*) Do you have this account on server?
*) If not, try to set "backupmx" column to value '1'.

3

Re: Relay Domain issues

Hi ZhangHuangbin

These accounts don't exist on this server as it's meant to relay to a backend exchange server.

Even though this is on a clean install, the backupmx settings do not get set even though i see the front end accept the settings
DB is mariadb

https://mail.mydomain.com/iredadmin/pro … sg=UPDATED

also the entry in the db never gets changed for the backupmx value

4

Re: Relay Domain issues

Hi ZhangHuangbin

The backupmx works if i supply the exchange server ip address, but not the DNS name

5

Re: Relay Domain issues

It's required to use IP address instead of DNS name to avoid infinite loop.