We help IT Professionals succeed at work.

Exchange 2003 SMTP issue

Hello,

I recently created a domain trust between 2 domains.  We are having an issue on the newly trusted domain's exchange 2003 smtp server (companyb).  We are using a send-connector to an outside SMTP service for the newly trusted domain (companyb).  My issue is when we try to send email from the newly trusted domain to the main domain, the mail sits in the queue and usually just times out. From company B to company A.  Company A to company is very quick and working properly.

These 2 domains are located on the same LAN, and less the 1ms latency.  Am I missing something for the relay between the 2?  Any suggestions would be greatly appreciated.

All other outgoing mail to domains other than our internal domain are working properly and in a timely manner.

The domain names are companya.com and companyb.com (however company b's email domain is different than the active directory domain, it is companybworldwide.com)

Thanks
Comment
Watch Question

AkhaterSolutions Architect

Commented:
do you have a smart host configured at the SMTP virtual server level ? if so it could easily cause problems like this.

Commented:
You have to setup the DNS zone in each active directory so that one can forward DNS requests onto the other. So when Site A is looking for a mail server in Site B, it knows where to go. Also, make sure that the MTA's can relay off of each other on the smtp virtual server.

Author

Commented:
I do have an SMTP smart host configured, I do have the DNS zones forwarded from dns server to the other. How do I go about configuring the MTA's relaying to one virtual server to another
AkhaterSolutions Architect

Commented:
if you have a smart host configured at the SMTP Virtual server you have to create and SMTP connector and set the smart host at the connector level and remove the smart host from the virutal server

Author

Commented:
How do I configure a smart host at the virtual smtp server level?  I do have a smtp connector configured to a mail relay company.
AkhaterSolutions Architect

Commented:
ok then if you have a smart host at the smtp connector lever this is correct.

Can you give me more details what did you do to route emails between the 2 echange servers?

Author

Commented:
I have nothing configured to route emails between the 2, which is more than likely my problem.  How should it be configured.

Currently I use the smtp send connected, configured to a smart host for all domains. (*) with a cost of 1.
Solutions Architect
Commented:
create another SMTP connector with address space of otherdomain.com cost 1 and configure it to use smart host the other exchange server

Author

Commented:
Mail is still delayed when doing so.  I have the smtp connectors created.
AkhaterSolutions Architect

Commented:
when you say emails are delayed, in which queue they are stuck in ?

Author

Commented:
The smtp connector queue

Author

Commented:
Email from companya to companyB is instant.  But company B relayed through company takes some time.
Commented:
on the smtp virtual server on each mta go to the ACCESS tab and click on Relay - put the IP address(s) in here for the machines that need to relay to one another.. also, on the server itself go to properties and turn up diagnostic logging on the MSexchangeTransport (probably want to increase the queuing engine and smtp) in case we need to troubleshoot further

Commented:
i'd remove the connector - i dont think it is necessary. since the domains are different, DNS is what will route the mail and not a connector.
AkhaterSolutions Architect

Commented:
which connector the second one you have created ?

Author

Commented:
The connector that I am using it to a connector from CompanyB to companyA main exchange server.  It still is delaying messages and not relaying quickly.  Is there anything else I could check
AkhaterSolutions Architect

Commented:
can you telnet from this exchange server to the companyb exchange server port 25 ?

do you have exchange server of companyb as smart host relay ?

you say it is not relaying quickly does it mean that the emails will get delivered eventually ?

Open ESM and go to the queues select the queue that is in retry state what is the last error?
also check eventviewer, are certain messages stuck or all. Are using postini or message labs for clean smtp relaying or is it another company.  Also what about forest trust in AD

Author

Commented:
I am using socketmail as the relay, I also have a domain trust between A and B.  However mail relayed through companyA exchange from company B is now ending up in the following queue"messages with an unreachable destination"
500 errror  make sure the setting for the connector are the same.i had this problem.  I dont have exhange running here but i think it is the properties of the smtp.  But at another place we used mxtoolbox  and i had to make both relays identical. i know this seems like a really simple answer but sometimes we overlook things. ill research this a little more. If that doesn't work just post back and well try something else

Author

Commented:
I basically want to use an SMTP connector for mail going to everything but companyA.com because there is no sense in sending it out of the network and back in.

However through either smtp connector the same issue happens, mail being super delayed and sitting in the Queue.

Anyone know where I can check the logging for MSexchangetransport, I have enable it.