On Tue, 28 Jul 1998, Wayne Pascoe wrote:

> Date: Tue, 28 Jul 1998 20:08:14 +0200
> From: Wayne Pascoe <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Sendmail and Named
> 
> Hi all... having a small problem with sendmail on my server. If I'm not
> connected to the internet and I send mail from a workstation using any smtp
> client, it takes forever to send to the server. If I stop named and try, it
> goes through instantly...
> 
> However, if I am connected to the internet and I try and send, it goes
> through instantly... Seems to be something is looking at named beyond the
> scope of my domain and causing it to take forever to do anything. If I'm on
> the net, named seems to pass this on.. Any idea how to make it accept the
> mail and deal with routing on it's own time ?

That's because named is trying to lookup to hostname of the e-mail adres.
If it is not connected, it needs some time to timeout (it can't connect
to the rootservers). Try running named only when you are connected. You
can do this by two scripts, if you use ppp:

=======================
/etc/ppp/ip-up

#!/bin/sh
/usr/sbin/ndc start

----------------------

/etc/ppp/ip-down
/usr/sbin/ndc stop

======================

Greetz, 


   Karel Bemelmans
   Narfum Inc. System Administrator

  [-- Contact --] -->  [EMAIL PROTECTED]
  [-- Website --] -->  http://www.narfum.org

   Windows 98 supports real multitasking - it can boot and crash
   simultaneously...

Reply via email to