Update Servers/Linux/iRedMail.md
This commit is contained in:
@ -7,6 +7,18 @@ Self-Hosted Open-Source email server that can be setup in minutes, and is enterp
|
|||||||
## Overview
|
## Overview
|
||||||
The instructions below are specific to my homelab environment, but can be easily ported depending on your needs. This guide also assumes you want to operate a PostgreSQL-based iRedMail installation. You can follow along with the official documentation on [Installation](https://docs.iredmail.org/install.iredmail.on.rhel.html) as well as [DNS Record Configuration](https://docs.iredmail.org/setup.dns.html) if you want more detailed explanations throughout the installation process.
|
The instructions below are specific to my homelab environment, but can be easily ported depending on your needs. This guide also assumes you want to operate a PostgreSQL-based iRedMail installation. You can follow along with the official documentation on [Installation](https://docs.iredmail.org/install.iredmail.on.rhel.html) as well as [DNS Record Configuration](https://docs.iredmail.org/setup.dns.html) if you want more detailed explanations throughout the installation process.
|
||||||
|
|
||||||
|
## Configure FQDN
|
||||||
|
Ensure the FQDN of the server is correctly set. You can find the hostname configured in two locations: `/etc/hostname` and `/etc/hosts`.
|
||||||
|
|
||||||
|
## 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
|
||||||
|
```
|
||||||
|
|
||||||
|
1. If you prefer to let SELinux prints warnings instead of enforcing, you can set this value instead: `SELINUX=permissive`
|
||||||
|
|
||||||
## Set Domain and iRedMail Version
|
## Set Domain and iRedMail Version
|
||||||
Start by connecting to the server / VM via SSH, then set silent deployment variables below.
|
Start by connecting to the server / VM via SSH, then set silent deployment variables below.
|
||||||
``` sh
|
``` sh
|
||||||
|
Reference in New Issue
Block a user