From c6b9fdec7e3298c3e0544732d74cab5a4669d96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Fri, 26 Jul 2024 17:44:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=BA=94=E7=94=A8=20?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E6=9C=8D=E5=8A=A1=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- apps/mailserver/14.0.0/data.yml | 7 +++++++ apps/mailserver/README.md | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/apps/mailserver/14.0.0/data.yml b/apps/mailserver/14.0.0/data.yml index 7341594a..8413cd22 100644 --- a/apps/mailserver/14.0.0/data.yml +++ b/apps/mailserver/14.0.0/data.yml @@ -75,6 +75,13 @@ additionalProperties: required: false rule: paramPort type: number + - default: "domain.com" + edit: true + envKey: HOSTNAME_FQDN + labelZh: 邮件服务器域名 + labelEn: Mail server domain name + required: true + type: text - default: "postmaster@domain.com" edit: true envKey: POSTMASTER_ADDRESS diff --git a/apps/mailserver/README.md b/apps/mailserver/README.md index 61d64f67..97561db2 100644 --- a/apps/mailserver/README.md +++ b/apps/mailserver/README.md @@ -40,6 +40,22 @@ SQL 数据库。其形象以 "保持简单和版本化 "为口号。 将证书文件放置在 持久化目录的 `certs` 目录下,文件名为 `public.crt` 和 `private.key`。 +### 端口占用检查 + +- `25` SMTP 端口 + +```sh +netstat -tuln | grep 25 +``` + +停止Linux 邮件服务 `postfix` 服务, 释放 25 端口, 避免端口占用。 + +```sh +systemctl status postfix.service +systemctl stop postfix.service +systemctl disable postfix.service +``` + ## 安装完成 首次启动至少要添加一个账户,您有两分钟的时间来执行此操作。请在容器终端中运行以下命令。