Update Servers & Workflows/Linux/iRedMail.md
This commit is contained in:
@ -39,6 +39,7 @@ You will then proceed to bootstrap a silent unattended installation of iRedMail.
|
||||
!!! danger "Storage Space Requirements"
|
||||
You absolutely need to ensure that `/var/vmail` has a lot of space. At least 16GB. This is where all of your emails / mailboxes / a lot of settings will be. If possible, create a second physical/virtual disk specifically for the `/var` partition, or specifically for `/var/vmail` at minimum, so you can expand it over time if necessary. LVM-based provisioning is recommended but not required.
|
||||
|
||||
## Install iRedMail
|
||||
``` sh
|
||||
# Automatically configure the /etc/hosts file to point to the server listed in "/etc/hostname".
|
||||
sudo sed -i "1i 127.0.0.1 $(cat /etc/hostname) $(cut -d '.' -f 1 /etc/hostname) localhost localhost.localdomain localhost4 localhost4.localdomain4" /etc/hosts
|
||||
@ -174,7 +175,7 @@ Lastly, we need to set up port forwarding to open the ports necessary for the se
|
||||
| TCP | 587 | 192.168.3.13 | SMTP service: port 587 over STARTTLS |
|
||||
| TCP | 25 | 192.168.3.13 | SMTP (Email Server-to-Server Communication) |
|
||||
|
||||
## iRedAdmin-Pro
|
||||
## Install iRedAdmin-Pro
|
||||
When it comes to adding extra features, start by copying the data from [this repository](https://placeholder.com) to the following folder by running these commands first:
|
||||
|
||||
``` sh
|
||||
@ -193,7 +194,7 @@ sudo chown iredadmin:iredadmin -R /opt/www/iRedAdmin-2.5
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
## iRedAdmin-Pro (Activation)
|
||||
## Activate iRedAdmin-Pro
|
||||
At this point, if you want to use iRedAdmin-Pro, you either have a valid license key, or you adjust the python function responsible for checking license keys to bypass the check, effectively forcing iRedAdmin to be activated. In this instance, we will be forcing activation by adjusting this function, seen below.
|
||||
|
||||
``` sh
|
||||
@ -257,4 +258,7 @@ sudo chown iredadmin:iredadmin /opt/www/iRedAdmin-2.5/libs/sysinfo.py
|
||||
|
||||
# Reboot the Server (To be safe)
|
||||
sudo reboot
|
||||
```
|
||||
```
|
||||
|
||||
!!! success "Successful Activation"
|
||||
At this point, if you navigate to the [iRedAdmin-Pro License Page](https://mail.bunny-lab.io/iredadmin/system/license) you should see the server is activated successfully with a "Purchase Date" and "Expire Date" of `Never`.
|
Reference in New Issue
Block a user