How to set Domino as Internal Relay Mail Server (relay to email addresses with same address as local domain but is located on a different domain)

Hi all!

I want to configure my Domino Server to be able to relay messages to users who have email addresses that is the same as the local domain, but are really located in a different domain.

For example, I have 2 domains with the ff e-mail addresses:

Domino 1: @domino1.com, @domino.com

Domino 2: @domino.com, @domino2.com

For example, I have a user named ‘user’ that is existing on Domino 1, but not on Domino 2.

I want to send an email to that user using his email address ‘user@domino.com’.

What Domino 2 does is check first if the user is existing in its directory, then if not, relay to other servers.

What my current set-up does is that it only checks its own directory. If not found, then it gives an error message ‘user not existing’.

Hope you can help me!

Thank you!

Subject: Worked!

Hi Glen,

Thanks for that! Smart host worked! I set the IP of the SMTP server that I want to relay to.

Thank you!

Subject: two different things

Hi!

There are two different things.

  1. address validation

if you want to use address validation for incoming mail, server needs all address books (exp: directory assistance). So first you have to receive the message.

  1. routing

a.) You have a connection to “Domino 2” and “Domino 1” can read person record, it will automatical route the message to “Domino 2”

b.) in other cases

b.1.) use “relay host” entry in configuration document

b.2.) if it is possible to add a subdomain for “Domino 2 users” in directory of “Domino 2”, you may use a conversion from user@domino.com to user@server2.domino.com and define a connection to a “foreign smtp domain” (Domain document in directory).

good luck and best regards

Michael

Subject: can this be done without address book / person record?

Hi Michael, thanks for replying.

Can this be done without using Person Records / Address Books?

For example, if Domino does not see that the record is not existing, it will relay to a host that has the same address space?

Ex.

  1. Send to user@domino.com

  2. Domino does not find user@domino.com existing in own database

  3. Domino finds out that there is a foreign smtp domain that has same address space

  4. Domino relays to foreign smtp domain host

Thank you!

Subject: Smart Host

If you are relaying to another Domino server than Directory Assistance and Conection Documents is the best way to achieve this.

However, you can use a Smart Host to do what your asking. If you specify a Smart Host in your Configuration Settings then any mail address not found in the Local Domain will be forwarded to the Smart Host.

The Smart Host can be any SMTP server. It doesn’t have to be a Domino server.

If you search the Admin Help for Smart Host it will explian how to set this up.

Subject: Will try this

Hi Glen!

Thanks. Will try this and get back to you.

Subject: Tried setting up another foreign smtp domain

Hi!

Actually, I tried setting up a new foreign smtp domain in Domain 1 to see if it will re-route. I then send to user@domino.com which is only located in Domain 2.

Unfortunately, it did not. It still returns me with this error:

DELIVERY FAILURE: User user@domino.com not listed in Domino Directory

PS. domino.com is the Local Primay Internet domain for Domain 1, while domino.com is just an alternate internet domain alias for Domain 2.

Thank you