I was trying to install postfix into an VM image which used an auto-generated hostname. It happened that the hostname was fully numeric (7593408), and the post-install script failed to execute properly. Here's an excerpt from the install log:
installing postfix... /usr/bin/postconf: warning: valid_hostname: numeric hostname: 7593408 /usr/bin/postconf: fatal: unable to use my own hostname /usr/bin/postconf: warning: valid_hostname: numeric hostname: 7593408 /usr/bin/postconf: fatal: unable to use my own hostname [repeats about 10 times] /usr/lib/postfix/post-install: Error: "" should be an absolute path name. When later trying to run that VM, postfix failed to start up because the installation failed to correctly set the owner on the /var/spool/postfix folder. Running set-permissions fixed that. Using a non-numeric hostname during installation, too. Is there any reason why the post-install script needs a valid hostname? FYI: Majordomo @ postfix.org appears to be misconfigured, it's telling me to send mails to [email protected], and the email has From: [email protected]
