From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 14:30:49 2003 Return-Path: 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 EA0FD37B401 for ; Mon, 21 Apr 2003 14:30:49 -0700 (PDT) Received: from blueriver.net (moseisley.blueriver.net [12.166.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 099BC43FDF for ; Mon, 21 Apr 2003 14:30:49 -0700 (PDT) (envelope-from jeremy@gaddis.org) Received: from gaddis.org (tnt-12-166-19-144.orl.blueriver.net [12.166.19.144]) by blueriver.net (8.12.5/8.12.5) with SMTP id h3LLc0AV004386 for ; Mon, 21 Apr 2003 16:38:04 -0500 Received: (qmail 15748 invoked from network); 21 Apr 2003 21:30:52 -0000 Received: from jupiter.main.gaddis.org (HELO ?192.168.0.4?) (192.168.0.4) by gaddis.org with SMTP; 21 Apr 2003 21:30:52 -0000 From: Jeremy Gaddis To: Mark P In-Reply-To: <20030421210228.91039.qmail@web20102.mail.yahoo.com> References: <20030421210228.91039.qmail@web20102.mail.yahoo.com> Content-Type: text/plain Organization: Message-Id: <1050960636.224.13.camel@jupiter.main.gaddis.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 21 Apr 2003 16:30:36 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: sendmail smart relay host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 21:30:50 -0000 On Mon, 2003-04-21 at 16:02, Mark P wrote: > Hi all, > > I need help getting sendmail working. We have a > central mail gateway that I need to send all outbound > mail through. That server is mailgw.co.com > (172.16.1.3). > > On the mail client (FBSD 4.8), I have > enable_sendmail="NO" and sendmail_submit_enable="YES" > in /etc/rc.conf. If I set DS (null) in > /etc/mail/submit.cf, mail is sent directly to the > remote mail host fine. If I set DS172.16.1.3 in > /etc/mail/submit.cf, I can't send mail at all. > Checking the /var/log/maillog I see: I'd guess sendmail is trying to look up an A record for 172.16.1.3.yourdomain.com. Try giving it the hostname for 172.16.1.3 (or make one up and put it in /etc/hosts). j. -- Jeremy L. Gaddis