【问题标题】:openDMARC Authentication Result: failopenDMARC 认证结果:失败
【发布时间】:2016-08-22 22:49:07
【问题描述】:

我对 opendmarc 和 gmail 有疑问(gmail 将邮件从我的服务器放入垃圾邮件)。 我阅读了许多论坛和主题,但在任何地方都找不到解决问题的方法。 如果我尝试 mail-tester.com 我有 10/10 但 gmail 仍然接受我的邮件。

如果我检查邮件有:

Authentication-Results: mx.google.com;
   dkim=pass header.i=@mydomain.com;
   dkim=pass header.i=@mydomain.com;
   spf=pass (google.com: domain of madaraszko@mydomain.com designates 11.22.33.44 as permitted sender) smtp.mailfrom=madaraszko@mydomain.com;
   dmarc=pass (p=QUARANTINE dis=NONE) header.from=mydomain.com
Received: by mail.mydomain.com (Postfix, from userid 111)
id A4F4160598; Thu, 28 Apr 2016 10:29:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain.com; s=mail;
t=1461832188; bh=8fggacpyUWh5Kr8oMgY87yEuuCmYt5ETnFZxhdP9YIE=;
h=From:Subject:Date:References:To:From;
b=B24WlYMHGLqC8d+B5MnBByWUg+zkKqfRSiiRP0pahD5bHGvNCOFCpBkWlklu8pjmJ
 oKyShimi91qFf7IcPrvkP4UCAB0KPTR+LX3n4S7pV54JIKXr7hkLQENqsgWiE9CjlU
 ijd7JXTp0FZH0SKSh1Un24Pv4bPKl0j10j4OG6A4=
Received: from [10.238.2.155] (mail.otherdomain.com [44.55.66.77])
by mail.mydomain.com (Postfix) with ESMTPSA id 7FCFC60555
for <xxxx@gmail.com>; Thu, 28 Apr 2016 10:29:46 +0200 (CEST)
Authentication-Results: mydomain.com; dmarc=fail header.from=mydomain.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain.com; s=mail;
t=1461832186; bh=8fggacpyUWh5Kr8oMgY87yEuuCmYt5ETnFZxhdP9YIE=;
h=From:Subject:Date:References:To:From;
b=acvw+r2aUiHroR6h/D+NzgRnRWFeci84Vot+gcQJ5vfom2y13QH/3P9mvkUCq230H
 sPBDR0Ov3B6b0vz12MUgCXO/lqRGKpKWKWTE+5Z0VY5a6EUrwNo1Rr8Q5EO5Ymjhkf
 5Z3SgXHsUUjBeiwuI0AlEa646PMjRgqwqE4skp+U=

在我的邮件服务器上的日志是

Apr 28 10:34:52 mail opendmarc[23264]: implicit authentication service:   mydomain.com
Apr 28 10:34:52 mail opendmarc[23264]: 33EE560555: mydomain.com fail

我的 opendmarc.conf

AuthservID mydomain.com
PidFile /var/run/opendmarc.pid #Debian default
RejectFailures false
Syslog true
TrustedAuthservIDs mydomain.com
UMask 0002
UserID opendmarc:opendmarc
IgnoreHosts /etc/opendmarc/ignore.hosts
HistoryFile /var/run/opendmarc/opendmarc.dat

文件忽略.hosts

localhost

我应该检查或更改什么? 我有 postfix dovecot spamassasin opendkim 和 opendmarc

感谢您的帮助。

【问题讨论】:

    标签: gmail postfix-mta email-headers


    【解决方案1】:

    添加

    IgnoreAuthenticatedClients true
    

    到 opendmarc.conf 确实帮助了我。我的 ignore.hosts 文件中还有所有本地 IP(IPv4+IPv6 范围和 ::1),但这没有帮助。

    【讨论】:

    • 您只回答了 OP 的部分问题。一旦您达到 50 声望,您就可以对问题发表评论,cmet 是处理此类添加的正确方法。现在考虑阅读formatting guide,格式更好的答案和/或 cmets 更有可能有用,因为它们更具可读性。
    猜你喜欢
    • 1970-01-01
    • 2021-03-07
    • 2019-09-03
    • 2016-05-30
    • 2014-07-19
    • 2015-10-17
    • 2021-05-11
    • 2012-07-22
    • 2014-10-12
    相关资源
    最近更新 更多