From owner-freebsd-questions Fri Sep 20 8:56:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B757E37B401 for ; Fri, 20 Sep 2002 08:56:32 -0700 (PDT) Received: from relay02.cablecom.net (relay02.cablecom.net [62.2.33.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id C305743E6E for ; Fri, 20 Sep 2002 08:56:31 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.cablecom.ch (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by relay02.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8KFuUWs066158 for ; Fri, 20 Sep 2002 17:56:30 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: (from idefix@localhost) by snoopy.cablecom.ch (8.11.6/8.11.6) id g8KFuUW01115 for freebsd-questions@FreeBSD.ORG; Fri, 20 Sep 2002 17:56:30 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Fri, 20 Sep 2002 17:56:30 +0200 From: Hanspeter Roth To: Free BSD Questions list Subject: Re: Sendmail configuration question Message-ID: <20020920175630.A1068@gicco.cablecom.ch> Reply-To: freebsd-questions@FreeBSD.ORG Mail-Followup-To: Free BSD Questions list References: <20020919124619.GA6722@teddy.fas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020919124619.GA6722@teddy.fas.com>; from stanb@awod.com on Thu, Sep 19, 2002 at 08:46:19AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sep 19 at 08:46, stan spoke: > I find myself in a position where I need to set up sendmail in the following > fashion. I need it to deliver all (except machine local email) to a > smarthost. Now this _should_ be straightforward, except that at the moment I > can only access the machine by IP address, since the DNS server for our Have you tried DS[ip.of.smarthost]? > part of the merged company still does not have entries for the merged > domain name. Have you tried putting the hostnames in /etc/hosts? Maybe you can configure local DNS with two domains, one which is the hostname of your client and one which is the hostname of the smarthost. (Something like client.company1.com and smarthost.company2.com.) The domains probably need A and NS records. Then make the local DNS the first one in resolv.conf. -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message