Link to home
Start Free TrialLog in
Avatar of oswaldofarith
oswaldofarithFlag for Ecuador

asked on

How to configure DNS to send mails to a partner's domain that is the same that our local domain

I'm working in a company that some time ago had to be divided in 2. So, now we have Company-1 and Company-2 and both are completely independent. Recently the other company choose a public domain name that is exactly the same that our Active Directory domain name and now when we send mails to them, it stucks in queue with a "Cannot connect to remote host" message.

How can I solve this?

Thanks in advance
Avatar of buddhole
buddhole

Remove the active directory domain name from the Exchange Recipient policies. Make sure you have your internet domain name listed in the recipient polices.
Possible Workaround: Open the Exchange recipient policies in the system manager, double click on the policy concerning the domain name of the client  and uncheck the option "This Exchange Organization is responsible for all mail delivery to this address."

The first suggestion is nicer/better if you ask me.
SOLUTION
Avatar of Nuno Martins
Nuno Martins
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oswaldofarith

ASKER

I'm not using Exchange and I don't want to rename the AD domain, so, it is possible to make a workaround using DNS only?
You had the name first, make them change it!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm using Kerio Mailserver for Windows Server 2003.

I get the point, so I will search in Kerio documentation.
Look at the optios for setting to use a smarthost for mail delivery, if possible for certain domains.
Buddhole,
Has you probably know that kind of settings that oswaldofarith is using on the internal domain, can bring him a lot of problems. What is happening is just one example. So recommending some one not to permanently resolve the issue, i don´t think is a good idea.
But the Admin of the system as the last word on the subject.

To resolve the issue without having to rename using kerio mailserver check this link:
http://www.securitypronews.com/it/networksystems/spn-21-20040217KerioMailServer.html

There you can see where you can create an SMTP/relay:
Relaying is configured under Configuration->SMTP Server

NM
What I had to do to solve this problem was to create a new domain without users, with the name of the other company (the same that I using in AD) and in the Forwarding option, mark "If recipient was not found in this domain, forward the message to another host" with the IP of the partners mailserver. Thanks to buddhole and the other guys for your help.