sendmail and hostname

Matthew Seaman m.seaman at
Wed Apr 4 05:50:00 UTC 2007

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
>             bob
> Any help would be much appreciated.

sendmail is trying to work out your fully qualified domain name.  In
short, it wants a name with dots in.  You can just invent a name --
alice.local for example -- and your own sendmail will be happy, but
ones it connects to for mail delivery may be less so.  That may or may
not be a problem depending on your local setup.  Or else you can get
a name properly registered in the DNS and use that instead.



Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP:         Ramsgate
                                                      Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list