How to create a SMTP subdomain?

Basically, I have the following configuration:

  1. gw.foo.com: a non-domino gateway that handles all smtp traffic between the LAN and the Internet.

  2. srv1.foo.com: a domino server receiving from gw.foo.com all smtp mail addressed to user@foo.com.

  3. srv2.sub.foo.com: a domino server receiving from gw.foo.com all smtp mail addressed to user@sub.foo.com.

Both, srv1.foo.com and srv2.sub.foo.com are in the same network and belong to the same Notes domain.

Now, if a message from the internet is sent to a user@sub.foo.com, the message arrives at srv2.sub.foo.com, but is not delivered to the users mailbox (which is on srv2.sub.foo.com). Instead the message will be immediately routed to srv1.foo.com (using SMTP) where it enters a mail loop by routing the message back to srv2.sub.foo.com etc.

What might be wrong in my configuration? How do I correctly setup SMTP sub domains?

Subject: How to create a SMTP subdomain?

I cannot tell you what’s wrong because it could be a lot of things (configuration or even achitecture issue). But you can find what happens if you understand how Domino works, When a SMTP message arrives :- Domino check if the domain name is in the global domain document

  • If it is, it checks in the hidden view $Users to find the full name, for example “user@foo.com”.

  • If it doesn’t find, it looks for the name, here “user”

  • Then it opens the person document to check the mail server name and send the mail to this server.

Do the same :

1 - Open the $user view in the Domino Directory

2 - Look for “user@sub.foo.com” (I think you will not find it)

3 - If you find it, open the document, in the mail server, you have to find the name of the server “sub.foo.com”, in fact, the Notes name, server/servers/Org

I think you will not find the fullname in the 2nd line, because the person document is not update, you need to put the internet address in this document. If it’s not right, follow my 3 steps, and I think you will find what wrong (maybe you have a “smart host” in your configuration document, yours directories are not fully replicated…)

Hope this helps

Christian