On 07/27/2017 11:59 AM, Paul Menzel wrote:
Dear Nikolaos,
On 07/27/17 11:54, Nikolaos Milas wrote:
We are moving to a new (virtual) server (from CentOS 5 with Postfix
2.11.6 to CentOS 7 with Postfix 3.2.2).
I have moved the original configuration to the new server and Postfix
won't start; I am getting:
# systemctl status postfix
postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-07-27 12:25:14
EEST; 12min ago
Process: 21895 ExecStart=/usr/sbin/postfix start (code=exited,
status=1/FAILURE)
Process: 21893 ExecStartPre=/usr/libexec/postfix/chroot-update
(code=exited, status=0/SUCCESS)
Process: 21890 ExecStartPre=/usr/libexec/postfix/aliasesdb
(code=exited, status=0/SUCCESS)
Main PID: 14815 (code=killed, signal=TERM)
Jul 27 12:25:12 vmail2.noa.gr postfix[21895]: /usr/sbin/postconf:
warning: /etc/postfix/main.cf: unused parameter:
127.0.0.1:10040_time_limit=3600
Jul 27 12:25:12 vmail2.noa.gr postfix[21895]: /usr/sbin/postconf:
warning: /etc/postfix/main.cf: unused parameter:
127.0.0.1:10040_time_limit=3600
Jul 27 12:25:12 vmail2.noa.gr postfix[21895]: /usr/sbin/postconf:
warning: /etc/postfix/main.cf: unused parameter:
127.0.0.1:10040_time_limit=3600
Jul 27 12:25:12 vmail2.noa.gr postfix[21895]:
/usr/libexec/postfix/post-install: Error: /etc/postfix/postfix-files
is not a file.
Jul 27 12:25:12 vmail2.noa.gr postfix/postfix-script[21913]: fatal:
unable to create missing queue directories
Jul 27 12:25:13 vmail2.noa.gr postfix/postfix-script[21914]: fatal:
Postfix integrity check failed!
Jul 27 12:25:14 vmail2.noa.gr systemd[1]: postfix.service: control
process exited, code=exited status=1
Jul 27 12:25:14 vmail2.noa.gr systemd[1]: Failed to start Postfix
Mail Transport Agent.
Jul 27 12:25:14 vmail2.noa.gr systemd[1]: Unit postfix.service
entered failed state.
Jul 27 12:25:14 vmail2.noa.gr systemd[1]: postfix.service failed.
I also tried:
# /usr/libexec/postfix/post-install create-missing
postconf: warning: /etc/postfix/main.cf: unused parameter:
127.0.0.1:10040_time_limit=3600
/usr/libexec/postfix/post-install: Error: /postfix-files is not a file.
Can you please let me know what may be the issue here?
Please post the output of the commands below.
```
$ ls -l /etc/postfix/
$ file /etc/postfix/postfix-files
```
[…]
Kind regards,
Paul
# rpm -ql postfix | grep files
/usr/libexec/postfix/postfix-files
t