stalwart
Office Web - Source - Docker Image - Document
stalwart 是一款开源邮件与协作服务器,支持 JMAP、IMAP4、POP3、SMTP、CalDAV、CardDAV 和 WebDAV 以及丰富的现代功能。它用 Rust 编写,设计为安全、快速、稳健且可扩展。
持久化
- 从容器中提取配置文件
bash
# 启动
docker compose --profile server1 up -d
# 提取 config.toml
docker cp stalwart:/opt/stalwart/etc/config.toml .
# 查看密码
docker logs stalwart
# 关闭服务
docker compose --profile server1 down- 将文件配置路径映射
yaml
volumes:
- ./config.toml:/opt/stalwart/etc/config.toml配置
toml
[server]
hostname = "mail.example.org"