CentOS 7.x Resolving postfix not starting due to permission error
From Notes_Wiki
Home > CentOS > CentOS 7.x > Email configuration > Zimbra configuration > Troubleshooting > CentOS 7.x Resolving postfix not starting due to permission error
If postfix is not running and starting it is also failing as below:
[root@mail ~]# su - zimbra Last login: Wed Mar 6 09:30:35 IST 2019 [zimbra@mail ~]$ zmcontrol status Host mail.gbb.co.in amavis Running antispam Running antivirus Running ldap Running logger Running mailbox Running memcached Running mta Stopped postfix is not running opendkim Running proxy Running service webapp Running snmp Running spell Running stats Running zimbra webapp Running zimbraAdmin webapp Running zimlet webapp Running zmconfigd Running [zimbra@mail ~]$ zmcontrol restart Host mail.gbb.co.in Stopping zmconfigd...Done. Stopping zimlet webapp...Done. Stopping zimbraAdmin webapp...Done. Stopping zimbra webapp...Done. Stopping service webapp...Done. Stopping stats...Done. Stopping mta...Done. Stopping spell...Done. Stopping snmp...Done. Stopping cbpolicyd...Done. Stopping archiving...Done. Stopping opendkim...Done. Stopping amavis...Done. Stopping antivirus...Done. Stopping antispam...Done. Stopping proxy...Done. Stopping memcached...Done. Stopping mailbox...Done. Stopping logger...Done. Stopping dnscache...Done. Stopping ldap...Done. Host mail.gbb.co.in Starting ldap...Done. Starting zmconfigd...Done. Starting logger...Done. Starting mailbox...Done. Starting memcached...Done. Starting proxy...Done. Starting amavis...Done. Starting antispam...Done. Starting antivirus...Done. Starting opendkim...Done. Starting snmp...Done. Starting spell...Done. Starting mta...Failed. Starting saslauthd...done. postsuper: fatal: scan_dir_push: open directory defer: Permission denied postfix failed to start Starting stats...Done. Starting service webapp...Done. Starting zimbra webapp...Done. Starting zimbraAdmin webapp...Done. Starting zimlet webapp...Done. [zimbra@mail ~]$
Then disabling SELinux might solve the problem.
Refer:
- https://forums.zimbra.org/viewtopic.php?t=36239
- http://postfix.1071664.n5.nabble.com/scan-dir-push-open-directory-defer-Permission-denied-td90566.html
Home > CentOS > CentOS 7.x > Email configuration > Zimbra configuration > Troubleshooting > CentOS 7.x Resolving postfix not starting due to permission error