Update Servers/Linux/iRedMail.md

This commit is contained in:
Nicole Rappe
2024-01-06 21:00:08 -07:00
parent a8b73cf2dc
commit 4ffd3b1993

View File

@ -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