为什么传入的消息失败?
postfix/smtpd[4776]: connect from mail-mw2nam10on2073.outbound.protection.outlook.com[40.107.94.73]
postfix/smtpd[4776]: Anonymous TLS connection established from mail-mw2nam10on2073.outbound.protection.outlook.com[40.107.94.73]: TLSv1.2 with cipher <snip>4 (256/256 bits)
postfix/smtpd[4776]: 631A5453D55: client=mail-mw2nam10on2073.outbound.protection.outlook.com[40.107.94.73]
postfix/cleanup[4781]: 631A5453D55: message-id=<414<snip>MDC019E7.cnb.Corp.net>
opendkim[849]: 631A5453D55: mail-mw2nam10on2073.outbound.protection.outlook.com [40.107.94.73] not internal
opendkim[849]: 631A5453D55: not authenticated
opendkim[849]: 631A5453D55: DKIM verification successful
opendmarc[840]: 631A5453D55 ignoring Authentication-Results at 1 from ip-<snip>.ec2.internal
opendmarc[840]: 631A5453D55: SPF(mailfrom): some.user@cnb.com fail
opendmarc[840]: 631A5453D55: cnb.com fail
postfix/cleanup[4781]: 631A5453D55: milter-reject: END-OF-MESSAGE from mail-mw2nam10on2073.outbound.protection.outlook.com[40.107.94.73]: 5.7.1 rejected by DMARC policy for cnb.com; from=<some.user@cnb.com> to=<me@mydomain.com> proto=ESMTP helo=<NAM10-MW2-obe.outbound.protection.outlook.com>
postfix/smtpd[4776]: disconnect from mail-mw2nam10on2073.outbound.protection.outlook.com[40.107.94.73]似乎cnb.com的DNS有MS这里提到的正确的MS记录(spf.protection.outlook.com):https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/set-up-spf-in-office-365-to-help-prevent-spoofing?view=o365-worldwide
# dig cnb.com txt|grep spf
cnb.com. 290 IN TXT "v=spf1 include:spf.protection.outlook.com include:cnb.com._nspf.vali.email include:%{i}._ip.%{h}._ehlo.%{d}._spf.vali.email ~all"它们来自40.107.0.0/16网络中的IP:
https://mxtoolbox.com/SuperTool.aspx?action=spf:spf.protection.outlook.com&newAppVersion=1
他们在SPF配置中做了什么错事吗?还是我做错了什么?
发布于 2021-05-14 21:49:34
DNS查询似乎无法到达来自世界上某些地区的NS服务器,故障率接近8%,这可能与防火墙规则的流量有关,因为此查询显示:
https://serverfault.com/questions/1028755
复制相似问题