Topic: domainBackupMX problem in iRedMail-0.8.6
======== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====
Hi Zhang,
I have a problem after upgraded to iRedMail-0.8.6. I modified transport_maps_domain.cf following the upgrade howto on one of our business partners mail server (mail.partnersdomain.com) where I am admin. The server logged the following error message in /var/log/maillog:
Jan 7 10:17:58 mail postfix/smtp[12011]: ABFAD39800B7: to=<partner@relayedhost.partnersdomain.com>, relay=none, delay=0.56, delays=0.45/0.1/0.01/0, dsn=5.4.6, status=bounced (mail for relayedhost.partnersdomain.com loops back to myself)
The domainBackupMX=yes and mtaTransport=smtp:[192.168.1.10]:25 attributes were enabled for relayedhost.partnersdomain.com in LDAP tree. 192.168.1.10 is IP address of relayedhost.partnersdomain.com.
When I delete the domainBackupMX attribute, comes the following message in maillog:
Jan 7 10:26:33 mail postfix/smtpd[9640]: NOQUEUE: reject: RCPT from mail.mydomain.com[192.0.2.5]: 550 5.1.1 <partner@relayedhost.partnersdomain.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<suto@mydomain.com> to=<partner@relayedhost.partnersdomain.com> proto=ESMTP helo=<mail.mydomain.com>
The mail.partnersdomain.com is really not a backup MX server, but the relay_domains.cf requires the domainBackupMX attribute for the relaying.
(Logs are anonymized.)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.