Funny you should have this problem. I had squid die on me and the DNS
wouldn't work for a fit and yet I can ping it by dns name and everything yet
netscape and squid wouldn't work.
Found out the permissions on /etc/resolv.conf had 540 and when I changed
this to 544 it worked OK.. so all is working fine..

-----Original Message-----
From: Matthias Oertli [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 19, 2000 4:45 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] Sendmail problem


Hi

Today my sendmail server broke, out of the blue.

It runs on a dialup connection, so it just queues mail
coming from the internal network destined to an outside
address (run like this: sendmail -bd -om).

When the link is up I force a queue run by doing 'sendmail
-q'.

This has worked for months without a problem, but as of this
morning it doesn't anymore. Sendmail deferres all mail with
a hostname lookup failure:

Deferred: Name server: smarthost.domain.com.au: host name
lookup failure

The hostname it apparently can't resolve is that of the
smart relay defined in sendmail.cf like this
DSsmtp:smarthost.domain.com.au

However, that host resolves fine, I can ping it, etc. Not
only does it resolve through DNS, there is also an entry for
it in /etc/hosts just in case (and the ip's match :). So it
resolves regardless of the ppp0 interface being up or down.

If I change the smart relay host entry in sendmail.cf to
null (e.g. DS ), Sendmail delivers mail fine by connecting
directly to the destination mail host. DNS appears to work
there.

I'm at a total loss what the problem could be, so if anyone
could give me a clue I'd be grateful.

Regards,
Matthias

-- 
--------------------------------------------------
Matthias Oertli   [EMAIL PROTECTED]
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to