在我的 mail-receiver.yml 的 env 部分添加 INCLUDE_DMARC: false 并执行 .\launcher rebuild mail-receiver 后,然后执行 .\launcher logs mail-receiver,出现以下内容,并发送了测试邮件;
检测到 x86_64 架构。
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
运行环境:HOSTNAME=ubuntu-mail-receiver LANGUAGE=en_US.UTF-8 MAIL_DOMAIN=discourse.DOMAINNAME.com DOCKER_HOST_IP=172.17.0.1 PWD=/ DISCOURSE_BASE_URL=https://DOMAINNAME.com HOME=/root LANG=en_US.UTF-8 TERM=xterm SHLVL=1 DISCOURSE_API_USERNAME=system LC_ALL=en_US.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin INCLUDE_DMARC=false DISCOURSE_API_KEY=[REDACTED] _=/usr/bin/env
将发送到 discourse.DOMAINNAME.com 的邮件传递给 Discourse
postfix: Postfix 正在使用向后兼容的默认设置
Jul 18 09:00:54 ubuntu-mail-receiver postfix[19]: Postfix 正在使用向后兼容的默认设置
postfix: 详情请参阅 http://www.postfix.org/COMPATIBILITY_README.html
Jul 18 09:00:54 ubuntu-mail-receiver postfix[19]: 详情请参阅 http://www.postfix.org/COMPATIBILITY_README.html
postfix: 要禁用向后兼容,请使用“postconf compatibility_level=3.6”和“postfix reload”
Jul 18 09:00:54 ubuntu-mail-receiver postfix[19]: 要禁用向后兼容,请使用“postconf compatibility_level=3.6”和“postfix reload”
正在启动 Postfix
Jul 18 09:00:54 ubuntu-mail-receiver postfix/master[1]: daemon started -- version 3.7.11, configuration /etc/postfix
Jul 18 09:01:32 ubuntu-mail-receiver postfix/smtpd[141]: connect from btprdrgo003.btinternet.com[65.20.50.48]
Jul 18 09:01:32 ubuntu-mail-receiver postfix/smtpd[141]: warning: connect to Milter service unix:/run/opendkim/opendkim.sock: No such file or directory
Jul 18 09:01:32 ubuntu-mail-receiver postfix/smtpd[141]: warning: connect to Milter service unix:/run/opendmarc/opendmarc.sock: No such file or directory
Jul 18 09:01:32 ubuntu-mail-receiver postfix/smtpd[141]: disconnect from btprdrgo003.btinternet.com[65.20.50.48] ehlo=1 quit=1 commands=2
Jul 18 09:01:32 ubuntu-mail-receiver postfix/smtpd[141]: connect from btprdrgo003.btinternet.com[65.20.50.48]
Jul 18 09:01:32 ubuntu-mail-receiver postfix/smtpd[141]: warning: connect to Milter service unix:/run/opendkim/opendkim.sock: No such file or directory
Jul 18 09:01:32 ubuntu-mail-receiver postfix/smtpd[141]: warning: connect to Milter service unix:/run/opendmarc/opendmarc.sock: No such file or directory
Jul 18 09:01:34 ubuntu-mail-receiver postfix/smtpd[141]: NOQUEUE: reject: RCPT from btprdrgo003.btinternet.com[65.20.50.48]: 554 5.7.1 <[REDACTED_RECIPIENT]@discourse.DOMAINNAME.com>: Recipient address rejected: Mail to this address is not accepted. Check the address and try to send again?; from=<[REDACTED_SENDER]@btinternet.com> to=<[REDACTED_RECIPIENT]@discourse.DOMAINNAME.com> proto=ESMTP helo=<btprdrgo003.btinternet.com>
Jul 18 09:01:34 ubuntu-mail-receiver postfix/smtpd[141]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient “[REDACTED_RECIPIENT]@discourse.DOMAINNAME.com” from client “btprdrgo003.btinternet.com[65.20.50.48]”
Jul 18 09:01:34 ubuntu-mail-receiver postfix/smtpd[141]: disconnect from btprdrgo003.btinternet.com[65.20.50.48] ehlo=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=4/6