From owner-freebsd-questions Sat May 16 13:28:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01445 for freebsd-questions-outgoing; Sat, 16 May 1998 13:28:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from tera.com (tera.tera.com [207.108.223.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA01414 for ; Sat, 16 May 1998 13:28:11 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from uucp@localhost) by tera.com (8.8.7/8.7.3) with UUCP id NAA10192; Sat, 16 May 1998 13:26:59 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.8.5/8.7.3) id NAA20370; Sat, 16 May 1998 13:26:43 -0700 (PDT) From: Gary Kline Message-Id: <199805162026.NAA20370@tao.thought.org> Subject: Re: mail//sendmail question In-Reply-To: <19980516135814.A10424@flarn.dyn.ml.org> from Matthew Hunt at "May 16, 98 01:58:14 pm" To: mph@pobox.com (Matthew Hunt) Date: Sat, 16 May 1998 13:26:43 -0700 (PDT) Cc: kline@thought.org, freebsd-questions@FreeBSD.ORG Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Matthew Hunt: > On Fri, May 15, 1998 at 10:50:15AM -0700, Gary Kline wrote: > > > If I say ``mail myfriend@10.0.0.2'' or the like, zip. Is there some > > somemail configuration to achieve this magic? Or smail3.X? > > In mail addresses, IP's need to be enclosed in square brackets. > > Try "mail myfriend@[10.0.0.2]" and see if that helps. > > This worked: specifying my internal IP: $ `mail myfriend@[10.0.0.2]' (using ash). But sendmail -bv myfriend@sage.thought.org routes the mail to my uucp-dom Smarthost (tera). In /etc/hosts I have 10.2 declared properly. I'd think that sendmail would the hosts file before going off to check with ^DS first. sendmail gurus? thanks.... gary -- Gary D. Kline kline@tao.thought.org Public service uNix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message