Another SMTP routing question

Sorry to keep asking these questions but I thought I knew this stuff but …

We have an SMTP server here in the UK which all our UK servers route external mail through (using NRPC internally only) using a Foreign SMTP Domain document and a connection document to that from the SMTP server - all works well.

We now have a new server overseas which talks fine to all servers here using NRPC (via VPN) so internal mail works back and forth not problem. However …

We want external (internet) mail from users on the foreign server to route straight out of itself (it’s connected to the Internet) rather than routing via the UK SMTP server as the UK servers do.

We’ve enabled the “SMTP used when sending messages outside of the local internet domain:” setting in it’s configuration so shouldn’t it just route any external mail directly itself? It’s still trying to send it to the SMTP server here in UK and yet the help on the this setting says “use SMTP if enabled, use Foreign SMTP Domain and connections documents and Notes Routing if not” … I’m confused and could do with some clues on this one.

Thanks!

Subject: Another SMTP routing question

Hi, now it comes quick and dirty, so there will be perhaps a better way…Your problem is the smtp domain document. Your foreign server uses it like your others servers do and so all mails are pushed to your UK server.

So don´t let your foreign server see this document and the server will sent the mails directly to internet.

I right clicked the foreign domain doc on another server than the foreign server and opened the key tab. There you can define who can read the document. I defined all servers, except the one who should not see the document (your foreign). Don’t forget to define yourself or a LocalAdmin group to see the doc. After this i deleted the document at the foreign server and replicated via console. Dont replicate via notesclient because then you are replicating with your rights and delete the document on the other servers.

The situation should be: All servers except the foreign should have the smtp domain document. So your server has no other choice than to route directly to internet.

Remember: Quick and dirty

Subject: RE: Another SMTP routing question

Hi Carl, thanks for idea … as you say a bit quick and dirty but workable however … I think I’ve found a better answer! :wink:

There’s an .INI variable RouterIgnoreForeignSMTPDomains that if set to 1 does exactly what it says and makes the server ignore Foreign SMTP Domain documents. This isn’t documented as far as I can see for v6 or above but does seems to work!

So all working fine here - give it a try there, saves having to mess with internals of names.nsf docs.

Now I’ve just got to work out why the server when sending out external mail is first converting “Mime to CD” then back “CD to Mime” then sending it out!