sendmail and hostname
Roland Smith
rsmith at xs4all.nl
Tue Apr 3 20:46:59 UTC 2007
On Tue, Apr 03, 2007 at 10:29:36PM +0200, Firas Kraiem wrote:
> Greetings
>
> I get this message when booting my FBSD home webserver :
>
> Apr 3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
> unknown; sleeping for retry
>
> From what I've understood after a bit of searching, the answer lies probably
> in the /etc/hosts file. So here goes :
>
> 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="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
--
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070403/c2a6041a/attachment.pgp
More information about the freebsd-questions
mailing list