Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

Creating a single outbound SMTP server for your Domino Domain

By Andrew Pollack on 03/24/2005 at 03:33 PM EDT

I get more questions about smtp routing than anything else. Here's some notes taken from a recent presentation I gave at LotusSphere 2005 that should help you resolve some of the problems. The idea here, is not to have all your Domino servers routing mail to the internet. Instead, let one machine do it, and block the smtp port on the others. That helps cut spam down, and prevents configuration issues resulting in accidental relaying.

Using a Single Internet Mail Gateway

Server Documents (all but the server that will route smtp):
Set “SMTP Listener” to Disabled
Set “Routing Tasks” to “Mail Routing” – but not “SMTP Mail Routing”

Create a “Foreign SMTP Domain” Domain Document
Route *.* to “OurFakeName”

Create a Connection Document
Type: SMTP
Source Server: The domino server with smtp
Destination Server: MAKE UP a name
Destination Domain: “OurFakeName”
Routing Task: SMTP Mail Routing

This method means you don’t even need TCPIP as a protocol on your other Domino servers, because the routing all happens using Notes RPC protocols to the one server with SMTP capability

What Really happens?

All the servers where SMTP Mail Routing is not a task, look for a route to send the mail. These servers see that *.* goes to the domain “OurFakeName” -- That’s the SMTP Domain Document’s Job. The router task on the servers see that one Domino server has a connection to the “OurFakeName” domain so they route the messages to that server -- That’s the connection document’s job. The server which is SMTP Mail Routing Enabled receives the mail in its INBOX and knows how to send SMTP mail directly, so it does.


  • text bubble icon

    Security Review

    How secure is your Domino environment? A security review doesn't have to be expensive to be helpful. If you're interested in finding out more, Contact Me.
  • There are  - loading -  comments....

    (by Ben Langhinrichs on 06/19/2009)
    Comment Loading


    Other Recent Stories...

    1. 09/02/2010Linux ext3 file system performance wierdnessI've had trouble off and on with a couple of Domino servers on linux. The server goes pear shaped and when I ssh in and look at the console, Domino is reporting drive errors. If you attempt to do anything on the OS at all, you quickly see that the whole file system has shifted into a "read-only" state. This is a bit like a car with a transmission problem shifting into "limp-home" mode. Needless to say, Domino doesn't like being unable to write to the disk. It has happened to me specifically with the most ...... 
    2. 08/31/2010A few tips for car sales people - if you ever want my business.I've been shopping for cars again. This one is a replacement for the spousemobile, so unlike the one for my daughter, this will be new. Having done a fair bit of shopping, here are some tips for you car sales people out there. #1. Do not bullshit me. I may know more than you think. It's just possible that I know how to build that car you're showing me. One lady insisted that I could ignore the EPA mileage sticker on a new Honda or Nissan (which happened to be what is on her lot) because (and I quote) ...... 
    3. 08/22/2010Creating a form generating tool that lets non-technical publshers create rich web formsI've been working on a tool for a client that wants to be able to create web forms to use on their site without learning any programming at all. At the same time, I don't trust any data from the browser side on a web site. I always assume that the browser side is open to hackers. That means any submitted form data has to be validated before it is accepted. Here's what I did... For publishing, I used the CKEditor, which is the web browser rich editor I've standardized on. For most web publishing uses, I use ...... 
    4. 08/13/2010That didn't take long. Oracle is suing Google over the use of Java. Is IBM next? 
    5. 07/20/2010IBM has invented the time machine - and not in a good way 
    6. 07/18/2010A lot of work, but something I've always wanted to do -- Fixing up a car for one of my kids 
    7. 07/13/2010Old Spice -- Their marketing team fully groks social media.  
    8. 06/22/2010Product Review: Plantronics Savi Office wireless headset 
    9. 06/16/2010Ed Brill has a blog. Peter O'Kelly has blog... 
    10. 06/15/2010How about Traveler for Desktop? 
    Click here for more articles.....


    pen icon Comment Entry
    Subject
    Your Name
    Homepage
    *Your Email
    * Your email address is required, but not displayed.
     
    Your thoughts....
     
    Remember Me  

    Please wait while your document is saved.