更新 Docker Mail Server

X 2025-04-14 15:19:24 +00:00
parent 6b75a03549
commit 9731144057

@ -16,6 +16,16 @@
```
apt install cerbot -y
# `此 命令会生成 一条 TXT 记录记录用于验证,输入邮箱 yes yes然后解析txt记录`
# `此 命令会生成 一条 TXT 记录记录用于验证,输入邮箱 yes yes然后解析txt记录,点完成`
certbot certonly --manual --preferred-challenge dns -d mail.xxx.xx
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/mail.xxx.xx/fullchain.pem
Key is saved at: /etc/letsencrypt/live/mail.xxx.xx/privkey.pem
This certificate expires on 2025-07-13.
These files will be updated when the certificate renews.
#然后移动到指定目录
```