Blog

Windows, SMTP, DNS and non-routing SMTP outbound error resolved - plus how


Tags :


I have encountered this error over the years numerous times on Windows.  The twist was (before I tell you all) is that it worked great on the LotusUserGroup servers for a long long time.  As some of you might know, I upgraded that server to Domino 7.0.1 and Quickplace 7 last week.

So after the upgrading mail slowly started building and not always going out to the Internet.  Internal mail was fine.  I couldn't think for a few moments why the upgrade would have changed anything in the mail routing.  Then it hit me.  The upgrade also included a hardware swap for better performance and the growth of the User Group itself.  I then had one of those famous epiphanies.  Windows, since the 2000 days has a technote that comes into play a lot here at the Data Center.  We usually find the time to use it after a machine goes from DHCP to a fixed IP and Domino has been loaded when it was in DHCP mode.  (Why that takes place is not the focus here and can be covered later).  So what happens is that the NameServer parameter in the registry does not get set with the DNS servers when you switch.  So the server cannot find DNS to send the mail , on a regular basis.  How Domino uses it is beyond me since some mail goes.

So I went in today and adjusted the registry under

\\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
TCPIP\Parameters

A quick restart of Domino, for grins even though the router task would have sufficed, and viola, mail went flying out.

You could also add DNSServer=Ip address to the notes.ini, but who would want to manually manage the servers like that?