Viktor Dukhovni wrote in <yzxedjcbxxob5...@straasha.imrryr.org>: |On Thu, Sep 29, 2022 at 07:25:48PM +0200, Steffen Nurpmeso wrote: |> But on FreeBSD (only VM here for some years) on fresh install |> i always have sendmail hang minutes upon startup (i interrupt to |> come to login, which thankfully works), because it is of the |> opinion that the hostname is not valid on the network, or |> something. I do not have the same problem with postfix though. | |By design. As Wietse has explained from time to time, Postfix starts up |and delivers local mail even when the network is down. Delivering mail |to remote systems of course requires some form of connectivity (dialup |uucp could still be used in principle).
I think it has something to do with uname(2) that is used in order to query the nodename of the box. For my little mailer (MUA) i document for the hang reason [.]One may have varying success by ensuring that the real hostname and 'localhost' have entries in /etc/hosts, or, more gener- ally, that the name service is properly setup -- and does hostname(1) return the expected value? Does this local hostname have a domain suffix? RFC 6762 standardized the link-local top-level domain '.local', try again after adding an (additional) entry with this extension. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)