tags 857465 + wontfix -- I believe that the postinst does the best it can at getting the FQDN into main.cf -- this doesn't do much for the upgrade path though.
I agree with upstream that postfix should not be calling gethostbyname at runtime -- if this is happening in a fresh install, then I'm interested in the configuration of the host that led to this, so that we can make that path work better. lamont On Sat, May 20, 2017 at 12:29:15PM +0100, James Cowgill wrote: > On 11/03/17 16:32, Herwig Burgert wrote: > > Package: postfix > > > > Version: 3.1.4-4 > > > > Description: > > > > postfix-3.1.4 currently part of the upcoming release of strech > > reintroduces bug 214741 which was fixed for postfix-2.11.3 (jessie). - > > Fetch the correct FQDN for myhostname. > > For details on this bug see: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214741. > > FWIW, this was also broken for me when I setup my new postfix server > (postfix was convinced my domain was "localdomain"). I gave up and > hardcoded the correct mydomain in main.cf. > > James > >