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 port 636
  • 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

   

Schema openldap.simmy.ch Schema mail.simmy.ch
core   core   
collective         collective  
corba     corba   
cosine     cosine  
duaconf   duaconf
dyngroup     dyngroup  
inetorgperson   inetorgperson
java   java         
kerberos  
ldapns    
misc   misc       
nis
nis
openldap     openldap    
openssh-lpk  
pmi       pmi  
ppolicy 
samba  

namedobject         

msuser   

iredmail    

dsee  

amavis     

calentry   

calresource   

System Requirements

iRedMail web site

Documentations

Support Forum

iRedMail upgrade tutorials

iRedAdmin upgrade tutorials