sendmail and hostname

Matthew Seaman m.seaman at infracaninophile.co.uk
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 :
> 
>      127.0.0.1               localhost alice
>      192.168.1.2             alice
>      192.168.1.3             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.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070404/7381c7b1/signature.pgp


More information about the freebsd-questions mailing list