Guide – How To Start – iRedMail (IMAP, SMTP, POP3) Email Server on Linux CentOS 8.3 on Amazon

A pre-configured and ready-to-run  iRedMail Mail Server. This is a powerful, easy-to-deploy and manage Mail Server solution that runs on Linux, FreeBSD and OpenBSD systems. 

This image has an empty alt attribute; its file name is image-1.png

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

Configuring and connecting to iRedMail (IMAP, SMTP, POP3) Email Server on Linux CentOS 8.3

  1. Start your VM

It is recommended to use the Instance type “t2.medium” or higher when installing the VM. To start the server, you just need to start the VM.

  1. To customize the Server, first, you need to know the server IP address. You need to select the virtual machine from the list. Your IP is displayed in the line “Public IPv4 address”.
  1. For the server to be usable, open TCP ports 25, 80, 110, 143, 443, 587, 993, 995 in your VM’s security group.
  1. Static Ip address  – Your virtual machine should have the static IP address, if you do not want to constantly change the domain settings (because if the address is elastic, after the rebooting of the machine it’ll change to the static one).
  1. Get a random admin password
  1. To get the password, you should connect to the VM. To do that, generate a “Private Key” in advance. This can be done using the following instruction (by choosing the “file format:” option “.ppk” in point 3) Guide – How To – Create and use Key Pair to connect to a VM
  1. Download and run Putty
  1. Go to the “SSH” section in the left panel (1) and then to “Auth” (2).

In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.

  1. Go to the home page of “Session”, enter the IP address of the VM (1) and click “Open” (2).
  1. In the opened console you will need to enter the login centos
  1. Enter the following command:

> sudo cat /home/centos/def_passw_iredadmin

  1. Save admin password
  1. Connect to your server

After creating the machine, it’s possible to get access to the web-panel either directly through the IP address or by adding to the domain MX records

The instruction on how to do that:

Google Domain –

Namecheap –

GoDaddy –

iRedmail mx setup information

For your site, where you’ve bought the domain – please, google “youdomainSeller add mx records” or contact seller customer support.

Please, consider that it’s better to use the static IP address for the mail server. Sometimes it takes up to 24 hours to activate the mx records.

Access to the inbox – through the web-panel

Here is the default data for the connection. As an example, we have taken the IP address of our VM. Instead of it, you should write yours
– Web admin panel (iRedAdmin): https://youVirtualMachineIP/iredadmin/ (http://youdomain/iredadmin/)

– Roundcube webmail: https://youVirtualMachineIP/mail/


  1. Login to admin panel – https://youVirtualMachineIP/iredadmin/   (http://youdomain/iredadmin/)

You should enter the following credentials: 

– Username:

– Password: received in section 2

The next window opens

To change the default password on this page go to Admins -> Edit account

After you have opened the window of settings go to the Password tab

Enter (1) and reenter (2) the new password and save (3) the changes 

To add domain name in admin panel go to Domains and Accounts -> Add domain

  1. Login to the mailbox (test account) – https://youVirtualMachineIP/mail/  (http://youdomain/mail)

You should enter the following credentials: 

– Username:

– Password: if you haven’t changed your password – then enter received in section 2

The next window is displayed

The password change for the mailbox (not for the admin’s account):
Settings > Password > Type the current password > Type the new password > Save

For more details please see the topic “Configure mail client applications” on page iRedMail Documentations

or use these links:

Website Built with

Up ↑

%d bloggers like this: