I looked into the history of this. We used to have a patch in Debian to
use gethostbyname to address this issue. It was dropped because it
caused worse problems. Here's the relevant code snippet from the most
recent postfix release:
/*
* If the local machine name is not in FQDN form,
Hi, this bug still remains on bionic 18.04 and on the recently released
20.04
Is there any chance of a fix of this?
This bug is a long Confirmed one...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Also affects: postfix (CentOS)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1657024
Title:
mydomain gets set to "localdomain"
To manage
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: postfix (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1657024
Title:
** Changed in: postfix (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1657024
Title:
mydomain gets set to "localdomain"
To manage notifications about