With its intuitive web portal, you can create as many inboxes as you’d like on your server. iRedMail focuses on privacy, to make sure all your data are protected on your servers, and the best security practices are enabled by default forcing all users to use mail services through secure connections (POP3/IMAP/SMTP over TLS, webmail with HTTPS). If you’re looking for a free, open-source mail server for your environment, you may want to take a look at iRedMail. This brief tutorial shows students and new users how to install and configure iRedMail on Ubuntu 18.04 | 16.04 LTS servers. For more about iRedMail, please check its homepage. To get started installing iRedMail, follow the steps below:

Configure Ubuntu Hostname

Before installing iRedMail, make sure to configure the hostname of the mail server. For this tutorial, we’re going to be using the hostname and IP address below: webmail.example.com                    =========== >              192.168.20.2 You can run the commands below to set the server hostname. Also, run the commands below to open the Ubuntu hosts file. Then enter the line as shown below: Save the file and exit.

Download and install iRedMail

Now that the mail server hostname is configured. run the commands below to download and install iRedMail. First, update the Ubuntu server by running the commands below: When you’re done updating, run the commands below to download the iRedMail archived package and extract it. After that, change into the extracted folder and run the commands below to initiate the installation. That should start the installation and prompt you with a series of questions on setting up iRedMail. Use the guide below to answer as much as possible. Next, accept the default storage location for mailboxes. If you have another location, you can specify it at the line. Next, choose to install the Nginx HTTP server for iRedMail. Also, choose to install a database server. For this tutorial, we’re going with the MariaDB database server. You’ll be prompted to create and confirm a root user for the MariaDB database server. After that, you’ll be prompted to create your first domain name. It won’t be the server domain name you specified above. This should be a test domain just to make sure things are configured correctly. For our first domain, we’ll be using example.net After that, you’ll be prompted to enter the admin password for the domain above. Next, choose a web interface to use with your server. and complete the wizard. Finally, type y to complete. That should install and configure your mail server environment. After a brief moment, the server should be ready to use. Take note of the username and password to access the web portal. To complete this, you’ll want to reboot the server. run the commands below to do that. After rebooting, logon to the admin portal using the URL below: Login and enjoy! That it! Don’t forget to delete the config file. Congratulations! You have learned how to install and configured iRedMail on Ubuntu 18.04 | 16.04 LTS server You may also like the post below: