---
title: "How to Set Up iRedMail on the Latest Ubuntu Server (Step by Step Guide) - CloudBlast"
description: "How to Set Up iRedMail on the Latest Ubuntu Server (Step by Step Guide)"
url: "https://cloudblast.io/ja/article/How-to-Set-Up-iRedMail-on-the-Latest-Ubuntu-Server-(Step-by-Step-Guide)"
language: "ja-JP"
---

ブログ

# How to Set Up iRedMail on the Latest Ubuntu Server (Step by Step Guide)

登録で5€の無料残高がもらえる

CloudBlastに登録して、VPSをデプロイするための5€分のクラウドクレジットを獲得しましょう

[無料の5€を受け取る](https://console.cloudblast.io/auth/login?ref=2)

-   [戻る](https://cloudblast.io/ja)
-   [すべての記事](https://cloudblast.io/ja/blog)

2025-05-12

### How to Set Up iRedMail on the Latest Ubuntu Server (Step by Step Guide)

tutorials

Looking to run your own mail server? iRedMail is a powerful open-source solution for setting up a secure and full-featured mail system. In this guide, we’ll walk you through the process of installing iRedMail on the latest version of Ubuntu Server.

---

**âœ… What You’ll Need Before Starting**

Before we dive in, make sure you’ve got the following:

-   A fresh Ubuntu Server (latest version) installed

-   Static IP address assigned to the server

-   A user with sudo privileges

### **ðŸ”„ Step 1: Update Your System**

Keeping your system up-to-date is a must before installing any major software. Run:

> sudo apt update && sudo apt upgrade

### **ðŸŒ Step 2: Set Your Hostname**

Set the hostname to reflect your mail domain. For this tutorial, we’ll use mail.example.com.

> sudo hostnamectl set-hostname mail.example.com

Then update your /etc/hosts file:

> sudo nano /etc/hosts

Add this line (replace <IP-address> with your server’s actual IP):

> <IP-address> mail.example.com mail

Save and exit the file.

### **ðŸ“¦ Step 3: Download & Install iRedMail**

Get the latest version of iRedMail from GitHub:

> wget https://github.com/iredmail/iRedMail/archive/1.4.2.tar.gz

Extract the contents:

> tar -zxvf 1.4.2.tar.gz
>
> cd iRedMail-1.4.2

Make the installer executable:

> chmod +x iRedMail.sh

Run the installation script:

> sudo bash iRedMail.sh

Follow the interactive prompts to finish the setup.

### **ðŸ”§ Step 4: Final Mail Server Configuration**

Once installation is complete, head to your admin panel at:

> https://mail.example.com/iredadmin

Now, configure your DNS records (like MX, SPF, DKIM, and DMARC) and start adding your email domains and users.

### **ðŸŽ¯ Wrapping Up**

That’s it! You’ve now installed and configured a fully functional mail server with iRedMail on Ubuntu. You’re in control of your email data, security, and performance.

### **ðŸ§  Pro Tip: Make Hosting Easy with Cloudblast**

Want an easy way to self-host, get static IPs, and control your data with zero hassle? Check out [**Cloudblast**](https://cloudblast.io/) – the go-to solution for developers who want full control over their infrastructure.

Let me know if you want the same content optimized for a blog post, social media snippet, or email newsletter.

シェア

## 続きを読む

[2026-07-25 How to Install and Set Up Mailcow on Ubuntu and Debian VPS tutorials](https://cloudblast.io/article/how-to-install-and-setup-mailcow-on-ubuntu-and-debian-vps)

[2026-07-25 How to Install Chatwoot on the Latest Ubuntu and Debian Server tutorials](https://cloudblast.io/article/how-to-install-chatwoot-on-ubuntu-and-debian-server)

[2026-07-25 How to Install Mattermost on the Latest Ubuntu and Debian Server tutorials](https://cloudblast.io/article/how-to-install-mattermost-on-ubuntu-and-debian-server)

[2026-07-25 How to Install RustDesk on the Latest Ubuntu and Debian Server tutorials](https://cloudblast.io/article/how-to-install-rustdesk-on-ubuntu-and-debian-server)
