SMTP Relaying

A Domino server (Server A) receives Internet mail for abc.com and must pass that mail to Server B (Server B, belongs to another division using MS Exchange, and a separate Internet email domain) internally via SMTP instead using a connector application. Server B is behind the firewall and out of contact with the Internet. Server A receives SMTP mail for jdoe@abc.com and looks for him in the Domino directory. It decides that that "abc.com" mail should go to Server B. The problem is that all of your Domino servers in the Domino domain use Server A to route SMTP addressed mail to all Internet domains. Therefore, Server A also has this route configured and loops mail on itself before returning a delivery failure to the sender with no way to route to abc.com.

We can work around this:

1) On Server A, set the Mail System (in the Person doc) to be "Other Internet Mail" and the Forwarding address field as jdoe@ServerB.yourcompany.com.

2) Set the first entry in the Username field of the Person document (Server A) to be jdoe@abc.com. This ensures that Notes type-ahead and Notes name resolution will use SMTP syntax when looking up a name for internal memo creation.

3) Set up a Foreign SMTP domain for ServerB.yourcompany.com

4) Setup a connection document using the Foreign SMTP Domain name in the Destination Domain field with the SMTP MTA Relay Host field set to ServerB.yourcompany.com.

Now, Internet mail for jdoe@abc.com comes to Server A, sees his forwarding address as ServerB.yourcompany.com, and sends the mail over to Server B since Server B is known as a Relay Host, though it is not really relaying in this case. On Server B, "jdoe" is found and mail is delivered.

When jdoe sends mail out, his address is assigned on Server B (his mail server), not Server A, and keeps this address as it passes thru Server A on it's way to the Internet. His recipient sees the proper Internet email address, jdoe@abc.com, ensuring that Internet recipients and your company's email users (if it's internal mail delivery) always see the sender as jdoe@abc.com.

This was first published in May 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.