AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 61844
Accepted
Chris Adams
Chris Adams
Asked: 2009-09-03 21:46:34 +0800 CST2009-09-03 21:46:34 +0800 CST 2009-09-03 21:46:34 +0800 CST

如何设置 spf 记录以将邮件从谷歌托管的应用程序发送到 gmail 地址

  • 772

我试图弄清楚为什么我从我拥有的一个域发送的电子邮件被我拥有的另一个域拒绝,虽然我认为这可能与我设置 spf 记录的方式有关,但我不确定我需要哪些步骤采取修复它。

这是我收到的错误消息:

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550-Verification failed for <[email protected]>
550-No Such User Here
550 Sender verify failed (state 14).

这是来自 [email protected] 的回复

Delivered-To: [email protected]
Received: by 10.86.92.9 with SMTP id p9cs85371fgb;
        Wed, 2 Sep 2009 22:33:32 -0700 (PDT)
Received: by 10.90.205.4 with SMTP id c4mr2406190agg.29.1251956007562;
        Wed, 02 Sep 2009 22:33:27 -0700 (PDT)
Return-Path: <[email protected]>
Received: from verifier.port25.com (207-36-201-235.ptr.primarydns.com [207.36.201.235])
        by mx.google.com with ESMTP id 26si831174aga.24.2009.09.02.22.33.25;
        Wed, 02 Sep 2009 22:33:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 207.36.201.235 as permitted sender) client-ip=207.36.201.235;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 207.36.201.235 as permitted sender) [email protected]; dkim=pass [email protected]
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=auth; d=port25.com;
 h=Date:From:To:Subject:Message-Id:In-Reply-To; [email protected];
 bh=GRMrcnoucTl4upzqJYTG5sOZMLU=;
 b=uk6TjADEyZVRkceQGjH94ZzfVeRTsiZPzbXuhlqDt1m+kh1zmdUEoiTOzd89ryCHMbVcnG1JajBj
   5vOMKYtA3g==
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=auth; d=port25.com;
 b=NqKCPK00Xt49lbeO009xy4ZRgMGpghvcgfhjNy7+qI89XKTzi6IUW0hYqCQyHkd2p5a1Zjez2ZMC
   l0u9CpZD3Q==;
Received: from verifier.port25.com (127.0.0.1) by verifier.port25.com (PowerMTA(TM) v3.6a1) id hjt9pq0hse8u for <[email protected]>; Thu, 3 Sep 2009 01:26:52 -0400 (envelope-from <[email protected]>)
Date: Thu, 3 Sep 2009 01:26:52 -0400
From: [email protected]
To: [email protected]
Subject: Authentication Report
Message-Id: <[email protected]>
Precedence: junk (auto_reply)
In-Reply-To: <[email protected]>

This message is an automatic response from Port25's authentication verifier
service at verifier.port25.com.  The service allows email senders to perform
a simple check of various sender authentication mechanisms.  It is provided
free of charge, in the hope that it is useful to the email community.  While
it is not officially supported, we welcome any feedback you may have at
<[email protected]>.

Thank you for using the verifier,

The Port25 Solutions, Inc. team

==========================================================
Summary of Results
==========================================================
SPF check:          pass
DomainKeys check:   neutral
DKIM check:         neutral
Sender-ID check:    pass
SpamAssassin check: ham

==========================================================
Details:
==========================================================

HELO hostname:  fg-out-1718.google.com
Source IP:      72.14.220.158
mail-from:      [email protected]

----------------------------------------------------------
SPF check details:
----------------------------------------------------------
Result:         pass 
ID(s) verified: [email protected]
DNS record(s):
    stemcel.co.uk. 14400 IN TXT "v=spf1 include:aspmx.googlemail.com ~all"
    aspmx.googlemail.com. 7200 IN TXT "v=spf1 redirect=_spf.google.com"
    _spf.google.com. 300 IN TXT "v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ?all"

----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result:         neutral (message not signed)
ID(s) verified: [email protected]
DNS record(s):

----------------------------------------------------------
DKIM check details:
----------------------------------------------------------
Result:         neutral (message not signed)
ID(s) verified: 

NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions.  If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.

----------------------------------------------------------
Sender-ID check details:
----------------------------------------------------------
Result:         pass 
ID(s) verified: [email protected]
DNS record(s):
    stemcel.co.uk. 14400 IN TXT "v=spf1 include:aspmx.googlemail.com ~all"
    aspmx.googlemail.com. 7200 IN TXT "v=spf1 redirect=_spf.google.com"
    _spf.google.com. 300 IN TXT "v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ?all"

----------------------------------------------------------
SpamAssassin check details:
----------------------------------------------------------
SpamAssassin v3.2.5 (2008-06-10)

Result:         ham  (-2.6 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS               SPF: sender matches SPF record
-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
                            [score: 0.0000]
 0.0 HTML_MESSAGE           BODY: HTML included in message

按照此处的建议,我已经为我的域注册了 spf 记录

根据Kitterman 的 spf 记录测试工具,这两个域都通过了验证,所以我对此有些困惑。

我还在这里的 stemcel.co.uk 域上设置了包罗万象的地址,但我没有为 chrisadams.me.uk 设置一个设置。

相反,我们有以下转发器设置

[email protected]  to  [email protected]   
[email protected]  to  [email protected]   
[email protected]     to    [email protected]   
[email protected]     to    [email protected]

任何想法如何让这个工作?我不确定我应该在这里寻找什么。

email spf gmail
  • 5 5 个回答
  • 10755 Views

5 个回答

  • Voted
  1. mlapida
    2009-09-18T04:32:50+08:002009-09-18T04:32:50+08:00

    您是否尝试过在 Google 应用中开启“Catch-all Address”功能?如果您将其分配给用户名,您至少可以判断邮件是否正在到达您域的 Google Apps 实例。由于从上述错误看来,Google Apps 无法找到用户,也许这将有助于诊断问题。

    • 1
  2. Devin Ceartas
    2009-09-03T23:43:16+08:002009-09-03T23:43:16+08:00

    您是使用 SPF 注册服务器作为您的外发邮件服务器,还是使用其他诸如本地 ISP 的服务器?

    • 0
  3. Best Answer
    pjc50
    2009-10-06T06:08:47+08:002009-10-06T06:08:47+08:00

    如果您删除 SPF 是否有效?

    我发现它比它的价值更麻烦。它不会阻止您接收垃圾邮件,它只会(略微)减少人们以您的名义发送垃圾邮件的反向散射。

    • 0
  4. xebeche
    2009-10-26T10:56:32+08:002009-10-26T10:56:32+08:00

    您设置 SPF 的方式(以 ~all 结尾)不太可能导致拒绝(尤其是您报告的那种)。此外,port25 检查表明一切正常。您还可以使用http://www.openspf.org/Why进行仔细检查。

    正如 pjc50 建议的那样,在没有 SPF 记录的情况下再次尝试邮件设置。我想 SPF 记录在这里不是问题。但我们还没有足够的数据进行进一步分析。

    • 0
  5. Spig
    2009-10-26T14:01:06+08:002009-10-26T14:01:06+08:00

    您是否使用 GMail 的“帐户和导入”部分的“发送邮件为”通过 gmail 发送所有邮件?尝试通过我的 gmail 帐户作为我的另一个“适用于您的域的应用程序”帐户发送电子邮件时,我遇到了同样的错误。我更改了我的用户帐户的密码,这就是它拒绝它的原因。它实际上是被 GMail 而不是收件人的电子邮件服务器拒绝的。

    • 0

相关问题

  • 其他类似 500 英里电子邮件问题的案例?

  • 你使用什么样的邮件服务器?

  • 针对大量邮件的 SMTP 服务的建议 [关闭]

  • 多操作系统环境的首选电子邮件客户端

  • Exchange 2007 的备份解决方案

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    从 IP 地址解析主机名

    • 8 个回答
  • Marko Smith

    如何按大小对 du -h 输出进行排序

    • 30 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    Windows 中执行反向 DNS 查找的命令行实用程序是什么?

    • 14 个回答
  • Marko Smith

    如何检查 Windows 机器上的端口是否被阻塞?

    • 4 个回答
  • Marko Smith

    我应该打开哪个端口以允许远程桌面?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    MikeN 在 Nginx 中,如何在维护子域的同时将所有 http 请求重写为 https? 2009-09-22 06:04:43 +0800 CST
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    0x89 bash中的双方括号和单方括号有什么区别? 2009-08-10 13:11:51 +0800 CST
  • Martin Hope
    kch 如何更改我的私钥密码? 2009-08-06 21:37:57 +0800 CST
  • Martin Hope
    Kyle Brandt IPv4 子网如何工作? 2009-08-05 06:05:31 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve