iRedMail Installation with MariaDB

From KlavoWiki
Jump to navigationJump to search

The following instructions were performed on Debian 13
iRedMail provides self-hosting email with SOGo providing Exchange Active Sync operations.
Official Installation Documentation

Installation

Install Debain barebones. Do not install any additional packages.
Make sure that hostname and hostname -f commands return the correct names.

Hostname

vi /etc/hosts
192.168.1.25                              mail.myserver.com       mail
df7e:0e05:068a:8141:20a5:1806:d881:ec17   mail.myserver.com       mail

Install

cd /opt/
wget https://github.com/iredmail/iRedMail/archive/refs/tags/1.8.0.tar.gz
tar xvf 1.8.0.tar.gz
rm 1.8.0.tar.gz
cd iRedMail-1.8.0
bash ./iRedMail.sh

Post Installation Information

Mailboxes /var/vmail/vmail1/
Sensitive Info /usr/src/iRedMail-1.8.0/config
Post installation information /opt/iRedMail-1.8.0/iRedMail.tips


URL's

Roundcube webmail https://mail.myserver.com/mail/
SOGo Groupware https://mail.myserver.com/SOGo
Web admin panel https://mail.myserver.com/iredadmin/

Done

That is it for the install. Now the configuration is the difficult part if you need any special customisation otherwise the iRedAdmin will suffice.

Refer to Category:iRedMail for specific configuration tasks.