返回应用列表
iRedMail

Deploy iRedMail on Your Own Server

iRedMail - Open Source Mail Server, built in one container

📦 Other

想更快部署 iRedMail到服务器?试试 Senate,一条命令完成部署,自动配置 HTTPS 和监控。

立即开始

什么是 iRedMail?

iRedMail is a free, open-source and full-featured mail server that allows you to host your own mail server at no cost. SMTP + IMAP + POP3 + Antispam & Antivirus + Web administration. **Requirements**: At least 4GB of ram and 5GB of rom. Recommended: Use 'mail' as the App Name.

自托管 iRedMail

按照以下步骤在您的服务器上部署。

1

安装 Docker

如果服务器上已安装 Docker,可跳过此步骤。

curl -fsSL https://get.docker.com | sh
2

配置

自定义以下设置。大多数情况下使用默认值即可。

3

部署

复制配置并在服务器上运行。

services:
  iredmail:
    environment:
      ADMIN_VERSION: NoChange
      FIRST_MAIL_DOMAIN: your-domain.com
      FIRST_MAIL_DOMAIN_ADMIN_PASSWORD: a7599439
      HOSTNAME: iredmail.your-domain.com
      MLMMJADMIN_API_TOKEN: daf7b6ce1f075d0327e19b0fa51dea3f
      ROUNDCUBE_DES_KEY: ccf111d3c168aba515057a96
      VERSION: stable
    volumes:
      - /etc/localtime:/etc/localtime
      - iredmail-data-backup-mysql:/var/vmail/backup/mysql
      - iredmail-data-mailboxes:/var/vmail/vmail1
      - iredmail-data-mlmmj:/var/vmail/mlmmj
      - iredmail-data-mlmmj-archive:/var/vmail/mlmmj-archive
      - iredmail-data-imapsieve-copy:/var/vmail/imapsieve_copy
      - iredmail-data-custom:/opt/iredmail/custom
      - iredmail-data-ssl:/opt/iredmail/ssl
      - iredmail-data-mysql:/var/lib/mysql
      - iredmail-data-clamav:/var/lib/clamav
      - iredmail-data-sa-rules:/var/lib/spamassassin
      - iredmail-data-postfix-queue:/var/spool/postfix
    ports:
      - 25:25
      - 110:110
      - 143:143
      - 465:465
      - 587:587
      - 993:993
      - 995:995
volumes:
  iredmail-data-backup-mysql: {}
  iredmail-data-mailboxes: {}
  iredmail-data-mlmmj: {}
  iredmail-data-mlmmj-archive: {}
  iredmail-data-imapsieve-copy: {}
  iredmail-data-custom: {}
  iredmail-data-ssl: {}
  iredmail-data-mysql: {}
  iredmail-data-clamav: {}
  iredmail-data-sa-rules: {}
  iredmail-data-postfix-queue: {}

然后运行:

docker compose up -d
4

访问

启动后,访问您的应用: http://localhost:80

为什么要自托管 iRedMail?

完全数据所有权

数据保存在您的服务器上,无第三方访问。

无月费

只需支付服务器费用,无按席位或用量收费。

完全控制

按您的需求自定义、备份和扩展。

隐私与合规

满足 GDPR、HIPAA 或内部安全要求。

技术细节

想更快部署?

尝试 Senate!Senate 帮您处理 Docker、HTTPS、更新和监控。一条命令部署 300+ 应用。

在任意 Linux 服务器上安装:

sh -c "$(curl -sSL https://get.senate.sh)"