Matus UHLAR - fantomas skrev den 2018-05-16 15:24:
Am 15.05.2018 um 22:29 schrieb Benny Pedersen:
its a dns problem to solve, not postfix
# /etc/hosts
127.0.0.1 horus.localdomain horus
Benny, 127.0.0.1 should always resolve to "localhost" (surprises can
happen
otherwise). That's why debian puts local host name with IP 127.0.1.1
to /etc/hosts.
127.0.0.1 horus.localdomain horus localhost.localdomain localhost
::1 horus.localdomain horus localhost.localdomain localhost
but thats only used if there is no real dns server on localhost, if
there is localdomain must be served in real dns server running on
localhost