Steps to fix permission and ownership of Postfix binaries manually due to bug on zmfixperm

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Steps to fix permission and ownership of Postfix binaries


   KB 23343        Last updated on 2018-08-8  




0.00
(0 votes)


Problem

While normally 'zmfixperms' is the preferred method to do this, on ZCS v8.7.0[1,2] running "zmfixperms --verbose --extended" sets incorrect permissions to the Postfix binaries.

The following errors are seen when this is the case:

Connect to the Postfix showq service: Permission denied
postqueue: fatal: Connect to the Postfix showq service: Permission denied

Solution

With the help of the following commands, we can set the correct permission and ownership of the Postfix binaries.

[Run as ROOT]

chown root:postdrop /opt/zimbra/common/sbin/postqueue
chown root:postdrop /opt/zimbra/common/sbin/postdrop
chown root:root /opt/zimbra/common/libexec/ -R     
chmod 755 /opt/zimbra/common/sbin/postqueue   
chmod 755 /opt/zimbra/common/sbin/postdrop  
chmod g+s /opt/zimbra/common/sbin/postqueue   
chmod g+s /opt/zimbra/common/sbin/postdrop 
This bug has been fixed on ZCS v8.7.3

Reported by: Heera Singh Koranga

Jump to: navigation, search