From owner-freebsd-questions Mon Dec 28 20:58:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA16430 for freebsd-questions-outgoing; Mon, 28 Dec 1998 20:58:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA16425 for ; Mon, 28 Dec 1998 20:58:47 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id PAA02054; Tue, 29 Dec 1998 15:28:04 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id PAA33077; Tue, 29 Dec 1998 15:28:06 +1030 (CST) Message-ID: <19981229152806.D32696@freebie.lemis.com> Date: Tue, 29 Dec 1998 15:28:06 +1030 From: Greg Lehey To: "G. Adam Stanislav" , freebsd-questions@FreeBSD.ORG Subject: Re: "Domain must exist" References: <3.0.6.32.19981228225134.0088e4b0@mail.bfm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <3.0.6.32.19981228225134.0088e4b0@mail.bfm.org>; from G. Adam Stanislav on Mon, Dec 28, 1998 at 10:51:34PM -0600 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 28 December 1998 at 22:51:34 -0600, G. Adam Stanislav wrote: > Hello, this is my first post here. > > I have recently installed FreeBSD 2.2.8-RELEASE. I have the domain > whizkidtech.net, so I entered it as my domain. I entered "whizkid" as my host. > > Now when I try to send out mail, localhost sends it to > whizkid.whizkidtech.net. It is then sent to whomever it is addressed to. > But it is refused because "domain must exist." > > Of course, whizkid.whizkidtech.net is not listed on any DNS. > Whizkidtech.net is, but that is where my web site is, on another system, in > another state. Well, that's the reason. > So how do I tell my system to use whizkidtech.net rather than > whizkid.whizkidtech.net for outgoing mail. Find the following lines in /etc/sendmail.cf: # who I masquerade as (null for no masquerading) (see also $=M) DM Change it to: # who I masquerade as (null for no masquerading) (see also $=M) DMwhizkidtech.net > Temporarily, I have changed the hostname to whizkidtech.net in my > rc.config and my new mail is getting through (although the old mail > is still stuck in the queue). But that means that two different > computers in two different states now have the same host name. Well, no, in fact no computer has that host name: $ nslookup Default Server: freebie.lemis.com Address: 192.109.197.137 > set type=any > whizkidtech.net Server: freebie.lemis.com Address: 192.109.197.137 Non-authoritative answer: whizkidtech.net nameserver = NS85.PAIR.COM whizkidtech.net nameserver = NS0.NS0.COM Authoritative answers can be found from: whizkidtech.net nameserver = NS85.PAIR.COM whizkidtech.net nameserver = NS0.NS0.COM NS85.PAIR.COM internet address = 209.68.1.179 NS0.NS0.COM internet address = 209.197.64.1 This means that the domain is known, but there is no system with that name. > What do I do??? Get the people at pair.com and nso.com to add MX and A records for whizkid.whizkidtech.net. You'll have to tell them your IP address. You also don't need to change your sendmail.cf in this case. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message