SMTP outbound mail routing problem

I have 3 servers in single Domino domain. All servers are connected with notes routing, SMTP between servers is not allowed.

Server A - internal server in LAN, no direct connection to the Internet, users have *@domain1.com addresses

Server B - server in DMZ, directly connected to the Internet, users have *@domain1.com addresses (same as server A)

Server C - server in the remote site, directly connected to the Internet, users have *@domain2.com addresses

DNS MX record for domain1.com points to Server B

DNS MX record for domain2.com points to Server C

Inbound mail for users on server C (@domain2.com) and server B (@domain1.com) is delivered directly

Inbound mail for users on server A (*@domain1.com) is delivered to server B, then forwarded to server A by means of notes routing

So, inbound mail is OK.

The problem is with outbound mail to non-local (Internet) recipients only.

I want all external mails from server B and C to be sent directly to the Internet. I also want all external mails from server A to be forwarded to server B first (by means of Notes routing - there is no SMTP allowed between servers!), then server B should send it to final destination.

How should I configure foreign SMTP domain and connection documents to achieve this scenario?

Thank you in advance.

PS: Administrator’s help was not helpful, it only considers single Internet connection, while I need two - from servers B and C.

Subject: Found solution!

Let me describe the problem first. I created SMTP foreign domain doc for . with fictious domino domain name; created SMTP connection document, source is server B, destination domain as in SMTP foreign domain.

After that server B works with Internet directly, server A and C both forward mail (notes routing) to server B where it sends it with SMTP.

In order to force server C to send SMTP mail directly to the Internet, I created another pair of foreign SMTP document for . with another fictious domino domain name and SMTP connection document for server C. However, server C ignored this pair and continued to send outbound mail through B.

The solution I found is: I created onle more SMTP connection document for server C with destination domain name same as I used for server B, but I set higher routing cost for this connection. Replicated directory, tell router update config - and voila! now external mail works as necessary: directly from servers B and C, and server A forwards external mail to B using notes routing.