四维空间 - 2023年4月
type: channel
link: https://swkj.ren/2023/04/
description: 个人学习笔记
items: Docker安装ewomail

Docker安装ewomail
type: item
date: 2023-04-11T14:40:42+08:00
description: 下载启动ewomail容器docker run -d -h mail.ewomail.com --restart=always \ -p 25:25 \ -p 109:109 \ -p 110:110 \ -p 143:143 \ -p 465:465 \ -p 587:587 \ -p 993:993 \ -p 995:995 \ -p 80:80 \ -p 8080:8080 \ -v `pwd`/mysql/:/ewomail/mysql/data/ \ -v `pwd`/vmail/:/ewomail/mail/ \ -v `pwd`/ssl/certs/:/etc/ssl/certs/ \ -v `pwd`/ssl/private/:/etc/ssl/private/ \ -v `pwd`/rainloop:/ewomail/www/rainloop/data \ -v `pwd`/ssl/dkim/:/ewomail/dkim/ \ --name ewomail bestwu/ewomail # mail.ewomail.com 邮箱域名，换成自动机的 # 端口如有冲突，可以换成自定义的 邮件配置运行成功后访问,可以配置服务器相关及邮件 邮箱管理后台http://localhost:8080 默认用户: admin 默认密码: ewomail123 Rainloop 管理端 http://localhost/?admin 默认用户: admin 默认密码: 12345 Rainloop 用户端 http://localhost 进入容器docker exec -it ewomail /bin/bash 重启容器docker restart ewomail ewomail文档http://doc.ewomail.com/docs/ewomail/install