CentOS: Unable to start Postfix after upgrade to version 3

centos7postfixupgrade

We are running CentOS 7, and just upgraded Postfix to version 3. Postfix won't start after the upgrade. First, there is a compatibility issue in the log, but we resolved it as suggested (postconf compatibility_level=2).

A greater problem is

postfix: /usr/libexec/postfix/post-install: Error: /etc/postfix/postfix-files is not a file

Absolutely stuck there. We tried to set chmod 777 on /etc/postfix, we tried to use postfix-install, but nothing helped.

Best Answer

Finally found the solution. /etc/postfix/postfix-files was missing, so we just used:

touch /etc/postfix/postfix-files

...and the problem solved.

Related Topic