From: mds@bogus.nodomain.nowhere   
      
   Rich writes:   
      
   > Mike Spencer wrote:   
   >   
   >> It would be convenient to be able to query the sendmail daemon to see   
   >> what it was using as nameservers and avoid a restart if one isn't   
   >> needed.   
   >   
   > Not sure that is possible. Sendmail (and mail servers in general) are   
   > going to assume stable, static IP values, and so it is very doubtful   
   > there is any official way to ask the daemon what nameservers it is   
   > using. Reason being that in a static environment, there's no need to   
   > ever bother doing so.   
   >   
   > But, if the sendmail daemon's only task is to deliver outgoing mail to   
   > a smarthost, what about configuring sendmail with the IP address of the   
   > smart host? Then it won't need to do a DNS lookup to get the smart   
   > host's IP, and changing resolv.conf won't matter to it. All that will   
   > matter is that it can connect to that IP address via the current in use   
   > network path.   
      
   That's a good idea. I'm using the mailertable mechanism which, AIUI, is   
   distinct from the smarthost one. But I could put the IP address in   
   the mailertable & authinfo files, rebuild the corresponding .db files   
   and see if the problem goes away. Don't have to mess with sendmail.cf.   
      
   My mail provider is a mom&pop ISP that seems to jockey IP addresses   
   around from time to time but I can stay alert to that.   
      
   Having an unwelcome episode of vertigo just now so I'm not going to   
   try typing config files through the fog. I'll get to it.   
      
   Tnx,   
   --   
   Mike Spencer Nova Scotia, Canada   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|