Multiple SMTP's

Is it possible and if so how would it be implemented?

I would like to have multiple SMTP’s with both in-coming and out-going mail in one Domino Domain. Is it possible to have specific mail servers route to a specific SMTP with fail over to the other automatically. This would be over a WAN so clustering is not an option.

Subject: Multiple SMTP’s

If you use SMTP as your routing protocol failover can be established via your mx record priority for inbound SMTP.

Specific routes can be established in the same Notes domain using (NRPC) using a combination of connection documents and DNNs.

Subject: RE: Multiple SMTP’s

I understand the MX failover for inbound.

So I would need to have anothe NNN and then set up connection doc’s using NRPC and cost routing? Would that mean the servers wouldn’t necessarily route internal mail directly to each other unless I setup routing docs for every server? Would that also include mail intended for the internet?

Thanks

Subject: RE: Multiple SMTP’s

Ron,If you are wanting mail to take a specific path then you will need to put servers in different DNNs (NNNs). And specify how one DNN routes to another via connection documents.

You don’t need to create connection documents for servers in the same DNN. If you do create multiple connection documents with in the same DNN then the default route will be based on priority, and/or routing cost and alphabetical order by server name.

You will also need to specify which servers are allowed to send SMTP mail on the server’s configuration document. You may also need to create SMTP connection documents for your Domino servers that don’t have SMTP enabled so that they know which SMTP server to use.

Another option is to turn off NRPC between servers and only use SMTP mail routing; However this would be a problem if you are using calendaring.

Subject: RE: Multiple SMTP’s

Thanks Rob,

I will create 2 NNN each will have an SMTP and really the only thing I want the server in each network to do is this. If the Mail server is in one NNN then send all internet mail to the SMTP in that NNN. If that SMTP is unavailable then Send to the other SMTP in the other NNN.

If so I am assuming that I have to use cost routing and if I do will I then have to create connections to all server regardless if they are in the same NNN for SMTP and NRPC or just SMTP?

Subject: RE: Multiple SMTP’s

Ron,You don’t have to create conneciton documents to every server. At a minimum one server per DNN. That connection would get used by all servers of that DNN to communicate with servers in your other DNN.

i.e. two DNNS: DNN1 = serverA and serverB, DNN2 = serverC and ServerD.

mail routing connection document from serverA to serverC.

If a message is sent from serverB to ServerD this is the path: ServerB->ServerA->serverC->ServerD.

The above example uses only one conneciton document. (keep in mind mail routing is push only, so you would need a connection back the other way)

If you do create multiple connections between DNNs you can further refine the route by adjust the routing cost.

You will want to only enable SMTP (“SMTP used when sending messages outside of the local internet domain:” in the configuration document)on your two SMTP servers.

In addition you will need to create a foreign SMTP domain document. “Internet Domain” . domain name TheInternet. (this tells your non-SMTP Notes server how to get to the Internet and is linked to a SMTP connection document via the domain name TheInternet, from the foreign SMTP domain document)

Lastly, you will need to create SMTP connection documents for your SMTP servers. Source server is self explainitory and “The desination domain” is where the “TheInternet” (linkage to foreign SMTP document)goes.

The configuration above would need to be altered slightly if you plan to relay through another SMTP host. On the connection document one would put the relay server in the “SMTP MTA relay host:” field.

Hope this helps

Subject: RE: Multiple SMTP’s

Thanks Rob again for all your help. Would you mind e-mailing me so we could talk a little further on this? rfarhat@gpjco.com

Subject: RE: Multiple SMTP’s

Would it be possible to forget the Domino SMTP and use a third party as the SMTP? What changes would I need to make to this config?For all other mail servers in the “NNN” will I still need an SMTP connection doc with cost routing to both SMTP’s to have failover automatically if one goes down?

Here is an example of my config. for the scenario we did before.

  1. Global domaino doc–setup

  2. (SMTP ServerA)1st NNN “TCPIP” Foreign SMTP Domain

Internet Domain:. Domain name:SMTPUS

3.Connection Document on SMTP ServerA

Connection type:SMTP

Source server: SMTPA

Destination server:INTERNET

Destination domain:SMTPUS

SMTP Server C

1st NNN “TCPIPCP” Foreign SMTP Domain

Internet Domain:. Domain name:SMTPCP

3.Connection Document on SMTP ServerC

Connection type:SMTP

Source server: SMTPC

Destination server:INTERNET

Destination domain:SMTPCP