Routing loop for some incoming emails to users whose mailfile is on another server

I have a rooting loop problem since Server1 has been upgraded from V5.0.4 french to V6.5 English

1/ The configuration :

Server1 V6.5 english on windows

Server2 V5.0.8 french on windows

Sharing the same Domino Directory (V6.5 english design), the servers are in the same Domino mail domain.

The mail domain name is the same as the Local primary Internet domain.

Server1 is connected to the internet.

Emails from the internet to people on Serveur2 are delivered to Server1 via SMTP, then transfered to Server2 via Router task.

Connections in both ways are from domain « mydomain.com » to « mydomain.com » with « Route at once if: 1 messages pending »

« Request the following when issuing a pull request » is set to :

  • « Server1 » in Server1 to server2 connection

  • « Server2 » And « local primary inernet domains » in Server2 to server1 connection

Server1 Basics Router/SMTP MailConfiguration is :

Number of mailboxes:

SMTP used when sending messages outside of the local internet domain: Enabled

SMTP allowed within the local internet domain: Disabled

Servers within the local Notes domain are reachable via SMTP over TCPIP: Always

Address lookup: Fullname then Local Part

Exhaustive lookup: Disabled

Relay host for messages leaving the local internet domain:

Local Internet domain smart host:

Smart host is used for all local internet domain recipients: Disabled

Host name lookup: Dynamic then local

2/ Problem description

When receiving email to people who have their mail file on Server1 it’s ok

When receiving email to people who have their mail file on Server2, sometimes, the mail is not delivered, and this non-delivery report is sent :

« Maximum hop count exceeded. Message probably in a routing loop. »

When I said that it happends « sometimes », it depends on the sender (sender domain, sender domain DNS, sender mailgate… I don’t know).

It’s the same names.nsf for both servers, so, it may be not a problem of mail server field in the user’s entry

3/ Here is an extract of verbose log on Server1 (I changed user and domain names and external IP) :

23/03/2004 10:36:56 SMTP Server: 192.168.1.254 connected

23/03/2004 10:36:56 SMTP Server: Originator: exp@externalserver.be

23/03/2004 10:36:56 SMTP Server: Recipient: USER@mydomain.com

23/03/2004 10:36:56 SMTP Server: Message 0034D223 (MessageID: C1256E60.00350DAB.00@mail.external.de) received from 192.168.1.254 size 1181 bytes

23/03/2004 10:36:56 SMTP Server: 192.168.1.254 disconnected. 1 message[s] received

23/03/2004 10:36:56 Router: Transfer to server SERVER2/MYORG is ready with 1 messages

23/03/2004 10:38:02 Router: Error transferring message 0034D223 via Notes to SERVER2/MYORG mail.box OFEF7EA3A8:9F214F57 ONC1256E60:0034D223 Maximum hop count exceeded. Message probably in a routing loop.

23/03/2004 10:38:02 Router: Transfer to server EXTERNALSERVER.BE is ready with 1 messages

23/03/2004 10:38:02 Router: Transfer thread 00000009 searching for work

23/03/2004 10:38:05 Router: Transferred 1 messages to EXTERNALSERVER.BE (host gg.external.de) via SMTP

23/03/2004 10:38:05 Router: [00000009] Transferring mail to domain EXTERNALSERVER.BE (host gg.external.de [194.195.196.197]) via SMTP

23/03/2004 10:38:07 Router: Message 0034EB9E transferred to gg.external.de for exp@externalserver.be from exp@externalserver.be OFF25450FD:BFB71AE4 ONC1256E60:0034EB9E Size: 2K via SMTP

It’s quite uneasy to test because it never happends from any of all my email addresses.

Any ideas? Does it come from server2 V5.0.8 french with a directory V6.5 english design?

Subject: routing loop for some incoming emails to users whose mailfile is on another server

I finally upgrade server2 to 6.5. So both servers are in the same version. But I still have the problem.

Making tests, I found something strange but interresting :

I enabled « Hold undeliverable mail » in Configuration Settings Document for server1. So when a mail gets in the routing loop, it stays in the mail.box file.

If I run « Final attempt to deliver Held Messages » agent on those documents, mails are resent and succesfully delivered. So I made a copy of this agent, and scheduled it to run every 10 minutes.

This solution is not good for me. I would like to use a standart configuration for that.

Any Idea about why the email cannot be delivered and is in a routing loop on the the first delivery attemp?

Subject: RE: routing loop for some incoming emails to users whose mailfile is on another server

Hi

I too have the same problem.

I have a domino server in gateway. Internet mail is received by gateway server and transferred to other domino servers.

Some mails getting bounced

2005/01/03 08:29:38 Router: Error transferring message 004F9BDE via Notes to ESYSIN2/IN/ESYS mail.box OF3533182A:71563822 ON86256F7E:004F9BDE Maximum hop count exceeded. Message probably in a routing loop.

This is clearly problem.

Receiving server is 6.5.3 and sending server is 6.0.4 .

Does any one have solution ?

Venkat.

Subject: RE: routing loop for some incoming emails to users whose mailfile is on another server

I having exactly the same problem. I’m on release 7.0. Does any one have an idea?

Subject: solution = maximum hops from 15 to 25 ???

I having exactly the same problem. I’m on release 7.0. Does any one have an idea?

:slight_smile: we too

We solved the problem with changing the value of maximum hops in the configuration document from 15 to 25.