From owner-freebsd-questions Sat May 18 17: 3:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from goose.prod.itd.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by hub.freebsd.org (Postfix) with ESMTP id D386A37B403 for ; Sat, 18 May 2002 17:03:08 -0700 (PDT) Received: from sdn-ar-008dcwashp031.dialsprint.net ([63.178.91.143] helo=moo.holy.cow) by goose.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 179EAF-0001pI-00; Sat, 18 May 2002 17:03:08 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id ED67150BA8; Sat, 18 May 2002 20:04:40 -0400 (EDT) Date: Sat, 18 May 2002 20:04:40 -0400 From: parv To: jehova Cc: FreeBSD-Questions Subject: Re: localhost for dummies Message-ID: <20020519000440.GB71489@moo.holy.cow> Mail-Followup-To: jehova , FreeBSD-Questions References: <200205181603.14645.tornadox@telnor.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205181603.14645.tornadox@telnor.net> 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 in message <200205181603.14645.tornadox@telnor.net>, wrote jehova thusly... > > how can i put a name to my box? and how can i doit without ill > efects or misconfiguration, what happens is that i can't (i don't > know how) setup host name localhost alias and a basic loopback > configuration for a stand alone freebsd machine (no lan, no other > boxes atached) just a 56 k usRobotics modem (working) on ppp > connection ... edit /etc/hosts to name your machine w/ 127.0.0.1 address like so... 127.0.0.1 localhost.fu.bar localhost ...mind you that in your situation domain name "fu.bar" should actually work. you can change "fu.bar" to anything you like. you may need to send your mail thru your isp's smtp server. sendmail has a setting called "smart host" which would need to be edited. i do not use sendmail, so cannot help you further. i do know that it is the postfix variable "relay_host" which would need to be set in "main.cf", which by default is located in /usr/local/etc/postfix directory. for example, somewhere in /usr/local/etc/postfix/main.cf ... # change "smtp.server.name.of.your.isp" to actual smtp server name relay_host = smtp.server.name.of.your.isp - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message