This guide will walk you through the steps to install iRedMail on RedHat 7. iRedMail is an easy to deploy, configure and manage Mail solution for Linux, FreeBSD and OpenBSD systems. With iRedMail, it becomes so easy to deploy an opensource, fully fledged, powerful mail server with features only available in commercial mail solutions
to visit my website www.excavatorinfo.com
2. Submitted to:
A F M Bakabillah
Senior Consultant of Networking Technologies
IsDB-BISEW IT Scholarship Programme
Email: billah@showtellconsulting.com
Submitted by:
Md Sohel Rana
Trainee of Networking Technologies
IsDB-BISEW IT Scholarship Programme
Trainee ID: 1249640
Batch: NT/BITI-A/40/01
Email: idb.sohelrana@gmail.com
3. Case Study on iRedMail
Using Linux- As a result of completing this offering, we should be
able to perform and validate the key tasks needed to become a full-
time Linux administrator.
This guide will walk you through the steps to install iRedMail on
RedHat 7. iRedMail is an easy to deploy, configure and manage Mail
solution for Linux, FreeBSD and OpenBSD systems. With iRedMail, it
becomes so easy to deploy an opensource, fully fledged, powerful
mail server with features only available in commercial mail solutions.
4. Pre-requirement of iRedMail Install
• iRedMail is out of the box open source mail server solution on Linux like operating system. The
beauty of iRedMail is that it provides web based admin panel from where mail admin or system
admins can do all email related operations task. Some of other features are listed below :
• Support unlimited email accounts.
• It provides Roundcube as webmail (MUA )
• It used Postfix as MTA & Dovecot as MDA
• It pvoides Calendar service via CalDAV & Contact service via CardDAV
• It uses SpamAssassin for Spam scan and Amavis & Clamav for Mail virus scan.
• OpenLDAP, MariaDB and PostgreSQL can be used to save mail accounts
• In this article we will demonstrate how to install and configure iRedMail on CentOS 7 & RHEL 7. I am
going to use followings for iRedMail setup.
• OS = CentOS 7 or RHEL 7
• Domain = nsitmail.com
• Server Hostname = mail.nsitmail.com
Note : In case if you want mails from your mail server to be delivered in inbox not in spam folder then
update the DNS records like A & PTR before installation and TXT ( SPF & DKIM ) after installation.
8. Select the web Server for iRedmail. Default is Nginx.
Select the database of your choice which will store domain
names and mail accounts. In my case i am using MariaDB.
9. Define the domain name for your mail server. In my case
domain name is “nsitmail.com”
Set Password for postmaster account.
11. Press “y” to continue installation, Mail Server info & Credentials are kept in the file “/root/iRedMail-0.9.3/config”. Please keep this file in secure place.
12. As per instructions , reboot the server to enable all mail services.
Postfix mail logs and iRedmail logs are stored in “/var/log/maillog” and “/var/log/iredapd/iredapd.log” respectively.
Note : Default administrator name is “postmaster@nsitmail.com”
Following are the Important URLs after the Installation is completed , replace the domain name as per your
setup in mentioned URLs.
iRedAdmin – official web-based admin panel:
https://mail.nsitmail.com/iredadmin/
Username: postmaster@nsitmail.com, password: Asdf123
Roundcube webmail URL :
http://mail.nsitmail.com/mail/
SOGo Groupware
https://mail.nsitmail.com/SOGo/
13. Step:4 Create Users & domain from Admin Panel.
To create users first login to admin panel. Use user name as “postmaster@<domain>” and password that we set during installation.
14. Click on Add option and then Select Users.
Add a new Domain :
From the admin Panel , Select “Domain & accounts” option and then click on Add domain
15. Define the domain name & Organization Name and then further we can create users on newly created domain.
Step:5 Access Roundcube (Webmail).
Open the url in the browser “https://mail.nsitmail.com/mail/” , replace the domain name as per your setup.
16. Send a test mail to verify the functionality.
As we see that i got the mail from iRedmail mail server, so we can say the iRedmail is successfully installed and
configured.