From owner-freebsd-questions Fri Sep 21 18:49:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id ECE4137B41F for ; Fri, 21 Sep 2001 18:49:26 -0700 (PDT) Received: from hades.hell.gr (patr530-b105.otenet.gr [195.167.121.233]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f8M1nJn16559; Sat, 22 Sep 2001 04:49:20 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f8M1n2j04803; Sat, 22 Sep 2001 04:49:02 +0300 (EEST) (envelope-from charon@labs.gr) Date: Sat, 22 Sep 2001 04:48:57 +0300 From: Giorgos Keramidas To: Bill Sandiford Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problems with sendmail on freebsd Message-ID: <20010922044856.A4624@hades.hell.gr> References: <000501c142d7$d62ab710$0fa06bcf@custinfo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c142d7$d62ab710$0fa06bcf@custinfo> User-Agent: Mutt/1.3.22.1i X-GPG-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-URL: http://labs.gr/~charon/ 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 Bill Sandiford wrote: > I have a freebsd machine running sendmail that is on the edge of our > internal network. The internal network is numbered with the private address > range 192.168.0.0. > > As such our machine has 2 ip addresses bound to it, an internal address and > an external address. The problem is that the machine will sometimes try to > communicate using the internal address while talking to other mail servers. > > How do I specify which IP address sendmail will use while talking to other > mail servers (for helo commands, etc) That should be automagically selected based on: a) DNS resolution. What hostname Sendmail needs to contact, and what MX records are associated with it. b) Routing. What IP address DNS said should receive mail, and through which route this can be contacted. So you don't have Sendmail problems. Something in DNS setup or routing table is going funny. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message