sendmail and hostname

Roland Smith rsmith at
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 :
>               localhost alice
>             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


then /etc hosts should have

::1  	  	localhost	localhost	alice

HTH, Roland
[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 :

More information about the freebsd-questions mailing list