Dear Russell,

Below is the report

host -t mx isaaviations.com
isaaviations.com mail is handled by 10 mx1.isaaviations.com.

host -t mx isaaviation.ae
isaaviation.ae mail is handled by 5 mx1.isaaviation.ae.

host mx1.isaaviations.com.
mx1.isaaviations.com has address 213.42.24.16

host mx1.isaaviation.ae.
mx1.isaaviation.ae has address 213.42.24.16

isaaviation.ae. domain works fine problem with isaaviations.com domain.

But my question when the host entry for the 2nd domain (isaaviations.com) exists in rcpthosts and locals file why show it do a DNS lookup?


Russell Simpkins wrote:
Mario Remy Almeida wrote:
Dear All,

How to I get a second domain working?

I already have 1 working domain with qmail-ldap

Added the 2nd domain to rcpthosts and locals files also added the user for the 2nd domain in LDAP database and even able to find the user with qmail-ldaplookup

But when I send email to the 2nd domain in the log it says to remote for the 2nd domain and says Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

Make sure that your dns is set up correctly. You can test using telnet

telnet seconddomain.au 25

Test this from your mail server. I'm pretty sure that qmail only uses dns and ignores /etc/hosts settings. So you have to have that new domain set up in your dns server. You can always restart qmail after you've added to rcpthosts.

Russ

Reply via email to