home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 86,596 of 87,272   
   Rich to Mike Spencer   
   Re: Sendmaail, resolv.conf, DNS   
   01 Mar 24 03:29:19   
   
   From: rich@example.invalid   
      
   Mike Spencer  wrote:   
   > The sendmail daemon's only task is to deliver outgoing mail to a   
   > smarthost with TLS and AUTH.   
   >   
   > At times, using wicd, I disconnect from the router and reconnect via   
   > wi-fi, using a cell phone served by ISP "B" as an access point.  Wicd   
   > replaces /etc/resolv.conf with one that references the nameservers of   
   > ISP "B".  Apps such as a web browser and Usenet news proceed as   
   > expected after the change but sendmail fails to deliver messages to   
   > the remote smarthost.   
   >   
   > Restarting sendmail fixes this.   
   >   
   > 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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca