[英]Sendmail not able to send to Gmail accounts
我正在vps上運行小型IRCd。 沒有防火牆。 當用戶注冊昵稱時, Sendmail
會向他們發送一個確認電子郵件,發送到他們在注冊過程中輸入的電子郵件地址。 除Gmail用戶外,所有用戶均會收到電子郵件。 我發現了這一點,並使用我的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地址。
我在這方面不在聯盟之列,不知道我在做什么錯嗎? 如果我需要發布更多信息,請提出建議。 謝謝。
您的SPF記錄應包括您的IPv6地址。
"v=spf1 ip4:168.235.75.84 ip6:2604:180:3:284::8c64 include:_spf.google.com ~all"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.