SELinux | Zimbra

Document
Alert! This article is written for Zimbra OSE users. As of December 2023, Synacor will no longer be providing support for Zimbra OSE. You might want to consider trying out Carbonio Community Edition – Zextras’s free and open-source email and collaboration platform.

For additional guidance, check out our community articles detailing the process of migrating from your current platform to Carbonio CE.

For enterprise-level requirements and advanced features, consider checking out Zextras Carbonio – the all-in-one private digital workplace designed for digital sovereignty trusted by the public sector, telcos, and regulated industries.

Security-Enhanced Linux (SELinux) is a mandatory access control (MAC) security mechanism implemented in the kernel. SELinux was first introduced in CentOS 4 and significantly enhanced in later CentOS releases.

In this little article we will going to focus how to set up SELinux in order to avoid problems during Zimbra installation.

For further insight on SELinux, we recommend reading this article

Changing SELinux status

First of all we need to check the SELinux status:

getenforce

If you find the response is “enforcing”, then type: 

sudo setenforce 0

And then again check the status:

getenforce

Now you should see the status changed from “enforcing” to “permissive

Completely disable SELinux

The above command is temporary and is intended to work on the current session. If you want to make permanent changes and completely disable SELinux, you need to proceed as following:

First of all you need to open the SELinux config with an editor:

nano /etc/selinux/config

You will see something as shown:

What we need to do is to edit the line SELINUX, and change it to “disabled” to completely disable it.

Ctrl + X to exit the editor, save changes and we are ready to go.

Download Zextras Suite for Zimbra OSE

Post your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Zextras Drive | Zimbra
Setting up a Static IP Address on CentOS / RHEL | Zimbra