Mailgun 电子邮件在 Gmail 之外的所有地方都被拒绝

Mailgun 电子邮件在 Gmail 之外的所有地方都被拒绝

我的问题和 Mailgun 日志

我已经“设置并验证”(参见语境) 使用 Mailgun 的发送域,这样我就可以使用它来通过 Mailgun API 发送我的联系人/订单表格:https://github.com/mailgun/mailgun-php

不过,验证成功后(根据 Mailgun 的说法),电子邮件只会发送到 Gmail 地址。这些是 Mailgun 为其他电子邮件提供商提供的错误日志:

{
  "severity": "temporary",
  "tags": [],
  "storage": {
    "url": "https://so.api.mailgun.net/v3/domains/mail.itvar.cz/messages/***",
    "key": "***"
  },
  "delivery-status": {
    "tls": true,
    "mx-host": "mx1.seznam.cz",
    "attempt-no": 2,
    "description": null,
    "session-seconds": 2.4669690132141113,
    "retry-seconds": 900,
    "code": 451,
    "message": "451 4.4.8 Unroutable email address.",
    "certificate-verified": true
  },
  "recipient-domain": "seznam.cz",
  "event": "failed",
  "campaigns": [],
  "reason": "generic",
  "user-variables": {},
  "flags": {
    "is-routed": null,
    "is-authenticated": true,
    "is-system-test": false,
    "is-test-mode": false
  },
  "log-level": "warn",
  "timestamp": 1473673115.668517,
  "envelope": {
    "transport": "smtp",
    "sender": "[email protected]",
    "sending-ip": "209.61.151.224",
    "targets": "***@seznam.cz"
  },
  "message": {
    "headers": {
      "to": "***@gmail.com",
      "message-id": "[email protected]",
      "from": "[email protected]",
      "subject": "Tvar / Objednávka předplatného poštou"
    },
    "attachments": [],
    "recipients": [
      "***@gmail.com",
      "***@seznam.cz",
      "***@gmail.com"
    ],
    "size": 20723
  },
  "recipient": "***@seznam.cz",
  "id": "***"
}

总结:451 4.4.8 Unroutable email address.

{
  "severity": "permanent",
  "tags": [],
  "storage": {
    "url": "https://so.api.mailgun.net/v3/domains/mail.itvar.cz/messages/***",
    "key": "***"
  },
  "delivery-status": {
    "tls": false,
    "mx-host": "postak.satoya.cz",
    "attempt-no": 1,
    "description": null,
    "session-seconds": 2.6076178550720215,
    "code": 505,
    "message": "505 Your domain has no DNS/MX entries",
    "certificate-verified": false
  },
  "recipient-domain": "itvar.cz",
  "event": "failed",
  "campaigns": [],
  "reason": "generic",
  "user-variables": {},
  "flags": {
    "is-routed": null,
    "is-authenticated": true,
    "is-system-test": false,
    "is-test-mode": false
  },
  "log-level": "error",
  "timestamp": 1473672066.691422,
  "envelope": {
    "transport": "smtp",
    "sender": "[email protected]",
    "sending-ip": "209.61.151.224",
    "targets": "[email protected]"
  },
  "message": {
    "headers": {
      "to": "***@gmail.com",
      "message-id": "[email protected]",
      "from": "[email protected]",
      "subject": "Tvar / Objednávka předplatného poštou"
    },
    "attachments": [],
    "recipients": [
      "***@gmail.com",
      "***@predplatne.cz",
      "***@itvar.cz",
      "***@gmail.com"
    ],
    "size": 20917
  },
  "recipient": "[email protected]",
  "id": "***"
}

总结:505 Your domain has no DNS/MX entries

{
  "severity": "permanent",
  "tags": [],
  "storage": {
    "url": "https://so.api.mailgun.net/v3/domains/mail.itvar.cz/messages/***",
    "key": "***"
  },
  "delivery-status": {
    "tls": true,
    "mx-host": "ax.virusfree.cz",
    "attempt-no": 1,
    "description": null,
    "session-seconds": 1.5925419330596924,
    "code": 553,
    "message": "553 sorry, your envelope sender domain must exist (#5.7.1)",
    "certificate-verified": true
  },
  "recipient-domain": "predplatne.cz",
  "event": "failed",
  "campaigns": [],
  "reason": "generic",
  "user-variables": {},
  "flags": {
    "is-routed": null,
    "is-authenticated": true,
    "is-system-test": false,
    "is-test-mode": false
  },
  "log-level": "error",
  "timestamp": 1473672065.693317,
  "envelope": {
    "transport": "smtp",
    "sender": "[email protected]",
    "sending-ip": "209.61.151.224",
    "targets": "***@predplatne.cz"
  },
  "message": {
    "headers": {
      "to": "***@gmail.com",
      "message-id": "[email protected]",
      "from": "[email protected]",
      "subject": "Tvar / Objednávka předplatného poštou"
    },
    "attachments": [],
    "recipients": [
      "***@gmail.com",
      "***@predplatne.cz",
      "***@itvar.cz",
      "***@gmail.com"
    ],
    "size": 20933
  },
  "recipient": "***@predplatne.cz",
  "id": "ZKO8IRlbQgqDZ-nrxn0tKg"
}

总结:553 sorry, your envelope sender domain must exist (#5.7.1)

语境

让事情变得更加复杂的是,域名http://itvar.cz留在前网页设计师/托管公司。这是因为我的客户端的旧网络基本上是不可迁移的(正如我所说的),并且仍然需要继续工作http://old.itvar.cz

这意味着:

  1. www请求被转移到我的网站有了新的托管和友好的提供商
  2. 其余一切都保留原有提供商
  3. 我无法亲自配置任何东西,我只能发送指令。

我已将日志发送给旧提供商,他基本上告诉我,这是 Mailgun 的问题。就我对 DNS 配置的有限了解而言,情况并非如此。

问题

  1. 这是 Mailgun 的问题吗?或者是旧提供商的 DNS 配置不正确,我应该向他进一步施压。

  2. 问题是否出在发件人身上?[电子邮件保护]“?这个电子邮件地址确实存在,但它又由旧提供商管理,所以我对此不太了解。

  3. 您还发现其他可能导致该问题的原因吗?

  4. 編輯:旧提供商在日志中注意到了此字段:Default SMTP Login> [email protected]。此电子邮件地址在域中不存在mail.itvar.cz。这可能是个问题吗?他创建了该地址,但到目前为止,问题尚未解决。

道歉

如果还不清楚,那我真的对 DNS 配置和域设置一无所知。如果这意味着我没有提供必要的信息或(相反)分享了一些敏感信息,请告诉我。

这些是我发现的一些相关问题,但似乎没有提到类似的错误:

编辑:问题已解决

我的域名修复了他的问题,所以我的订单表单现在可以正常工作了。我仍在等待他的回复,看具体是什么问题,但目前看来,问题显然出在域名 DNS 配置上。

一旦我了解更多信息,我会自己回答我的问题。

相关内容