Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 17:20:20 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Ugo Paternostro <paterno@dsi.unifi.it>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DNS Cache+MX+SendMail = Host not found...
Message-ID:  <Pine.BSF.3.96.980422171910.8428e-100000@gdi.uoregon.edu>
In-Reply-To: <XFMail.980422110235.paterno@dsi.unifi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Apr 1998, Ugo Paternostro wrote:

> Yes, when my link is up ;-) If I try to send a mail to
> foo@anotherplace.some.domain when I'm not connected to my ISP, sendmail simply
> queues the mail (because of a failed DNS search, or a "no route to host" error
> if the name was cached).
> 
> The problem appears only when sendmail know that the host you're sending mail
> to has an MX, but it (sendmail) doesn't know anything about the MX. This may
> happen when I drop the PPP link because my DNS caches only the MX record, but
> not the address the MX is pointing to (maybe it caches both, but the latter
> expires).

Okay, that makes much more sense.

> Currently I have three solution:
> a. wait for the MX record in the NameServer cache to expire (loooooongggg...)
> b. restart the name server (but I loose cache contents)
> c. pester Doug White :-)

Suggestion:  Set up sendmail to always queue messages, then use `sendmail
-q' when you get connected to clean the queue out.  The name of the
feature escapes me but it should be in the mail archives or at
http://www.sendmail.org.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980422171910.8428e-100000>