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

apt remove nftables

open ports:

Protocol
port
misc
HTTP
80

HTTPS
443
recommended
LDAP
389

LDAPS
636
recommended
POP3/STARTTLS 110
recommended
POS3/SSL 995

IMAP/STARTLS 143
recommended
IMAP/SSL 993

SMTP/STARTTLS 587
recommended
SMTP/SSl
465

SSH
22

Webmin
12321
check_mk
6556



Enable all E-Mails from simmy.ch

python3 /opt/iredapd/tools/greylisting_admin.py --disable --from @simmy.ch

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