From owner-freebsd-questions Wed Jun 25 09:37:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA01875 for questions-outgoing; Wed, 25 Jun 1997 09:37:09 -0700 (PDT) Received: from xmission.xmission.com (softweyr@xmission.xmission.com [198.60.22.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA01867 for ; Wed, 25 Jun 1997 09:37:05 -0700 (PDT) Received: (from softweyr@localhost) by xmission.xmission.com (8.8.5/8.7.5) id KAA28686; Wed, 25 Jun 1997 10:31:10 -0600 (MDT) From: Wes Peters - Softweyr LLC Message-Id: <199706251631.KAA28686@xmission.xmission.com> Subject: Re: NT4 ISP To: vas@vas.tomsk.su (Victor A. Sudakov) Date: Wed, 25 Jun 1997 10:31:07 -0600 (MDT) Cc: questions@freebsd.org In-Reply-To: <199706241409.WAA18759@vas.tomsk.su> from "Victor A. Sudakov" at Jun 24, 97 10:09:41 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Wes Peters blathered: % But it really didn't add any value. You can simply achieve the same % result by adding your "hostname" as an alias to the standard loopback % address in /etc/hosts: % % 127.0.0.1 localhost vas.tomsk.su % % Now you can ping vas.tomsk.su, it will resolve to the the standard loopback % address, and you don't need to create a virtual network that isn't there. Victor Sudakov replied: > I have been experimenting with this for a while and this idea turned out to > be a bad one. A "brain fart", as you would put it ;-) I had to return to my > original setup using the alias on lo0. > > One of the immediate problems your suggested setup caused was that tin would > begin to put "user@localhost" instead of "user@vas.tomsk.su" into the From: > header of usenet messages I post. Oops. You could probably get around this by reversing the order of names in /etc/hosts, i.e. 127.0.0.1 vas.tomsk.su localhost This will make 'vas.tomsk.su' the PRIMARY name for the loopback device. A better way to fix it is to edit your sendmail.cf to always send your domain name as the 'from' address. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com