Update Servers/Linux/iRedMail.md

This commit is contained in:
Nicole Rappe
2024-01-06 21:19:16 -07:00
parent f25321c019
commit db31ae633f

View File

@ -13,8 +13,12 @@ Ensure the FQDN of the server is correctly set. You can find the hostname confi
## Disable SELinux
iRedMail doesn't work with SELinux, so please disable it by setting below value in its config file /etc/selinux/config. After server reboot, SELinux will be completely disabled.
``` sh
sudo sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config # (1)
sudo setenforce 0
# Elevate to Root User
sudo su
# Disable SELinux
sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config # (1)
setenforce 0
```
1. If you prefer to let SELinux prints warnings instead of enforcing, you can set this value instead: `SELINUX=permissive`
@ -22,9 +26,6 @@ sudo setenforce 0
## Set Domain and iRedMail Version
Start by connecting to the server / VM via SSH, then set silent deployment variables below.
``` sh
# Elevate to Root User
sudo su
# Define some deployment variables.
VERSION="1.6.8" # (1)
MAIL_DOMAIN="bunny-lab.io" # (2)