- Log into the Debian/Ubuntu device
- Run the following commands in terminal to install and configure iRedMail
# set/verify the hostname
sudo hostnamectl set-hostname nettools.i12bretro.local
# update software repositories
sudo apt update
# install available software updates
sudo apt upgrade
# install prerequisites
sudo apt install gzip
# download iRedMail install scripts
wget https://github.com/iredmail/iRedMail/archive/1.3.2.tar.gz
# extract the archive
sudo tar zxf ./1.3.2.tar.gz
cd ./iRedMail*
# make the install script executable
sudo chmod +x ./iRedMail.sh
# run the install script
sudo ./iRedMail.sh - At the Welcome to iRedMail screen, select Yes > Press Enter
- Enter the default /var/vmail/ for the location to store mailboxes > Press Enter
- On the Backend selection screen, arrow down to MySQL > Press spacebar to select it > Press Enter
- Enter the email domain name to be used > Press Enter
- Enter a password for the mail administrator > Press Enter
- Arrow down and select the optional components to install by press spacebar > Pres Enter
- Review the installation summary > Type Y to accept > Press Enter
- Wait for the installation to complete
- Once completed, the optional software will be available at the following URLs
Roundcube webmail: https://DNSorIP/mail/
SOGo Groupware: https://DNSorIP/SOGo
Web admin panel (iRedAdmin): https://DNSorIP/iredadmin/
Source: https://docs.iredmail.org/install.iredmail.on.debian.ubuntu.html