我想我已经解决了这个问题,Dockerfile 中缺少一行 maillog_file。临时修复方案:在 mail-receiver.yml 中添加了
POSTCONF_maillog_file: '/dev/stdout'
并重新构建,但这应该在 Docker 镜像中进行修复
RUN > /etc/postfix/main.cf \
+ && postconf -e maillog_file=/dev/stdout \
&& postconf -e smtputf8_enable=no \
...