我已经使用Mailgun“设置和validation”(参见上下文 )发送域名,所以我可以使用它通过Mailgun API发送我的联系人/订单表单: https : //github.com/mailgun/mailgun-php
成功validation后(根据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": "***" }
TLDR: 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": "***" }
TLDR: 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" }
TLDR: 553 sorry, your envelope sender domain must exist (#5.7.1)
事情进一步复杂化,域名http://itvar.cz留在以前的webdesigner /托pipe公司的手中。 这是因为我的客户的旧网页本质上是不可移植的(正如我所知道的),仍然需要在http://old.itvar.cz上工作。
这意味着:
www请求被转移到我的networking与新的主机和友好的提供者 我已经把日志发送给了旧的提供者,他基本上告诉我,这是一个Mailgun的问题。 对于我非常有限的DNSconfiguration知识,它并不是如此。
这是真的问题Mailgun或旧的提供商configurationDNS糟糕,我应该更多地按他。
问题在于发件人“[email protected]”吗? 这个电子邮件地址是存在的,但它又是由旧供应商pipe理的,所以我不太了解它。
你有没有看到其他可能导致问题的东西?
编辑 :旧的提供者在日志中注意到这个字段: Default SMTP Login > [email protected] 。 此电子邮件地址不存在于域mail.itvar.cz 。 这可能是一个问题吗? 他创造的地址,迄今为止,这个问题是不固定的。
如果还不清楚,我对DNSconfiguration和域设置一无所知。 如果这意味着,我没有提供必要的信息或(相反)分享敏感的东西,请让我知道。
这些是我发现的一些相关的问题,但似乎没有提到类似的错误:
我的领域固定了一些东西,所以我的订单正在工作。 我仍然在等待他的回复到底是什么,但现在看起来非常明显,问题在于域名DNSconfiguration。
一旦我知道更多,我会自己回答我的问题。