docker ewomail连接网址
https://hub.docker.com/r/bestwu/ewomail/
EwoMail-Admin版本为1.05
rainloop 版本为1.11.1
docker pull bestwu/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/ewomailserver
docker exec ewomail amavisd showkeys
docker exec ewomail amavisd testkeys
发送邮件报错
connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
错误原因:10024端口跑的服务主要用于ewomail中反垃圾反病毒作用,然而docker镜像中没有集成,所以会无法接收到邮件。
1、注释/etc/postfix/main.cf中的(基本属于此问题)
content_filter = smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
2、
cp amavisd.conf.rpmsave amavisd.conf
网友评论