Difference between revisions of "Steps to fix permission and ownership of Postfix binaries manually due to bug on zmfixperm"

 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===<h1>Steps to fix permission and ownership of Postfix binaries manually due to bug on zmfixperm</h1>===
+
{{BC|Certified}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
=Steps to fix permission and ownership of Postfix binaries=  
 
<hr>
 
<hr>
<br>
+
{{KB|{{ZC}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}
<h2>Problem:</h2>
 
On ZCS v8.7.0[1,2] running "'''''zmfixperms --verbose --extended'''''" set incorrect permissions on postfix binraries.  
 
  
Getting following errors with postfix related commands.
+
 
 +
====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
 
  Connect to the Postfix showq service: Permission denied
 
  postqueue: fatal: Connect to the Postfix showq service: Permission denied
 
  postqueue: fatal: Connect to the Postfix showq service: Permission denied
  
 +
====Solution====
  
<h2>Solution</h2>
+
With the help of the following commands, we can set the correct permission and ownership of the Postfix binaries.  
 
 
With the help of following commands we can set correct permission and ownership of postfix binaries.  
 
  
 
'''[Run as ROOT]'''  
 
'''[Run as ROOT]'''  
Line 24: Line 28:
 
  chmod g+s /opt/zimbra/common/sbin/postdrop  
 
  chmod g+s /opt/zimbra/common/sbin/postdrop  
  
 
+
'''This bug has been fixed in ZCS v8.7.3'''
Reported bug for this issue -  https://bugzilla.zimbra.com/show_bug.cgi?id=106379 <br>
 
This bug fixed on ZCS v8.7.3
 
  
  
  
 +
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10"
 +
|'''Submitted by''':  Heera Singh Koranga
 +
|}
  
Reported by:  Heera Singh Koranga
+
{{Article Footer|ZCS 8.8, 8.7, 8.6, 8.5|2017-08-23}}

Latest revision as of 03:14, 18 August 2018

Steps to fix permission and ownership of Postfix binaries


   KB 23343        Last updated on 2018-08-18  




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 in ZCS v8.7.3


Submitted by: Heera Singh Koranga
Verified Against: ZCS 8.8, 8.7, 8.6, 8.5 Date Created: 2017-08-23
Article ID: https://wiki.zimbra.com/index.php?title=Steps_to_fix_permission_and_ownership_of_Postfix_binaries_manually_due_to_bug_on_zmfixperm Date Modified: 2018-08-18



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search