From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 20:46:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E8F416A404 for ; Tue, 3 Apr 2007 20:46:59 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 1994F13C46E for ; Tue, 3 Apr 2007 20:46:58 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l33KkvEw084576; Tue, 3 Apr 2007 22:46:57 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id CE90BB844; Tue, 3 Apr 2007 22:46:56 +0200 (CEST) Date: Tue, 3 Apr 2007 22:46:56 +0200 From: Roland Smith To: Firas Kraiem Message-ID: <20070403204656.GB9413@slackbox.xs4all.nl> Mail-Followup-To: Firas Kraiem , freebsd-questions@freebsd.org References: <200704032229.44098.fkraiem@enib.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline In-Reply-To: <200704032229.44098.fkraiem@enib.fr> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: sendmail and hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 20:46:59 -0000 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2007 at 10:29:36PM +0200, Firas Kraiem wrote: > Greetings >=20 > I get this message when booting my FBSD home webserver : >=20 > Apr 3 22:23:55 alice sm-mta[509]: My unqualified host name (alice) > unknown; sleeping for retry >=20 > From what I've understood after a bit of searching, the answer lies proba= bly=20 > in the /etc/hosts file. So here goes : >=20 > 127.0.0.1 localhost alice > 192.168.1.2 alice The hostname "alice" should have a domain part. And it should match the hostname that is set in /etc/rc.conf. E.g, if /etc/rc.conf says hostname=3D"alice.home.net" then /etc hosts should have ::1 localhost localhost.home.net 127.0.0.1 localhost localhost.home.net 192.168.1.2 alice alice.home.net HTH, Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGEr1AEnfvsMMhpyURAh6YAJ9quNCCDZGU0MkubyA5tc1SMO+kCwCfdat9 8ZV2JkO0R75QT6Fepam27p8= =z6AQ -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8--