Skip to main content

Installation iRedMail

System Requirements

To install iRedMail on Debian or Ubuntu Linux, you need:

  • A FRESH, working Debian/Ubuntu Linux. Supported releases are listed on Download page
  • At least 4 GB memory is required for a low traffic production mail server with spam/virus scanning enabled
  • Make sure 3 UID/GID are not used by other user/group: 2000, 2001, 2002

First steps

Install Debian server from scratch

Run ubuntusecure.sh

Installation

https://docs.iredmail.org/install.iredmail.on.debian.ubuntu.html#start-iredmail-installer

Postinstallation

install webmin

install phpldapadmin

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-openldap-and-phpldapadmin-on-ubuntu-16-04

https://forum.iredmail.org/topic14529-install-phpldapadmin-nginx.html

ln -s /usr/share/phpldapadmin /var/www/html/phpldapadmin

install check_mk agent

Agent installation on linux

Firewall Configuration

open ports:

  • HTTP port 80
  • HTTPS port 443
  • LDAP port 389
  • LDAPS
  • POP3/STARTTLS port 110 
  • POS3/SSL port 995 
  • IMAP/STARTLS port 143 
  • POP3/SSL port 993
  • SMTP/STARTTLS port 587 
  • SMTP/SSL SSL port 465
  • SSH port 22
  • Webmin port 12321

LDAP Repl

LDAP Schema update

https://docs.iredmail.org/install.iredmail.on.debian.ubuntu.html#system-requirements

* iRedMail web site: https://www.iredmail.org/
* Documentations: https://docs.iredmail.org/
* Support Forum: https://forum.iredmail.org/
* iRedMail upgrade tutorials: https://docs.iredmail.org/iredmail.releases.html
* iRedAdmin upgrade tutorials: https://docs.iredmail.org/migrate.or.upgrade.iredadmin.html