Sendmail无法发送到Gmail帐户

时间:2016-05-11 00:01:08

标签: email sendmail

我在vps上运行一个小型IRCd。没有防火墙。当用户注册他们的笔记时,Sendmail会向他们发送一封确认电子邮件,发送到他们在注册时输入的电子邮件地址。除Gmail用户外,所有用户都会收到我找到了this并使用我的IP地址创建了一个spf记录并将其放入我的MX记录中:

"v=spf1 ip4:168.235.75.84 include:_spf.google.com ~all"

但仍未收到Gmail电子邮件。以下是/var/mail/root

中的一些文字
----- The following addresses had permanent fatal errors -----
<email.address@gmail.com>
(reason: 550-5.7.1 [2604:180:3:284::8c64] Our system has detected that this message does)

----- Transcript of session follows -----
... while talking to gmail-smtp-in.l.google.com.:
>>> DATA
<<< 550-5.7.1 [2604:180:3:284::8c64] Our system has detected that this message does
<<< 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and
<<< 550-5.7.1 authentication. Please review
<<< 550-5.7.1  https://support.google.com/mail/?p=ipv6_authentication_error for more
<<< 550 5.7.1 information. hn5si5276310pac.203 - gsmtp
554 5.0.0 Service unavailable

--u4AMhua5032690.1462920236/xtremeirc.net
Content-Type: message/delivery-status

Reporting-MTA: dns; xtremeirc.net
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Tue, 10 May 2016 18:43:55 -0400

Final-Recipient: RFC822; email.address@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: DNS; gmail-smtp-in.l.google.com
Diagnostic-Code: SMTP; 550-5.7.1 [2604:180:3:284::8c64] Our system has detected that this message does
Last-Attempt-Date: Tue, 10 May 2016 18:43:56 -0400

--u4AMhua5032690.1462920236/xtremeirc.net
Content-Type: text/rfc822-headers

Return-Path: <root@xtremeirc.net>
Received: from xtremeirc.net (localhost.localdomain [127.0.0.1])
    by xtremeirc.net (8.14.4/8.14.4/Debian-8) with ESMTP id u4AMhsa5032688;
    Tue, 10 May 2016 18:43:55 -0400
Received: (from root@localhost)
    by xtremeirc.net (8.14.4/8.14.4/Submit) id u4AMhsQs032687;
    Tue, 10 May 2016 18:43:54 -0400
Date: Tue, 10 May 2016 18:43:54 -0400
From: root <root@xtremeirc.net>
Message-Id: <201605102243.u4AMhsQs032687@xtremeirc.net>

--u4AMhua5032690.1462920236/xtremeirc.net--

为了它的价值,我为我的域设置了一个IPv6地址。

我已经离开了我的联盟并且不知道我在这里做错了什么?如果我需要发布更多信息,请告知。感谢。

1 个答案:

答案 0 :(得分:0)

您的SPF记录应包含您的IPv6地址。

"v=spf1 ip4:168.235.75.84 ip6:2604:180:3:284::8c64 include:_spf.google.com ~all"