Multiple SMTP relay hosts

Had a strange issue at a customer yesterday. The customer is running a set of clustered SMTP devices for inbound and outbound SMTP relay and we had added both IP addresses of these clustered devices to the relay server field on the Configuration document of both their clustered Domino servers. Yesterday one of the clustered SMTP devices went down but unfortunately Domino didn’t immediately switch to the other SMTP device. Doing a “tell router status” indicated that the router task was waiting for the device to come back up. As it was it looked as though it was unaware of the second entry for the SMTP relay server.

The Domino Administrator help file states under “Configuring multiple relay hosts”:

To enable greater control over outbound message routing, you can configure multiple relay hosts. Using multiple relay hosts enables Domino to route mail addressed to certain Internet domains to certain relay hosts, without first performing a DNS lookup. For example, you can split external SMTP mail routing so that Domino routes all outbound Internet mail along one path, except mail addressed to a specific domain, such as *.acmepartner.com, which it sends through a specific SMTP server.

To configure multiple relay hosts, create a Foreign SMTP Domain document for each set of destinations, and then create SMTP connection documents to match these foreign SMTP domain documents. For example, using the previous example, you would create one Foreign SMTP Domain document for *.* and another for *acmepartner.com.

From the description I gather that Domino only can use one relay server and it you have multiple relay hosts you can only distribute the traffic among the servers based on domain name matches e.g. all .dk and .net traffic to one server and the rest to the other. But that’s load balancing and not failover.

Fortunately the customer have some intelligent network switches where you can define a logical interface (which is the one you would specify on the Configuration document) and have the switch distribute the traffic to the multiple devices based on which devices are up (the switch senses which of the devices respond to SMTP). Hence the switch does the failover and not Domino. This approach works but I was expecting Domino to provide this kind of functionality.

New on developerWorks Lotus: Composite applications page


This morning, we launched a new Composite applications page on developerWorks Lotus, featuring links to all composite application content we could find on IBM.com including articles, tutorials, Redbooks, and more.

We hope that this page provides a good introduction to composite applications and serves as a starting point for building your own composite apps. We'll add to the page as new content becomes available, so check back once in a while.

New on developerWorks Lotus: Composite applications page

Regarding the Domino 7 freetime webservice

On 24 September 2005 I blogged about a freetime web service for Domino 7 (Freetime WebService) which was available for download from Passport Advantage. Now (17 April 2007) there is an article on developerWorks (Using and modifying the IBM Lotus Domino V7 Free Time Web service) on how to use it. It appears you have to install a server task as well.

And guess what – the article uses Stubby by Julian

Lotus Connections and FeedDemon 2.5 RC1

I’m now on the Lotus Connections site and I think it’s great. Looks very promising though I haven’t played enough with it yet. I very much like the Dogear functionality though I need to find a blog to post links to it from FeedDemon as I do with del.cio.us using the “blog this” functionality. It appears there is an API so it should be fairly easy to figure out.

I haven’t Googled it yet so someone might already have figured it out.

Also – upgraded to FeedDemon 2.5 RC1 without any problems. I have been running the betas since beta 1 without any issues what so ever (apart from occasional hangs which I blame on IE 7 more than FeedDemon). If you’re not already using FeedDemon you really owe it to yourself and your feed reading to check it out.

RegexBuddy

I’m really in love with regular expression or regex for short and I find myself using them more and more in my day-to-day programming. When writing and testing them I have previously been using on-line tools (like this) but recently I bought RegexBuddy which I can really recommend. It loads fast, makes it easy to write, test, debug regular expressions and copy the regex to the target programming language automatically handling escaping strings for that particular programming language. Nice!

Best 30 Euros I have spent in a while.