Solved

Issues with Mail sent from Exchange to Lotus Notes, caught in routing loop

Posted on 2007-03-21
7
1,354 Views
Last Modified: 2013-11-17
We run MS Exchange 2003 SP2 (Amstel) and Lotus Notes 7.0.1 (SouthPaw). Both applications are running on Windows 2003 SP1 Servers.  Our Exchange server is our production mail server that is used by all our employees.  
The Lotus Notes server is set up for testing.  I have set up Lotus Notes to use our exchange server as a smart host to relay messages.  

I am able to send email with in Lotus Notes, to other Lotus Notes users.  I am able to send emails out of our network to yahoo accounts from with in Lotus Notes (using our exchange server to relay).  I am able to send emails from Lotus Notes to our exchange users with no issues.  

The problem lies when I try to send email from our exchange side to a user on the Lotus Notes side.  When the email is sent, I can see Lotus Notes server get the email, then relay the message right back to the exchange server.  The mail then gets caught in a loop that exchange eventually kicks out with the message:

<southpaw.domain.com #5.0.0 X-Notes; Error transferring to 192.168.120.40; Maximum  hop count exceeded.  Message probably in a routing loop.  >

I have the created DNS records, MX Records so that mail sent to the Lotus Notes domain gets sent to the Lotus Notes Server.  I don’t believe that there are any issues with the routing to the server as I can see the message arrive at the Lotus Notes server and then get relayed back.  I believe the issue is with name resolution on the Lotus Notes side.  It behaves like it doesn’t recognize that the email is for one of its own users, and just forwards it back to exchange.  I have tried replying to the message received on exchange, tried using the internet name setup for the users on Lotus Notes.  And tried using username/LotusNotes@Domain.com  

Here are the messages on the Lotus Notes server when the email is received and then forwarded back to exchange.  
03/21/2007 08:13:15 AM  SMTP Server: 192.168.120.40 connected
03/21/2007 08:13:16 AM  SMTP Server: Message 0048A018 (MessageID: <16D8AB73D343FD4FB95FA8A630B6FE1E850196@amstel.domain.com>) received
03/21/2007 08:13:16 AM  SMTP Server: 192.168.120.40 disconnected. 1 message[s] received
03/21/2007 08:13:16 AM  Router: Transferring mail to domain 192.168.120.40 (host 192.168.120.40 [192.168.120.40]) via SMTP
03/21/2007 08:13:16 AM  Router: Transferred 1 messages to 192.168.120.40 (host 192.168.120.40) via SMTP
03/21/2007 08:13:16 AM  SMTP Server: 192.168.120.40 connected
03/21/2007 08:13:16 AM  SMTP Server: Message 0048A07C (MessageID: <16D8AB73D343FD4FB95FA8A630B6FE1E850196@amstel.domain.com>) received
03/21/2007 08:13:16 AM  SMTP Server: 192.168.120.40 disconnected. 1 message[s] received
03/21/2007 08:13:17 AM  Router: Message 0048A018 transferred to 192.168.120.40 for UserName@IRLotusNotes.com via SMTP
03/21/2007 08:13:17 AM  Router: Message 0048A018 transferred to 192.168.120.40 for UserName/LotusNotes@irlotusnotes.com via SMTP
03/21/2007 08:13:17 AM  Router: Transferring mail to domain 192.168.120.40 (host 192.168.120.40 [192.168.120.40]) via SMTP
03/21/2007 08:13:17 AM  Router: Transferred 1 messages to 192.168.120.40 (host 192.168.120.40) via SMTP
03/21/2007 08:13:17 AM  SMTP Server: 192.168.120.40 connected
03/21/2007 08:13:17 AM  SMTP Server: Message 0048A0D5 (MessageID: <16D8AB73D343FD4FB95FA8A630B6FE1E850196@amstel.domain.com>) received
03/21/2007 08:13:17 AM  SMTP Server: 192.168.120.40 disconnected. 1 message[s] received
03/21/2007 08:13:18 AM  Router: Message 0048A07C transferred to 192.168.120.40 for UserName@IRLotusNotes.com via SMTP
03/21/2007 08:13:18 AM  Router: Message 0048A07C transferred to 192.168.120.40 for UserName/LotusNotes@irlotusnotes.com via SMTP
03/21/2007 08:13:18 AM  Router: Transferring mail to domain 192.168.120.40 (host 192.168.120.40 [192.168.120.40]) via SMTP
03/21/2007 08:13:18 AM  Router: Transferred 1 messages to 192.168.120.40 (host 192.168.120.40) via SMTP
03/21/2007 08:13:23 AM  Router: Message 0048A0D5 transferred to 192.168.120.40 for UserName@IRLotusNotes.com via SMTP
03/21/2007 08:13:23 AM  Router: Message 0048A0D5 transferred to 192.168.120.40 for UserName/LotusNotes@irlotusnotes.com via SMTP

Please let me know if you any additional information.
0
Comment
Question by:JasonLattin
  • 4
  • 3
7 Comments
 
LVL 63

Expert Comment

by:SysExpert
Comment Utility
You should make sure that the Internet name field is filled in the person doc in Notes, and that shold be the address that is being sent to from Exchange.

UserName@IRLotusNotes.com or UserName@southpaw.com if that is the Domain you are using for Notes.

actually normal usage might also be
first.last@IRLotusNotes.com etc.

I hope this helps !
0
 

Author Comment

by:JasonLattin
Comment Utility
The Internet address was set up as UserName@IRLotusNotes.com.  That was also shown as the reply to address on Exchange.  I tried changing the format to First.Last@IRLotusNotes .com.  But the same error occurs.  Lotus notes recieves the message from Exchange, waits for a second, and then forwards the message back to exchange.  The same loop occurs between the servers, and then exchange finally kicks it out of the loop.  Here is the info from the Mail Routing Events:

03/21/2007 01:08:22 PM  Mail Router started for domain IRLOTUSNOTES
03/21/2007 01:08:22 PM  Router: Internet SMTP host southpaw in domain Domain.com
03/21/2007 01:21:28 PM  SMTP Server: 192.168.120.40 connected
03/21/2007 01:21:28 PM  SMTP Server: Message 0064D7C8 (MessageID: <16D8AB73D343FD4FB95FA8A630B6FE1E8501EC@amstel.Domain.com>) received
03/21/2007 01:21:28 PM  SMTP Server: 192.168.120.40 disconnected. 1 message[s] received
03/21/2007 01:21:35 PM  Router: Transferring mail to domain 192.168.120.40 (host 192.168.120.40 [192.168.120.40]) via SMTP
03/21/2007 01:21:35 PM  SMTP Server: 192.168.120.40 connected
03/21/2007 01:21:35 PM  SMTP Server: Message 0064DAA0 (MessageID: <16D8AB73D343FD4FB95FA8A630B6FE1E8501EC@amstel.Domain.com>) received
03/21/2007 01:21:35 PM  Router: Transferred 1 messages to 192.168.120.40 (host 192.168.120.40) via SMTP
03/21/2007 01:21:35 PM  SMTP Server: 192.168.120.40 disconnected. 1 message[s] received
03/21/2007 01:21:36 PM  Router: Message 0064D7C8 transferred to 192.168.120.40 for First.Last@IRLotusNotes.com via SMTP
03/21/2007 01:21:36 PM  Router: Transferring mail to domain 192.168.120.40 (host 192.168.120.40 [192.168.120.40]) via SMTP
03/21/2007 01:21:36 PM  Router: Transferred 1 messages to 192.168.120.40 (host 192.168.120.40) via SMTP
03/21/2007 01:21:36 PM  SMTP Server: 192.168.120.40 connected
03/21/2007 01:21:36 PM  SMTP Server: Message 0064DAE9 (MessageID: <16D8AB73D343FD4FB95FA8A630B6FE1E8501EC@amstel.Domain.com>) received
03/21/2007 01:21:36 PM  SMTP Server: 192.168.120.40 disconnected. 1 message[s] received
03/21/2007 01:21:37 PM  Router: Message 0064DAA0 transferred to 192.168.120.40 for First.Last@IRLotusNotes.com via SMTP
03/21/2007 01:21:37 PM  Router: Transferring mail to domain 192.168.120.40 (host 192.168.120.40 [192.168.120.40]) via SMTP
03/21/2007 01:21:37 PM  Router: Transferred 1 messages to 192.168.120.40 (host 192.168.120.40) via SMTP
03/21/2007 01:21:42 PM  Router: Message 0064DAE9 transferred to 192.168.120.40 for First.Last@IRLotusNotes.com via SMTP
0
 
LVL 63

Accepted Solution

by:
SysExpert earned 500 total points
Comment Utility
Do you have a Foreign Domain document for your Excahnge server and A Global one for your Notes Domain ?

Did you check the conversions tab of your Global Domain DOc ?

0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:JasonLattin
Comment Utility
I do not have a Foriegn or Global domain setup.  I am not familiar with how to set these up or what are they are used for.  Can you refer me to some documentation or give me some info on these?
0
 
LVL 63

Expert Comment

by:SysExpert
Comment Utility
In the Notes Admin client - click on the help and do a search for
SMTP mail
and how to set it up correctly.

Also look for
Global Domain

There is plenty of info there.

0
 

Author Comment

by:JasonLattin
Comment Utility
I was able to get this working by searching the help file and by doing some experimentation.  I essentially created a Global Domain policy with the Domain name of the Lotus Notes server as the Global Domain.  And telling it to redirect mail from its own domain to its own domain.  I added a new domain with the same name.  Under the restrictions tab, I set the domain alias as the same domain as the lotus notes server.  Is that something that you have to do normally?  It seems weird that I had to basically trick the server into thinking that MyDomian.com = MyDomain.com.  I am not too familiar with Lotus Notes, so pardon my comments if I seem to be uninformed.
0
 
LVL 63

Expert Comment

by:SysExpert
Comment Utility
You do normally need a Global Domain and a normal Domain to route SMTP properly.

IT may seem a little weird but it does work.

Glad I cold help !
0

Featured Post

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now